33 std::vector<ITensorHandle*> outputs)
39 m_Input0 = MakeDecoder<InType>(inputInfo0);
40 m_Input1 = MakeDecoder<InType>(inputInfo1);
42 m_Output = MakeEncoder<OutType>(outputInfo);
70 m_Input0->Reset(inputs[0]->
Map());
71 m_Input1->Reset(inputs[1]->
Map());
72 m_Output->Reset(outputs[0]->
Map());
85 EqualFunction(inShape0, inShape1, outShape, *m_Input0, *m_Input1, *m_Output);
90 GreaterFunction(inShape0, inShape1, outShape, *m_Input0, *m_Input1, *m_Output);
95 GreaterOrEqualFunction(inShape0, inShape1, outShape, *m_Input0, *m_Input1, *m_Output);
100 LessFunction(inShape0, inShape1, outShape, *m_Input0, *m_Input1, *m_Output);
105 LessOrEqualFunction(inShape0, inShape1, outShape, *m_Input0, *m_Input1, *m_Output);
110 NotEqualFunction(inShape0, inShape1, outShape, *m_Input0, *m_Input1, *m_Output);
115 throw InvalidArgumentException(std::string(
"Unsupported comparison operation ") +