tensorflow :: ops :: 변하기 쉬운
#include <state_ops.h>
여러 단계에서 지속되는 텐서 형태로 상태를 유지합니다.
요약
참조를 텐서 상태로 출력하여 읽거나 수정할 수 있습니다. TODO (zhifengc / mrry) : tensorflow에서 상태 공유에 대한 자세한 문서에 대한 포인터를 추가합니다.
인수 :
- 범위 : 범위 개체
- shape : 가변 텐서의 모양.
- dtype : 변수 텐서의 요소 유형입니다.
선택적 속성 ( Attrs
참조) :
- container : 비어 있지 않은 경우이 변수는 주어진 컨테이너에 배치됩니다. 그렇지 않으면 기본 컨테이너가 사용됩니다.
- 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) |
구조체 | |
---|---|
tensorflow :: ops :: 변수 :: Attrs | 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
연산자 :: tensorflow :: 입력
operator::tensorflow::Input() const
연산자 :: tensorflow :: 출력
operator::tensorflow::Output() const
공개 정적 함수
컨테이너
Attrs Container( StringPiece x )
SharedName
Attrs SharedName( StringPiece x )