tf.raw_ops.ImmutableConst

Returns immutable tensor from memory region.

The current implementation memmaps the tensor from a file.

dtype A tf.DType. Type of the returned tensor.
shape A tf.TensorShape or list of ints. Shape of the returned tensor.
memory_region_name A string. Name of readonly memory region used by the tensor, see NewReadOnlyMemoryRegionFromFile in tensorflow::Env.
name A name for the operation (optional).

A Tensor of type dtype.