31 const auto &inputs = args.op.inputs;
32 const auto &outputs = args.op.outputs;
36 const auto tensors = args.reader.tensors();
37 const auto tensor_in = tensors.at(inputs.at(0));
38 const auto tensor_out = tensors.at(outputs[0]);
39 assert(tensor_in !=
nullptr);
40 assert(tensor_out !=
nullptr);
42 switch (tensor_in->type())
44 case circle::TensorType_FLOAT16:
45 case circle::TensorType_FLOAT32:
46 case circle::TensorType_FLOAT64:
47 case circle::TensorType_INT32:
48 case circle::TensorType_INT64:
54 if (tensor_out->type() != tensor_in->type())