Makes dt a ref type if that is what the input_arg specifies.
| 170 | |
| 171 | // Makes dt a ref type if that is what the input_arg specifies. |
| 172 | DataType MaybeAddRef(const OpDef::ArgDef* input_arg, DataType dt) { |
| 173 | return input_arg->is_ref() ? MakeRefType(dt) : dt; |
| 174 | } |
| 175 | |
| 176 | // Returns true if an attr named `name` is already present in the node_def_. |
| 177 | // If such an attr is already present and `value` is not equal to the present |
nothing calls this directly
no test coverage detected