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_condition = tensors.at(inputs.at(0));
35 const auto tensor_out = tensors.at(outputs[0]);
36 assert(tensor_condition !=
nullptr);
37 assert(tensor_out !=
nullptr);
39 if (tensor_condition->type() != circle::TensorType_BOOL)
42 if (tensor_out->type() != circle::TensorType_INT64)