Loading neuralnetworks/1.2/vts/functional/ValidateModel.cpp +8 −7 Original line number Original line Diff line number Diff line Loading @@ -508,9 +508,10 @@ static bool removeOperandSkip(size_t operand, const Model& model) { } } } } } } // BIDIRECTIONAL_SEQUENCE_RNN can have either on or two outputs // BIDIRECTIONAL_SEQUENCE_LSTM and BIDIRECTIONAL_SEQUENCE_RNN can have // depending on a mergeOutputs parameter // either one or two outputs depending on their mergeOutputs parameter. if (operation.type == OperationType::BIDIRECTIONAL_SEQUENCE_RNN) { if (operation.type == OperationType::BIDIRECTIONAL_SEQUENCE_LSTM || operation.type == OperationType::BIDIRECTIONAL_SEQUENCE_RNN) { for (const size_t outOprand : operation.outputs) { for (const size_t outOprand : operation.outputs) { if (operand == outOprand) { if (operand == outOprand) { return true; return true; Loading Loading
neuralnetworks/1.2/vts/functional/ValidateModel.cpp +8 −7 Original line number Original line Diff line number Diff line Loading @@ -508,9 +508,10 @@ static bool removeOperandSkip(size_t operand, const Model& model) { } } } } } } // BIDIRECTIONAL_SEQUENCE_RNN can have either on or two outputs // BIDIRECTIONAL_SEQUENCE_LSTM and BIDIRECTIONAL_SEQUENCE_RNN can have // depending on a mergeOutputs parameter // either one or two outputs depending on their mergeOutputs parameter. if (operation.type == OperationType::BIDIRECTIONAL_SEQUENCE_RNN) { if (operation.type == OperationType::BIDIRECTIONAL_SEQUENCE_LSTM || operation.type == OperationType::BIDIRECTIONAL_SEQUENCE_RNN) { for (const size_t outOprand : operation.outputs) { for (const size_t outOprand : operation.outputs) { if (operand == outOprand) { if (operand == outOprand) { return true; return true; Loading