BundleHeaderProto

lớp cuối cùng công khai BundleHeaderProto

 Special header that is associated with a bundle.
 TODO(zongheng,zhifengc): maybe in the future, we can add information about
 which binary produced this checkpoint, timestamp, etc. Sometime, these can be
 valuable debugging information. And if needed, these can be used as defensive
 information ensuring reader (binary version) of the checkpoint and the writer
 (binary version) must match within certain range, etc.
 
Tenorflow loại tensorflow.BundleHeaderProto

Các lớp lồng nhau

lớp học BundleHeaderProto.Builder
 Special header that is associated with a bundle. 
liệt kê BundleHeaderProto.Endianness
 An enum indicating the endianness of the platform that produced this
 bundle. 

Hằng số

int ENDIANNESS_FIELD_NUMBER
int NUM_SHARDS_FIELD_NUMBER
int VERSION_FIELD_NUMBER

Phương pháp công khai

boolean
bằng (Đối tượng obj)
BundleHeaderProto tĩnh
GóiTiêu đềProto
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng
BundleHeaderProto.Endianness
getEndianness ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
int
getEndiannessValue ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
int
getNumShards ()
 Number of data files in the bundle.
int
com.google.protobuf.UnknownFieldSet cuối cùng
Phiên bảnDef
getVersion ()
 Versioning of the tensor bundle format.
Phiên bảnDefOrBuilder
getVersionOrBuilder ()
 Versioning of the tensor bundle format.
boolean
hasVersion ()
 Versioning of the tensor bundle format.
int
boolean cuối cùng
BundleHeaderProto.Builder tĩnh
newBuilder (nguyên mẫu BundleHeaderProto )
BundleHeaderProto.Builder tĩnh
BundleHeaderProto.Builder
BundleHeaderProto tĩnh
phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào)
BundleHeaderProto tĩnh
phân tích cú phápDelimitedFrom (Đầu vào luồng đầu vào, com.google.protobuf.ExtensionRegistryLite tiện ích mở rộngRegistry)
BundleHeaderProto tĩnh
ParseFrom (dữ liệu ByteBuffer)
BundleHeaderProto tĩnh
ParseFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
BundleHeaderProto tĩnh
ParseFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
BundleHeaderProto tĩnh
ParseFrom (đầu vào com.google.protobuf.CodedInputStream)
BundleHeaderProto tĩnh
ParseFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
BundleHeaderProto tĩnh
ParseFrom (dữ liệu com.google.protobuf.ByteString)
BundleHeaderProto tĩnh
ParseFrom (Đầu vào inputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
BundleHeaderProto tĩnh
ParsFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
tĩnh
BundleHeaderProto.Builder
trống rỗng
writeTo (đầu ra com.google.protobuf.CodedOutputStream)

Phương pháp kế thừa

Hằng số

int cuối cùng tĩnh công khai ENDIANNESS_FIELD_NUMBER

Giá trị không đổi: 2

int tĩnh công khai NUM_SHARDS_FIELD_NUMBER

Giá trị không đổi: 1

int tĩnh công khai VERSION_FIELD_NUMBER

Giá trị không đổi: 3

Phương pháp công khai

boolean công khai bằng (Object obj)

public static BundleHeaderProto getDefaultInstance ()

public BundleHeaderProto getDefaultInstanceForType ()

công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public BundleHeaderProto.Endianness getEndianness ()

.tensorflow.BundleHeaderProto.Endianness endianness = 2;

int công khai getEndiannessValue ()

.tensorflow.BundleHeaderProto.Endianness endianness = 2;

int công khai getNumShards ()

 Number of data files in the bundle.
 
int32 num_shards = 1;

công cộng getParserForType ()

int công khai getSerializedSize ()

trận chung kết công khai com.google.protobuf.UnknownFieldSet getUnknownFields ()

phiên bản công khaiDef getVersion ()

 Versioning of the tensor bundle format.
 
.tensorflow.VersionDef version = 3;

public VersionDefOrBuilder getVersionOrBuilder ()

 Versioning of the tensor bundle format.
 
.tensorflow.VersionDef version = 3;

boolean công khai hasVersion ()

 Versioning of the tensor bundle format.
 
.tensorflow.VersionDef version = 3;

mã băm int công khai ()

boolean cuối cùng công khai được khởi tạo ()

public static BundleHeaderProto.Builder newBuilder (nguyên mẫu BundleHeaderProto )

public static BundleHeaderProto.Builder newBuilder ()

công khai BundleHeaderProto.Builder newBuilderForType ()

public static BundleHeaderProto parsingDelimitedFrom (Đầu vào luồng đầu vào)

Ném
IOException

public static BundleHeaderProto parsingDelimitedFrom (Đầu vào inputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

public static BundleHeaderProto parsFrom (dữ liệu ByteBuffer)

Ném
Giao thức đệm ngoại lệ không hợp lệ

public static BundleHeaderProto parsFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

public static BundleHeaderProto parsFrom (Dữ liệu ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
Giao thức đệm ngoại lệ không hợp lệ

công khai BundleHeaderProto phân tích cú phápFrom (đầu vào com.google.protobuf.CodedInputStream)

Ném
IOException

public static BundleHeaderProto parsFrom (dữ liệu byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
Giao thức đệm ngoại lệ không hợp lệ

public static BundleHeaderProto parsFrom (dữ liệu com.google.protobuf.ByteString)

Ném
Giao thức đệm ngoại lệ không hợp lệ

public static BundleHeaderProto parsFrom (Đầu vào InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
IOException

public static BundleHeaderProto parsFrom (dữ liệu com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

Ném
Giao thức đệm ngoại lệ không hợp lệ

công cộng tĩnh trình phân tích cú pháp ()

công khai BundleHeaderProto.Builder toBuilder ()

public void writeTo (đầu ra com.google.protobuf.CodedOutputStream)

Ném
IOException