| 947 | } |
| 948 | |
| 949 | Status InferenceContext::MakeShapeFromTensorShape(const TensorShape& shape, |
| 950 | ShapeHandle* out) { |
| 951 | return MakeShapeFromPartialTensorShape(PartialTensorShape(shape.dim_sizes()), |
| 952 | out); |
| 953 | } |
| 954 | |
| 955 | Status InferenceContext::MakeShapeFromShapeProto(const TensorShapeProto& proto, |
| 956 | ShapeHandle* out) { |