In nnabla, the outputs always return the batch statistics of mean and variance.
And, running mean and running variance will be modified inplace as inputs during the forward execution
Reshape
In ONNX opset 14, When attribute allowzero is set 1, dimensions in new_shape with a value of 0 will be set to 0.
nnabla don't support variable_instance with dimensions containing zeros.
This PR tends to introduce support for onnx opset14 importer,
This change includes the addition of two new operations:
and modifications made to existing operations:
training_mode
attribute and adjust outputallowzero
attributeThe limitation:
BatchNormalization
In ONNX opset 14, When attribute
training_mode
is set 1, the outputs are updated as follows:In nnabla, the outputs always return the batch statistics of mean and variance. And, running mean and running variance will be modified inplace as inputs during the forward execution
Reshape
In ONNX opset 14, When attribute
allowzero
is set 1, dimensions in new_shape with a value of 0 will be set to 0. nnabla don't support variable_instance with dimensions containing zeros.