static
| 263 | |
| 264 | // static |
| 265 | int64 TensorSlice::GetExtentLength(const TensorSliceProto::Extent& extent) { |
| 266 | if (!HasExtentLength(extent)) return -1; |
| 267 | return extent.length(); |
| 268 | } |
| 269 | |
| 270 | Status TensorSlice::SliceTensorShape(const TensorShape& shape, |
| 271 | TensorShape* result_shape) const { |