"self.current_input_max = F.max(F.abs(x), axis=(1, 2, 3)).mean().asscalar()" inside "def _conv2d_forward", this will create symbol node, and should cause error because asscalar() is not supported in symbol.
How to avoid "self.current_input_max = F.max(F.abs(x), axis=(1, 2, 3)).mean().asscalar()" to be a node in graph ?
"self.current_input_max = F.max(F.abs(x), axis=(1, 2, 3)).mean().asscalar()" inside "def _conv2d_forward", this will create symbol node, and should cause error because asscalar() is not supported in symbol.
How to avoid "self.current_input_max = F.max(F.abs(x), axis=(1, 2, 3)).mean().asscalar()" to be a node in graph ?