텐서플로우:: 작전:: ImmutableConst

#include <array_ops.h>

메모리 영역에서 불변 텐서를 반환합니다.

요약

현재 구현에서는 파일의 텐서를 memmap합니다.

인수:

  • 범위: 범위 개체
  • dtype: 반환된 텐서의 유형입니다.
  • 모양: 반환된 텐서의 모양입니다.
  • memory_region_name: 텐서가 사용하는 읽기 전용 메모리 영역의 이름입니다. tensorflow::Env의 NewReadOnlyMemoryRegionFromFile을 참조하세요.

보고:

생성자와 소멸자

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

공개 속성

operation
tensor

공공 기능

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

공개 속성

작업

Operation operation

텐서

::tensorflow::Output tensor

공공 기능

ImmutableConst

 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