텐서플로우:: 연산:: 변수
#include <state_ops.h>상태를 단계 간에 유지되는 텐서 형태로 저장합니다.
요약
텐서 상태를 읽거나 수정할 수 있도록 텐서 상태에 대한 참조를 출력합니다. TODO(zhifengc/mrry): TensorFlow에서 상태 공유에 대한 자세한 문서 링크를 추가합니다.
논거:
- 범위: Scope 객체
- 형태: 변수 텐서의 형태.
- dtype: 변수 텐서의 요소 유형입니다.
선택적 속성( Attrs 참조):
- 컨테이너: 비어 있지 않으면 이 변수는 지정된 컨테이너에 저장됩니다. 그렇지 않으면 기본 컨테이너가 사용됩니다.
- shared_name: 비어 있지 않은 경우, 이 변수는 지정된 버킷에서 해당 shared_name으로 명명됩니다. 그렇지 않으면 노드 이름이 대신 사용됩니다.
보고:
-
Output: 변수 텐서에 대한 참조입니다.
생성자와 소멸자 | |
|---|---|
Variable (const :: tensorflow::Scope & scope, PartialTensorShape shape, DataType dtype) | |
Variable (const :: tensorflow::Scope & scope, PartialTensorShape shape, DataType dtype, const Variable::Attrs & attrs) |
공개 속성 | |
|---|---|
operation | |
ref | |
공공 기능 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
공개 정적 함수 | |
|---|---|
Container (StringPiece x) | |
SharedName (StringPiece x) | |
구조 | |
|---|---|
| 텐서플로우:: 연산:: 변수:: 속성 | Variable 에 대한 선택적 속성 설정기입니다. |
공개 속성
작업
Operation operation
참고
::tensorflow::Output ref
공공 기능
변하기 쉬운
Variable( const ::tensorflow::Scope & scope, PartialTensorShape shape, DataType dtype )
변하기 쉬운
Variable( const ::tensorflow::Scope & scope, PartialTensorShape shape, DataType dtype, const Variable::Attrs & attrs )
마디
::tensorflow::Node * node() const
연산자::텐서플로우::입력
operator::tensorflow::Input() const
연산자::텐서플로우::출력
operator::tensorflow::Output() const
공개 정적 함수
컨테이너
Attrs Container( StringPiece x )
공유 이름
Attrs SharedName( StringPiece x )