#include <array_ops.h>
Returns immutable tensor from memory region.
The current implementation memmaps the tensor from a file.
Arguments:
Returns:
Output: The tensor tensor. | Constructors and Destructors | |
|---|---|
ImmutableConst(const ::tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape, StringPiece memory_region_name) |
| Public attributes | |
|---|---|
tensor | |
| Public functions | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
::tensorflow::Output tensor
ImmutableConst( const ::tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape, StringPiece memory_region_name )
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output() const
© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/immutable-const.html