38 const auto &inputs = args.op.inputs;
39 const auto &outputs = args.op.outputs;
40 const auto tensors = args.reader.tensors();
42 assert(tensors[inputs.at(0)] !=
nullptr && tensors[inputs.at(1)] !=
nullptr);
43 if (tensors[inputs.at(0)]->type() != tensors[inputs.at(1)]->type())
47 assert(tensors[outputs[0]] !=
nullptr);
48 if (tensors[outputs[0]]->type() != circle::TensorType_BOOL)
52 const auto output_tensor = tensors[outputs[0]];
54 WARN(l) <<
"Warning: import Greater(" << name <<
") output dtype is not boolean";