SavedTensorSliceMeta.Builder

public static final class SavedTensorSliceMeta.Builder

 Metadata describing the set of tensor slices saved in a checkpoint file.
 It is always stored at the beginning of each checkpoint file.
 
Protobuf type tensorflow.SavedTensorSliceMeta

Public Methods

SavedTensorSliceMeta.Builder
addAllTensor(Iterable<? extends SavedSliceMeta> values)
 Each SavedSliceMeta describes the slices for one tensor.
SavedTensorSliceMeta.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SavedTensorSliceMeta.Builder
addTensor(int index, SavedSliceMeta.Builder builderForValue)
 Each SavedSliceMeta describes the slices for one tensor.
SavedTensorSliceMeta.Builder
addTensor(int index, SavedSliceMeta value)
 Each SavedSliceMeta describes the slices for one tensor.
SavedTensorSliceMeta.Builder
addTensor(SavedSliceMeta value)
 Each SavedSliceMeta describes the slices for one tensor.
SavedTensorSliceMeta.Builder
addTensor(SavedSliceMeta.Builder builderForValue)
 Each SavedSliceMeta describes the slices for one tensor.
SavedSliceMeta.Builder
addTensorBuilder(int index)
 Each SavedSliceMeta describes the slices for one tensor.
SavedSliceMeta.Builder
addTensorBuilder()
 Each SavedSliceMeta describes the slices for one tensor.
SavedTensorSliceMeta
build()
SavedTensorSliceMeta
SavedTensorSliceMeta.Builder
clear()
SavedTensorSliceMeta.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
SavedTensorSliceMeta.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
SavedTensorSliceMeta.Builder
clearTensor()
 Each SavedSliceMeta describes the slices for one tensor.
SavedTensorSliceMeta.Builder
clearVersions()
 Compatibility version of this checkpoint.
SavedTensorSliceMeta.Builder
clone()
SavedTensorSliceMeta
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
SavedSliceMeta
getTensor(int index)
 Each SavedSliceMeta describes the slices for one tensor.
SavedSliceMeta.Builder
getTensorBuilder(int index)
 Each SavedSliceMeta describes the slices for one tensor.
List<SavedSliceMeta.Builder>
getTensorBuilderList()
 Each SavedSliceMeta describes the slices for one tensor.
int
getTensorCount()
 Each SavedSliceMeta describes the slices for one tensor.
List<SavedSliceMeta>
getTensorList()
 Each SavedSliceMeta describes the slices for one tensor.
SavedSliceMetaOrBuilder
getTensorOrBuilder(int index)
 Each SavedSliceMeta describes the slices for one tensor.
List<? extends SavedSliceMetaOrBuilder>
getTensorOrBuilderList()
 Each SavedSliceMeta describes the slices for one tensor.
VersionDef
getVersions()
 Compatibility version of this checkpoint.
VersionDef.Builder
getVersionsBuilder()
 Compatibility version of this checkpoint.
VersionDefOrBuilder
getVersionsOrBuilder()
 Compatibility version of this checkpoint.
boolean
hasVersions()
 Compatibility version of this checkpoint.
final boolean
SavedTensorSliceMeta.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SavedTensorSliceMeta.Builder
mergeFrom(com.google.protobuf.Message other)
final SavedTensorSliceMeta.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
SavedTensorSliceMeta.Builder
mergeVersions(VersionDef value)
 Compatibility version of this checkpoint.
SavedTensorSliceMeta.Builder
removeTensor(int index)
 Each SavedSliceMeta describes the slices for one tensor.
SavedTensorSliceMeta.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SavedTensorSliceMeta.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
SavedTensorSliceMeta.Builder
setTensor(int index, SavedSliceMeta.Builder builderForValue)
 Each SavedSliceMeta describes the slices for one tensor.
SavedTensorSliceMeta.Builder
setTensor(int index, SavedSliceMeta value)
 Each SavedSliceMeta describes the slices for one tensor.
final SavedTensorSliceMeta.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
SavedTensorSliceMeta.Builder
setVersions(VersionDef value)
 Compatibility version of this checkpoint.
SavedTensorSliceMeta.Builder
setVersions(VersionDef.Builder builderForValue)
 Compatibility version of this checkpoint.

Inherited Methods

Public Methods

public SavedTensorSliceMeta.Builder addAllTensor (Iterable<? extends SavedSliceMeta> values)

 Each SavedSliceMeta describes the slices for one tensor.
 
repeated .tensorflow.SavedSliceMeta tensor = 1;

public SavedTensorSliceMeta.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public SavedTensorSliceMeta.Builder addTensor (int index, SavedSliceMeta.Builder builderForValue)

 Each SavedSliceMeta describes the slices for one tensor.
 
repeated .tensorflow.SavedSliceMeta tensor = 1;

public SavedTensorSliceMeta.Builder addTensor (int index, SavedSliceMeta value)

 Each SavedSliceMeta describes the slices for one tensor.
 
repeated .tensorflow.SavedSliceMeta tensor = 1;

public SavedTensorSliceMeta.Builder addTensor (SavedSliceMeta value)

 Each SavedSliceMeta describes the slices for one tensor.
 
