공개 정적 최종 클래스 BundleHeaderProto.Builder
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.
tensorflow.BundleHeaderProto
공개 방법
BundleHeaderProto.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값) |
BundleHeaderProto | 짓다 () |
BundleHeaderProto | 빌드부분 () |
BundleHeaderProto.Builder | 분명한 () |
BundleHeaderProto.Builder | 클리어엔디안 () .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
BundleHeaderProto.Builder | ClearField (com.google.protobuf.Descriptors.FieldDescriptor 필드) |
BundleHeaderProto.Builder | 클리어Num샤드 () Number of data files in the bundle. |
BundleHeaderProto.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BundleHeaderProto.Builder | 클리어버전 () Versioning of the tensor bundle format. |
BundleHeaderProto.Builder | 클론 () |
BundleHeaderProto | |
최종 정적 com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
BundleHeaderProto.Endianness | getEndianness () .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
정수 | getEndianness값 () .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
정수 | getNumShards () Number of data files in the bundle. |
버전 정의 | 버전 획득 () Versioning of the tensor bundle format. |
버전 정의.빌더 | getVersionBuilder () Versioning of the tensor bundle format. |
버전DefOrBuilder | getVersionOrBuilder () Versioning of the tensor bundle format. |
부울 | 버전 () Versioning of the tensor bundle format. |
최종 부울 | 초기화됨 () |
BundleHeaderProto.Builder | mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
BundleHeaderProto.Builder | mergeFrom (com.google.protobuf.다른 메시지 보내기) |
최종 BundleHeaderProto.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet 알려지지 않은Fields) |
BundleHeaderProto.Builder | |
BundleHeaderProto.Builder | setEndianness ( BundleHeaderProto.Endianness 값) .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
BundleHeaderProto.Builder | setEndiannessValue (정수 값) .tensorflow.BundleHeaderProto.Endianness endianness = 2; |
BundleHeaderProto.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값) |
BundleHeaderProto.Builder | setNumShards (정수 값) Number of data files in the bundle. |
BundleHeaderProto.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, int 인덱스, 개체 값) |
최종 BundleHeaderProto.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
BundleHeaderProto.Builder | |
BundleHeaderProto.Builder |
상속된 메서드
공개 방법
공개 BundleHeaderProto.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값)
공개 BundleHeaderProto.Builder 명확한Endianness ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
공개 BundleHeaderProto.Builder ClearNumShards ()
Number of data files in the bundle.
int32 num_shards = 1;
공개 BundleHeaderProto.Builder ClearVersion ()
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
공개 정적 최종 com.google.protobuf.Descriptors.Descriptor getDescriptor ()
공개 com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
공개 BundleHeaderProto.Endianness getEndianness ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
공개 int getEndiannessValue ()
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
공개 int getNumShards ()
Number of data files in the bundle.
int32 num_shards = 1;
공개 VersionDef getVersion ()
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
공개 VersionDef.Builder getVersionBuilder ()
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
공개 VersionDefOrBuilder getVersionOrBuilder ()
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
공개 부울 hasVersion ()
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
공개 최종 부울 isInitialized ()
공개 BundleHeaderProto.Builder mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
IO예외 |
---|
공개 최종 BundleHeaderProto.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)
공개 BundleHeaderProto.Builder mergeVersion ( VersionDef 값)
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
공개 BundleHeaderProto.Builder setEndianness ( BundleHeaderProto.Endianness 값)
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
공개 BundleHeaderProto.Builder setEndiannessValue (int 값)
.tensorflow.BundleHeaderProto.Endianness endianness = 2;
공개 BundleHeaderProto.Builder setNumShards (int 값)
Number of data files in the bundle.
int32 num_shards = 1;
공개 BundleHeaderProto.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, int 인덱스, 개체 값)
공개 BundleHeaderProto.Builder setVersion ( VersionDef 값)
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;
공개 BundleHeaderProto.Builder setVersion ( VersionDef.Builder builderForValue)
Versioning of the tensor bundle format.
.tensorflow.VersionDef version = 3;