if (args.op.outputs.size() != 1)
return false;
- // for two inputs, check if type is S32
+ // for two inputs, check if type is S32 or S64
if (args.op.inputs.size() == 2)
{
const auto &inputs = args.op.inputs;
const auto tensor_in = tensors.at(inputs.at(1));
assert(tensor_in != nullptr);
- // NOTE fix this if there is any other case
- // TensorFlow lite and circle only supports S32
- if (tensor_in->type() != circle::TensorType::TensorType_INT32)
+ if (tensor_in->type() != circle::TensorType::TensorType_INT32 &&
+ tensor_in->type() != circle::TensorType::TensorType_INT64)
return false;
}