26 template<
typename DataType>
28 std::vector<ITensorHandle*> outputs,
39 std::unique_ptr<Decoder<DataType>> input0 = MakeDecoder<DataType>(inputInfo0, inputs[0]->
Map());
40 std::unique_ptr<Decoder<DataType>> input1 = MakeDecoder<DataType>(inputInfo1, inputs[1]->
Map());
41 std::unique_ptr<Encoder<DataType>> output = MakeEncoder<DataType>(outputInfo, outputs[0]->
Map());
56 AddFunction(inShape0, inShape1, outShape, *input0, *input1, *output);
61 DivFunction(inShape0, inShape1, outShape, *input0, *input1, *output);
66 MaximumFunction(inShape0, inShape1, outShape, *input0, *input1, *output);
71 MinimumFunction(inShape0, inShape1, outShape, *input0, *input1, *output);
76 MulFunction(inShape0, inShape1, outShape, *input0, *input1, *output);
81 SubFunction(inShape0, inShape1, outShape, *input0, *input1, *output);
86 SqDiffFunction(inShape0, inShape1, outShape, *input0, *input1, *output);
91 PowerFunction(inShape0, inShape1, outShape, *input0, *input1, *output);
120 std::vector<ITensorHandle*> outputs)
const