31 const auto &inputs = args.op.inputs;
32 const auto &outputs = args.op.outputs;
34 const auto tensors = args.reader.tensors();
35 const auto tensor = tensors.at(inputs.at(0));
36 assert(tensor !=
nullptr);
38 switch (tensor->type())
40 case circle::TensorType_FLOAT64:
42 case circle::TensorType_FLOAT32:
44 case circle::TensorType_INT16:
46 case circle::TensorType_UINT8:
52 assert(tensors[outputs[0]] !=
nullptr);
53 if (tensors[outputs[0]]->type() != tensor->type())