| 205 | } |
| 206 | |
| 207 | string PrintTensorProto(const TensorProto& proto) { |
| 208 | return strings::StrCat("Input::Initializer(", "{", PrintTensor(proto), "}, ", |
| 209 | PrintTensorShape(proto.tensor_shape()), |
| 210 | ").AsTensorProto()"); |
| 211 | } |
| 212 | |
| 213 | string PrintAttrValue(const string& op, const AttrValue& attr_value) { |
| 214 | switch (attr_value.value_case()) { |
no test coverage detected