| 68 | |
| 69 | namespace { |
| 70 | bool HasAttr(const NodeDef& node, const string& attr_name) { |
| 71 | return node.attr().count(attr_name) > 0; |
| 72 | } |
| 73 | |
| 74 | bool HasWildcardDimension(const TensorShapeProto& shape) { |
| 75 | for (const auto& dim : shape.dim()) { |
no test coverage detected