| 150 | } |
| 151 | |
| 152 | Status ValidateNonRefOutput(const Node* node, int idx) { |
| 153 | const DataType& dt = node->output_type(idx); |
| 154 | return IsRefType(dt) |
| 155 | ? InvalidArgument("Output ", idx, " of node '", node->name(), |
| 156 | "' has a reference type ", DataTypeString(dt)) |
| 157 | : Status::OK(); |
| 158 | } |
| 159 | |
| 160 | Status FillFunctionBody( |
| 161 | const string& fn_name, const NodeNameMapping& node_names, |
no test coverage detected