fluid.layers.mean 不支持name参数
fluid的layers 大部分都支持name参数,为啥有个别的不支持?
softmax_with_cross_entropy 也不支持
layer的name参数会用来对layer中包含的参数和输出进行命名,确实有些layer没有留出来这个参数,默认会使用layer的type加上个idx作为name进行命名,可以参考这里fc的name处理 https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/fluid/layers/nn.py#L301 https://github.com/PaddlePaddle/Paddle/blob/develop/python/paddle/fluid/layer_helper.py#L36
Since you haven't replied for more than a year, we have closed this issue/pr. If the problem is not solved or there is a follow-up one, please reopen it at any time and we will continue to follow up. 由于您超过一年未回复,我们将关闭这个issue/pr。 若问题未解决或有后续问题,请随时重新打开,我们会继续跟进。