public static final class
SavedTensorSlices.Builder
Each record in a v3 checkpoint file is a serialized SavedTensorSlices message.
tensorflow.SavedTensorSlices
Public Methods
SavedTensorSlices.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
SavedTensorSlices |
build()
|
SavedTensorSlices | |
SavedTensorSlices.Builder |
clear()
|
SavedTensorSlices.Builder |
clearData()
This exists in all but the first item of each checkpoint file. |
SavedTensorSlices.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
SavedTensorSlices.Builder |
clearMeta()
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file. |
SavedTensorSlices.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
SavedTensorSlices.Builder |
clone()
|
SavedSlice |
getData()
This exists in all but the first item of each checkpoint file. |
SavedSlice.Builder |
getDataBuilder()
This exists in all but the first item of each checkpoint file. |
SavedSliceOrBuilder |
getDataOrBuilder()
This exists in all but the first item of each checkpoint file. |
SavedTensorSlices | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
SavedTensorSliceMeta |
getMeta()
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file. |
SavedTensorSliceMeta.Builder |
getMetaBuilder()
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file. |
SavedTensorSliceMetaOrBuilder |
getMetaOrBuilder()
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file. |
boolean |
hasData()
This exists in all but the first item of each checkpoint file. |
boolean |
hasMeta()
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file. |
final boolean | |
SavedTensorSlices.Builder | |
SavedTensorSlices.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
SavedTensorSlices.Builder |
mergeFrom(com.google.protobuf.Message other)
|
SavedTensorSlices.Builder |
mergeMeta(SavedTensorSliceMeta value)
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file. |
final SavedTensorSlices.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
SavedTensorSlices.Builder | |
SavedTensorSlices.Builder |
setData(SavedSlice.Builder builderForValue)
This exists in all but the first item of each checkpoint file. |
SavedTensorSlices.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
SavedTensorSlices.Builder |
setMeta(SavedTensorSliceMeta value)
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file. |
SavedTensorSlices.Builder |
setMeta(SavedTensorSliceMeta.Builder builderForValue)
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file. |
SavedTensorSlices.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
final SavedTensorSlices.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
Inherited Methods
Public Methods
public SavedTensorSlices.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public SavedTensorSlices.Builder clearData ()
This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2;
public SavedTensorSlices.Builder clearMeta ()
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.
.tensorflow.SavedTensorSliceMeta meta = 1;
public SavedSlice getData ()
This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2;
public SavedSlice.Builder getDataBuilder ()
This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2;
public SavedSliceOrBuilder getDataOrBuilder ()
This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public SavedTensorSliceMeta getMeta ()
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.
.tensorflow.SavedTensorSliceMeta meta = 1;
public SavedTensorSliceMeta.Builder getMetaBuilder ()
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.
.tensorflow.SavedTensorSliceMeta meta = 1;
public SavedTensorSliceMetaOrBuilder getMetaOrBuilder ()
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.
.tensorflow.SavedTensorSliceMeta meta = 1;
public boolean hasData ()
This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2;
public boolean hasMeta ()
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.
.tensorflow.SavedTensorSliceMeta meta = 1;
public final boolean isInitialized ()
public SavedTensorSlices.Builder mergeData (SavedSlice value)
This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2;
public SavedTensorSlices.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public SavedTensorSlices.Builder mergeMeta (SavedTensorSliceMeta value)
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.
.tensorflow.SavedTensorSliceMeta meta = 1;
public final SavedTensorSlices.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public SavedTensorSlices.Builder setData (SavedSlice value)
This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2;
public SavedTensorSlices.Builder setData (SavedSlice.Builder builderForValue)
This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2;
public SavedTensorSlices.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public SavedTensorSlices.Builder setMeta (SavedTensorSliceMeta value)
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.
.tensorflow.SavedTensorSliceMeta meta = 1;
public SavedTensorSlices.Builder setMeta (SavedTensorSliceMeta.Builder builderForValue)
This is only present at the first item of each checkpoint file and serves as a table of contents, listing all the tensor slices saved in this file.
.tensorflow.SavedTensorSliceMeta meta = 1;