diff options
Diffstat (limited to 'reference_model/src/ops/ewise_binary.cc')
-rw-r--r-- | reference_model/src/ops/ewise_binary.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/reference_model/src/ops/ewise_binary.cc b/reference_model/src/ops/ewise_binary.cc index c5801e7..1e873e7 100644 --- a/reference_model/src/ops/ewise_binary.cc +++ b/reference_model/src/ops/ewise_binary.cc @@ -29,7 +29,6 @@ BinaryNodeBase<Rank, InDtype, OutDtype>::BinaryNodeBase(SubgraphTraverser* sgt_, : GraphNode(sgt_, op_, id_) { setRequiredOperands(2, 1); - setRequiredRank(0, 6); a = b = nullptr; result = nullptr; @@ -51,11 +50,6 @@ int BinaryNodeBase<Rank, InDtype, OutDtype>::checkTensorAttributes() if (validateRequiredOperands()) return 1; - if (validateRequiredRank(inputs[0]) || validateRequiredRank(inputs[1]) || validateRequiredRank(outputs[0])) - { - return 1; - } - // A & B must be the same rank and types if (inputs[0]->matchRankType(*inputs[1])) { |