tensorflow:: ops:: ImmutableConst

#include <array_ops.h>

Returns immutable tensor from memory region.

Summary

The current implementation memmaps the tensor from a file.

Args:

  • scope: A Scope object
  • dtype: Type of the returned tensor.
  • shape: Shape of the returned tensor.
  • memory_region_name: Name of readonly memory region used by the tensor, see NewReadOnlyMemoryRegionFromFile in tensorflow::Env.

Returns:

Constructors and Destructors

ImmutableConst (const :: tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape, StringPiece memory_region_name)

Public attributes

operation
tensor

Public functions

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Public attributes

operation

Operation operation

tensor

::tensorflow::Output tensor

Public functions

ImmutableConst

 ImmutableConst(
  const ::tensorflow::Scope & scope,
  DataType dtype,
  PartialTensorShape shape,
  StringPiece memory_region_name
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const