| 358 | // subshape within the shape in the containing Literal (Literal::shape_). |
| 359 | const Shape& subshape() const { return *subshape_; } |
| 360 | void set_subshape(const Shape* subshape) { subshape_ = subshape; } |
| 361 | |
| 362 | // Returns the size in bytes of the buffer holding the array data. |
| 363 | int64 size_bytes() const { return ShapeUtil::ByteSizeOf(subshape()); } |
no outgoing calls
no test coverage detected