tensorflow :: ops :: RestoreSlice
#include <io_ops.h>
체크 포인트 파일에서 텐서를 복원합니다.
요약
같은입니다 Restore
큰 텐서의 조각을 채우는로 나열 할 수있는 복원 텐서를 제외하고. shape_and_slice
는 더 큰 텐서의 모양과 복원 된 텐서가 덮는 슬라이스를 지정합니다.
shape_and_slice
입력의 요소와 동일한 형식은 shapes_and_slices
의 입력 SaveSlices
연산한다.
인수 :
- 범위 : 범위 개체
- file_pattern : 단일 요소가 있어야합니다. 우리가 텐서를 읽는 파일의 패턴.
- tensor_name : 단일 요소가 있어야합니다. 복원 할 텐서의 이름입니다.
- shape_and_slice : 스칼라. 텐서를 복원 할 때 사용할 모양 및 슬라이스 사양입니다.
- dt : 복원 할 텐서의 유형.
선택적 속성 ( Attrs
참조) :
- preferred_shard : 여러 파일이
file_pattern
과 일치하는 경우 먼저 열 파일 색인.Restore
대한 설명서를 참조하십시오.
보고:
-
Output
: 복원 된 텐서.
생성자와 소멸자 | |
---|---|
RestoreSlice (const :: tensorflow::Scope & scope, :: tensorflow::Input file_pattern, :: tensorflow::Input tensor_name, :: tensorflow::Input shape_and_slice, DataType dt) | |
RestoreSlice (const :: tensorflow::Scope & scope, :: tensorflow::Input file_pattern, :: tensorflow::Input tensor_name, :: tensorflow::Input shape_and_slice, DataType dt, const RestoreSlice::Attrs & attrs) |
공용 속성 | |
---|---|
operation | |
tensor |
공공 기능 | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
공개 정적 함수 | |
---|---|
PreferredShard (int64 x) |
구조체 | |
---|---|
tensorflow :: ops :: RestoreSlice :: 속성 | RestoreSlice에 대한 선택적 속성 설정자. |
공용 속성
조작
Operation operation
텐서
::tensorflow::Output tensor
공공 기능
RestoreSlice
RestoreSlice( const ::tensorflow::Scope & scope, ::tensorflow::Input file_pattern, ::tensorflow::Input tensor_name, ::tensorflow::Input shape_and_slice, DataType dt )
RestoreSlice
RestoreSlice( const ::tensorflow::Scope & scope, ::tensorflow::Input file_pattern, ::tensorflow::Input tensor_name, ::tensorflow::Input shape_and_slice, DataType dt, const RestoreSlice::Attrs & attrs )
마디
::tensorflow::Node * node() const
연산자 :: tensorflow :: 입력
operator::tensorflow::Input() const
연산자 :: tensorflow :: 출력
operator::tensorflow::Output() const
공개 정적 함수
PreferredShard
Attrs PreferredShard( int64 x )