File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -230,9 +230,9 @@ DEFINE_BUILTIN_OP_IMPORTER(BatchNormalization)
230
230
{
231
231
ASSERT (
232
232
(inputs.at (1 ).shape ().nbDims == 1 ) && " The shape of the scale input must be (C, )" , ErrorCode::kINVALID_NODE );
233
- ASSERT ((inputs.at (1 ).shape ().nbDims == 1 ) && " The shape of the bias input must be (C, )" , ErrorCode::kINVALID_NODE );
234
- ASSERT ((inputs.at (1 ).shape ().nbDims == 1 ) && " The shape of the mean input must be (C, )" , ErrorCode::kINVALID_NODE );
235
- ASSERT ((inputs.at (1 ).shape ().nbDims == 1 ) && " The shape of the var input must be (C, )" , ErrorCode::kINVALID_NODE );
233
+ ASSERT ((inputs.at (2 ).shape ().nbDims == 1 ) && " The shape of the bias input must be (C, )" , ErrorCode::kINVALID_NODE );
234
+ ASSERT ((inputs.at (3 ).shape ().nbDims == 1 ) && " The shape of the mean input must be (C, )" , ErrorCode::kINVALID_NODE );
235
+ ASSERT ((inputs.at (4 ).shape ().nbDims == 1 ) && " The shape of the var input must be (C, )" , ErrorCode::kINVALID_NODE );
236
236
237
237
const bool allInputsWeights = inputs.at (1 ).is_weights () && inputs.at (2 ).is_weights () && inputs.at (3 ).is_weights ()
238
238
&& inputs.at (4 ).is_weights ();
You can’t perform that action at this time.
0 commit comments