SavedSliceMeta.Builder

public static final class SavedSliceMeta.Builder

 Metadata describing the set of slices of the same tensor saved in a
 checkpoint file.
 
Protobuf type tensorflow.SavedSliceMeta

Public Methods

SavedSliceMeta.Builder
addAllSlice(Iterable<? extends TensorSliceProto> values)
 Explicit list of slices saved in the checkpoint file.
SavedSliceMeta.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SavedSliceMeta.Builder
addSlice(int index, TensorSliceProto value)
 Explicit list of slices saved in the checkpoint file.
SavedSliceMeta.Builder
addSlice(TensorSliceProto.Builder builderForValue)
 Explicit list of slices saved in the checkpoint file.
SavedSliceMeta.Builder
addSlice(TensorSliceProto value)
 Explicit list of slices saved in the checkpoint file.
SavedSliceMeta.Builder
addSlice(int index, TensorSliceProto.Builder builderForValue)
 Explicit list of slices saved in the checkpoint file.
TensorSliceProto.Builder
addSliceBuilder()
 Explicit list of slices saved in the checkpoint file.
TensorSliceProto.Builder
addSliceBuilder(int index)
 Explicit list of slices saved in the checkpoint file.
SavedSliceMeta
build()
SavedSliceMeta
SavedSliceMeta.Builder
clear()
SavedSliceMeta.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
SavedSliceMeta.Builder
clearName()
 Name of the tensor.
SavedSliceMeta.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
SavedSliceMeta.Builder
clearShape()
 Shape of the tensor
 
.tensorflow.TensorShapeProto shape = 2;
SavedSliceMeta.Builder
clearSlice()
 Explicit list of slices saved in the checkpoint file.
SavedSliceMeta.Builder
clearType()
 Type of the tensor
 
.tensorflow.DataType type = 3;
SavedSliceMeta.Builder
clone()
SavedSliceMeta
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
String
getName()
 Name of the tensor.
com.google.protobuf.ByteString
getNameBytes()
 Name of the tensor.
TensorShapeProto
getShape()
 Shape of the tensor
 
.tensorflow.TensorShapeProto shape = 2;
TensorShapeProto.Builder
getShapeBuilder()
 Shape of the tensor
 
.tensorflow.TensorShapeProto shape = 2;
TensorShapeProtoOrBuilder
getShapeOrBuilder()
 Shape of the tensor
 
.tensorflow.TensorShapeProto shape = 2;
TensorSliceProto
getSlice(int index)
 Explicit list of slices saved in the checkpoint file.
TensorSliceProto.Builder
getSliceBuilder(int index)
 Explicit list of slices saved in the checkpoint file.
List<TensorSliceProto.Builder>
getSliceBuilderList()
 Explicit list of slices saved in the checkpoint file.
int
getSliceCount()
 Explicit list of slices saved in the checkpoint file.
List<TensorSliceProto>
getSliceList()
 Explicit list of slices saved in the checkpoint file.
TensorSliceProtoOrBuilder
getSliceOrBuilder(int index)
 Explicit list of slices saved in the checkpoint file.
List<? extends TensorSliceProtoOrBuilder>
getSliceOrBuilderList()
 Explicit list of slices saved in the checkpoint file.
DataType
getType()
 Type of the tensor
 
.tensorflow.DataType type = 3;
int
getTypeValue()
 Type of the tensor
 
.tensorflow.DataType type = 3;
boolean
hasShape()
 Shape of the tensor
 
.tensorflow.TensorShapeProto shape = 2;
final boolean
SavedSliceMeta.Builder
mergeFrom(com.google.protobuf.Message other)
SavedSliceMeta.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SavedSliceMeta.Builder
mergeShape(TensorShapeProto value)
 Shape of the tensor
 
.tensorflow.TensorShapeProto shape = 2;
final SavedSliceMeta.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
SavedSliceMeta.Builder
removeSlice(int index)
 Explicit list of slices saved in the checkpoint file.
SavedSliceMeta.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
SavedSliceMeta.Builder
setName(String value)
 Name of the tensor.
SavedSliceMeta.Builder
setNameBytes(com.google.protobuf.ByteString value)
 Name of the tensor.
SavedSliceMeta.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
SavedSliceMeta.Builder
setShape(TensorShapeProto value)
 Shape of the tensor
 
.tensorflow.TensorShapeProto shape = 2;
SavedSliceMeta.Builder
setShape(TensorShapeProto.Builder builderForValue)
 Shape of the tensor
 
.tensorflow.TensorShapeProto shape = 2;
SavedSliceMeta.Builder
setSlice(int index, TensorSliceProto value)
 Explicit list of slices saved in the checkpoint file.
SavedSliceMeta.Builder
setSlice(int index, TensorSliceProto.Builder builderForValue)
 Explicit list of slices saved in the checkpoint file.
SavedSliceMeta.Builder
setType(DataType value)
 Type of the tensor
 
.tensorflow.DataType type = 3;
SavedSliceMeta.Builder
setTypeValue(int value)
 Type of the tensor
 
.tensorflow.DataType type = 3;
final SavedSliceMeta.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public SavedSliceMeta.Builder addAllSlice (Iterable<? extends TensorSliceProto> values)

 Explicit list of slices saved in the checkpoint file.
 
repeated .tensorflow.TensorSliceProto slice = 4;

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

public SavedSliceMeta.Builder addSlice (int index, TensorSliceProto value)

 Explicit list of slices saved in the checkpoint file.
 
repeated .tensorflow.TensorSliceProto slice = 4;

