31 const auto &inputs = args.op.inputs;
32 const auto &outputs = args.op.outputs;
33 const auto tensors = args.reader.tensors();
34 const auto tensor_in_0 = tensors.at(inputs.at(0));
35 const auto tensor_in_1 = tensors.at(inputs.at(1));
36 const auto tensor_out = tensors.at(outputs[0]);
37 assert(tensor_in_0 !=
nullptr);
38 assert(tensor_in_1 !=
nullptr);
39 assert(tensor_out !=
nullptr);
41 if (tensor_in_0->type() != tensor_in_1->type())
44 if (tensor_out->type() != tensor_in_1->type())