31 const auto &inputs = args.op.inputs;
32 const auto tensors = args.reader.tensors();
33 const auto condition = tensors.at(inputs.at(0));
34 assert(condition !=
nullptr);
35 if (condition->type() != circle::TensorType_BOOL)
38 const auto t = tensors.at(inputs.at(1));
39 const auto e = tensors.at(inputs.at(2));
40 assert(t !=
nullptr && e !=
nullptr);
41 if (t->type() != e->type())