diff options
Diffstat (limited to 'tensorflow/compiler/xla/packed_literal_reader.h')
-rw-r--r-- | tensorflow/compiler/xla/packed_literal_reader.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tensorflow/compiler/xla/packed_literal_reader.h b/tensorflow/compiler/xla/packed_literal_reader.h index 98dccaa9a2..d6d2ff1521 100644 --- a/tensorflow/compiler/xla/packed_literal_reader.h +++ b/tensorflow/compiler/xla/packed_literal_reader.h @@ -41,8 +41,7 @@ class PackedLiteralReader { // // Layout is optional. If it is not provided, no layout is set on the literal // that is produced. - StatusOr<std::unique_ptr<Literal>> Read(const Shape& shape, - const Layout* layout = nullptr); + StatusOr<Literal> Read(const Shape& shape, const Layout* layout = nullptr); // Returns whether the input file has been fully exhausted; i.e. all available // packed literals have been read and we're at the end of the file. |