| 367 | return arg_tuple.indexed_bns().at(tuple_index); |
| 368 | } |
| 369 | bool has_input(const std::string& arg_name, int32_t index) const override { |
| 370 | const auto& arg_tuple = *user_op_expr_->input_arg_tuple(); |
| 371 | int32_t tuple_index = arg_tuple.TensorTupleIndex4ArgNameAndIndex(arg_name, index); |
| 372 | return tuple_index >= 0; |
| 373 | } |
| 374 | bool has_output(const std::string& arg_name, int32_t index) const override { |
| 375 | const auto& arg_tuple = *user_op_expr_->output_arg_tuple(); |
| 376 | int32_t tuple_index = arg_tuple.TensorTupleIndex4ArgNameAndIndex(arg_name, index); |
nothing calls this directly
no test coverage detected