public SavedSliceMeta.Builder addSlice (TensorSliceProto.Builder builderForValue)

 Explicit list of slices saved in the checkpoint file.
 
repeated .tensorflow.TensorSliceProto slice = 4;

public SavedSliceMeta.Builder addSlice (TensorSliceProto value)

 Explicit list of slices saved in the checkpoint file.
 
repeated .tensorflow.TensorSliceProto slice = 4;

public SavedSliceMeta.Builder addSlice (int index, TensorSliceProto.Builder builderForValue)

 Explicit list of slices saved in the checkpoint file.
 
repeated .tensorflow.TensorSliceProto slice = 4;

public TensorSliceProto.Builder addSliceBuilder ()

 Explicit list of slices saved in the checkpoint file.
 
repeated .tensorflow.TensorSliceProto slice = 4;

public TensorSliceProto.Builder addSliceBuilder (int index)

 Explicit list of slices saved in the checkpoint file.
 
repeated .tensorflow.TensorSliceProto slice = 4;

public SavedSliceMeta build ()

public SavedSliceMeta buildPartial ()

public SavedSliceMeta.Builder clear ()

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

public SavedSliceMeta.Builder clearName ()

 Name of the tensor.
 
string name = 1;

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

public SavedSliceMeta.Builder clearShape ()

 Shape of the tensor
 
.tensorflow.TensorShapeProto shape = 2;

public SavedSliceMeta.Builder clearSlice ()

 Explicit list of slices saved in the checkpoint file.
 
repeated .tensorflow.TensorSliceProto slice = 4;

public SavedSliceMeta.Builder clearType ()

 Type of the tensor
 
.tensorflow.DataType type = 3;

public SavedSliceMeta.Builder clone ()

public SavedSliceMeta getDefaultInstanceForType ()

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

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

public String getName ()

 Name of the tensor.
 
string name = 1;

public com.google.protobuf.ByteString getNameBytes ()

 Name of the tensor.
 
string name = 1;

public TensorShapeProto getShape ()

 Shape of the tensor
 
.tensorflow.TensorShapeProto shape = 2;

public TensorShapeProto.Builder getShapeBuilder ()

 Shape of the tensor
 
.tensorflow.TensorShapeProto shape = 2;

public TensorShapeProtoOrBuilder getShapeOrBuilder ()

 Shape of the tensor
 
.tensorflow.TensorShapeProto shape = 2;

public TensorSliceProto getSlice (int index)

 Explicit list of slices saved in the checkpoint file.
 
repeated .tensorflow.TensorSliceProto slice = 4;

public TensorSliceProto.Builder getSliceBuilder (int index)

 Explicit list of slices saved in the checkpoint file.
 
repeated .tensorflow.TensorSliceProto slice = 4;

public List<TensorSliceProto.Builder> getSliceBuilderList ()

 Explicit list of slices saved in the checkpoint file.
 
repeated .tensorflow.TensorSliceProto slice = 4;

public int getSliceCount ()

 Explicit list of slices saved in the checkpoint file.
 
repeated .tensorflow.TensorSliceProto slice = 4;

public List<TensorSliceProto> getSliceList ()

 Explicit list of slices saved in the checkpoint file.
 
repeated .tensorflow.TensorSliceProto slice = 4;

public TensorSliceProtoOrBuilder getSliceOrBuilder (int index)

 Explicit list of slices saved in the checkpoint file.
 
repeated .tensorflow.TensorSliceProto slice = 4;

public List<? extends TensorSliceProtoOrBuilder> getSliceOrBuilderList ()

 Explicit list of slices saved in the checkpoint file.
 
repeated .tensorflow.TensorSliceProto slice = 4;

public DataType getType ()

 Type of the tensor
 
.tensorflow.DataType type = 3;

public int getTypeValue ()

 Type of the tensor
 
.tensorflow.DataType type = 3;

public boolean hasShape ()

 Shape of the tensor
 
.tensorflow.TensorShapeProto shape = 2;

public final boolean isInitialized ()

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

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

Throws
IOException

public SavedSliceMeta.Builder mergeShape (TensorShapeProto value)

 Shape of the tensor
 
.tensorflow.TensorShapeProto shape = 2;

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

public SavedSliceMeta.Builder removeSlice (int index)

 Explicit list of slices saved in the checkpoint file.
 
repeated .tensorflow.TensorSliceProto slice = 4;

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

public SavedSliceMeta.Builder setName (String value)

 Name of the tensor.
 
string name = 1;

public SavedSliceMeta.Builder setNameBytes (com.google.protobuf.ByteString value)

 Name of the tensor.
 
string name = 1;

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

public SavedSliceMeta.Builder setShape (TensorShapeProto value)

 Shape of the tensor
 
.tensorflow.TensorShapeProto shape = 2;

public SavedSliceMeta.Builder setShape (TensorShapeProto.Builder builderForValue)

 Shape of the tensor
 
.tensorflow.TensorShapeProto shape = 2;

public SavedSliceMeta.Builder setSlice (int index, TensorSliceProto value)

 Explicit list of slices saved in the checkpoint file.
 
repeated .tensorflow.TensorSliceProto slice = 4;

public SavedSliceMeta.Builder setSlice (int index, TensorSliceProto.Builder builderForValue)

 Explicit list of slices saved in the checkpoint file.
 
repeated .tensorflow.TensorSliceProto slice = 4;

public SavedSliceMeta.Builder setType (DataType value)

 Type of the tensor
 
.tensorflow.DataType type = 3;

public SavedSliceMeta.Builder setTypeValue (int value)

 Type of the tensor
 
.tensorflow.DataType type = 3;

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