tensorflow::ops::ImmutableConst

tensorflow::ops::ImmutableConst

#include <array_ops.h>

Returns immutable tensor from memory region.

Summary

The current implementation memmaps the tensor from a file.

Arguments:

  • 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
登录查看完整内容