repeated .tensorflow.SavedSliceMeta tensor = 1;

public SavedTensorSliceMeta.Builder addTensor (SavedSliceMeta.Builder builderForValue)

 Each SavedSliceMeta describes the slices for one tensor.
 
repeated .tensorflow.SavedSliceMeta tensor = 1;

public SavedSliceMeta.Builder addTensorBuilder (int index)

 Each SavedSliceMeta describes the slices for one tensor.
 
repeated .tensorflow.SavedSliceMeta tensor = 1;

public SavedSliceMeta.Builder addTensorBuilder ()

 Each SavedSliceMeta describes the slices for one tensor.
 
repeated .tensorflow.SavedSliceMeta tensor = 1;

public SavedTensorSliceMeta build ()

public SavedTensorSliceMeta buildPartial ()

public SavedTensorSliceMeta.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public SavedTensorSliceMeta.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public SavedTensorSliceMeta.Builder clearTensor ()

 Each SavedSliceMeta describes the slices for one tensor.
 
repeated .tensorflow.SavedSliceMeta tensor = 1;

public SavedTensorSliceMeta.Builder clearVersions ()

 Compatibility version of this checkpoint.  See core/public/version.h
 for version history.
 
.tensorflow.VersionDef versions = 2;

public SavedTensorSliceMeta getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public SavedSliceMeta getTensor (int index)

 Each SavedSliceMeta describes the slices for one tensor.
 
repeated .tensorflow.SavedSliceMeta tensor = 1;

public SavedSliceMeta.Builder getTensorBuilder (int index)

 Each SavedSliceMeta describes the slices for one tensor.
 
repeated .tensorflow.SavedSliceMeta tensor = 1;

public List<SavedSliceMeta.Builder> getTensorBuilderList ()

 Each SavedSliceMeta describes the slices for one tensor.
 
repeated .tensorflow.SavedSliceMeta tensor = 1;

public int getTensorCount ()

 Each SavedSliceMeta describes the slices for one tensor.
 
repeated .tensorflow.SavedSliceMeta tensor = 1;

public List<SavedSliceMeta> getTensorList ()

 Each SavedSliceMeta describes the slices for one tensor.
 
repeated .tensorflow.SavedSliceMeta tensor = 1;

public SavedSliceMetaOrBuilder getTensorOrBuilder (int index)

 Each SavedSliceMeta describes the slices for one tensor.
 
repeated .tensorflow.SavedSliceMeta tensor = 1;

public List<? extends SavedSliceMetaOrBuilder> getTensorOrBuilderList ()

 Each SavedSliceMeta describes the slices for one tensor.
 
repeated .tensorflow.SavedSliceMeta tensor = 1;

public VersionDef getVersions ()

 Compatibility version of this checkpoint.  See core/public/version.h
 for version history.
 
.tensorflow.VersionDef versions = 2;

public VersionDef.Builder getVersionsBuilder ()

 Compatibility version of this checkpoint.  See core/public/version.h
 for version history.
 
.tensorflow.VersionDef versions = 2;

public VersionDefOrBuilder getVersionsOrBuilder ()

 Compatibility version of this checkpoint.  See core/public/version.h
 for version history.
 
.tensorflow.VersionDef versions = 2;

public boolean hasVersions ()

 Compatibility version of this checkpoint.  See core/public/version.h
 for version history.
 
.tensorflow.VersionDef versions = 2;

public final boolean isInitialized ()

public SavedTensorSliceMeta.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public SavedTensorSliceMeta.Builder mergeFrom (com.google.protobuf.Message other)

public final SavedTensorSliceMeta.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public SavedTensorSliceMeta.Builder mergeVersions (VersionDef value)

 Compatibility version of this checkpoint.  See core/public/version.h
 for version history.
 
.tensorflow.VersionDef versions = 2;

public SavedTensorSliceMeta.Builder removeTensor (int index)

 Each SavedSliceMeta describes the slices for one tensor.
 
repeated .tensorflow.SavedSliceMeta tensor = 1;

public SavedTensorSliceMeta.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public SavedTensorSliceMeta.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public SavedTensorSliceMeta.Builder setTensor (int index, SavedSliceMeta.Builder builderForValue)

 Each SavedSliceMeta describes the slices for one tensor.
 
repeated .tensorflow.SavedSliceMeta tensor = 1;

public SavedTensorSliceMeta.Builder setTensor (int index, SavedSliceMeta value)

 Each SavedSliceMeta describes the slices for one tensor.
 
repeated .tensorflow.SavedSliceMeta tensor = 1;

public final SavedTensorSliceMeta.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public SavedTensorSliceMeta.Builder setVersions (VersionDef value)

 Compatibility version of this checkpoint.  See core/public/version.h
 for version history.
 
.tensorflow.VersionDef versions = 2;

public SavedTensorSliceMeta.Builder setVersions (VersionDef.Builder builderForValue)

 Compatibility version of this checkpoint.  See core/public/version.h
 for version history.
 
.tensorflow.VersionDef versions = 2;