public static final class SavedSliceMeta.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder> implements SavedSliceMetaOrBuilder
Metadata describing the set of slices of the same tensor saved in a checkpoint file.Protobuf type
tensorflow.SavedSliceMeta| Modifier and Type | Method and Description |
|---|---|
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.Builder builderForValue)
Explicit list of slices saved in the checkpoint file.
|
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.
|
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 |
buildPartial() |
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
|
SavedSliceMeta.Builder |
clearSlice()
Explicit list of slices saved in the checkpoint file.
|
SavedSliceMeta.Builder |
clearType()
Type of the tensor
|
SavedSliceMeta.Builder |
clone() |
SavedSliceMeta |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Name of the tensor.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the tensor.
|
TensorShapeProto |
getShape()
Shape of the tensor
|
TensorShapeProto.Builder |
getShapeBuilder()
Shape of the tensor
|
TensorShapeProtoOrBuilder |
getShapeOrBuilder()
Shape of the tensor
|
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
|
int |
getTypeValue()
Type of the tensor
|
boolean |
hasShape()
Shape of the tensor
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SavedSliceMeta.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SavedSliceMeta.Builder |
mergeFrom(com.google.protobuf.Message other) |
SavedSliceMeta.Builder |
mergeFrom(SavedSliceMeta other) |
SavedSliceMeta.Builder |
mergeShape(TensorShapeProto value)
Shape of the tensor
|
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.Builder builderForValue)
Shape of the tensor
|
SavedSliceMeta.Builder |
setShape(TensorShapeProto value)
Shape of the tensor
|
SavedSliceMeta.Builder |
setSlice(int index,
TensorSliceProto.Builder builderForValue)
Explicit list of slices saved in the checkpoint file.
|
SavedSliceMeta.Builder |
setSlice(int index,
TensorSliceProto value)
Explicit list of slices saved in the checkpoint file.
|
SavedSliceMeta.Builder |
setType(DataType value)
Type of the tensor
|
SavedSliceMeta.Builder |
setTypeValue(int value)
Type of the tensor
|
SavedSliceMeta.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder>public SavedSliceMeta.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder>public SavedSliceMeta getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SavedSliceMeta build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SavedSliceMeta buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SavedSliceMeta.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder>public SavedSliceMeta.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder>public SavedSliceMeta.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder>public SavedSliceMeta.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder>public SavedSliceMeta.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder>public SavedSliceMeta.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder>public SavedSliceMeta.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SavedSliceMeta.Builder>public SavedSliceMeta.Builder mergeFrom(SavedSliceMeta other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder>public SavedSliceMeta.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SavedSliceMeta.Builder>IOExceptionpublic String getName()
Name of the tensor.
string name = 1;getName in interface SavedSliceMetaOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the tensor.
string name = 1;getNameBytes in interface SavedSliceMetaOrBuilderpublic SavedSliceMeta.Builder setName(String value)
Name of the tensor.
string name = 1;public SavedSliceMeta.Builder clearName()
Name of the tensor.
string name = 1;public SavedSliceMeta.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the tensor.
string name = 1;public boolean hasShape()
Shape of the tensor
.tensorflow.TensorShapeProto shape = 2;hasShape in interface SavedSliceMetaOrBuilderpublic TensorShapeProto getShape()
Shape of the tensor
.tensorflow.TensorShapeProto shape = 2;getShape in interface SavedSliceMetaOrBuilderpublic 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 mergeShape(TensorShapeProto value)
Shape of the tensor
.tensorflow.TensorShapeProto shape = 2;public SavedSliceMeta.Builder clearShape()
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;getShapeOrBuilder in interface SavedSliceMetaOrBuilderpublic int getTypeValue()
Type of the tensor
.tensorflow.DataType type = 3;getTypeValue in interface SavedSliceMetaOrBuilderpublic SavedSliceMeta.Builder setTypeValue(int value)
Type of the tensor
.tensorflow.DataType type = 3;public DataType getType()
Type of the tensor
.tensorflow.DataType type = 3;getType in interface SavedSliceMetaOrBuilderpublic SavedSliceMeta.Builder setType(DataType value)
Type of the tensor
.tensorflow.DataType type = 3;public SavedSliceMeta.Builder clearType()
Type of the tensor
.tensorflow.DataType type = 3;public List<TensorSliceProto> getSliceList()
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;getSliceList in interface SavedSliceMetaOrBuilderpublic int getSliceCount()
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;getSliceCount in interface SavedSliceMetaOrBuilderpublic TensorSliceProto getSlice(int index)
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;getSlice in interface SavedSliceMetaOrBuilderpublic 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 addSlice(TensorSliceProto value)
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;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(int index, TensorSliceProto.Builder builderForValue)
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;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 clearSlice()
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;public SavedSliceMeta.Builder removeSlice(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 TensorSliceProtoOrBuilder getSliceOrBuilder(int index)
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;getSliceOrBuilder in interface SavedSliceMetaOrBuilderpublic List<? extends TensorSliceProtoOrBuilder> getSliceOrBuilderList()
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;getSliceOrBuilderList in interface SavedSliceMetaOrBuilderpublic 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 List<TensorSliceProto.Builder> getSliceBuilderList()
Explicit list of slices saved in the checkpoint file.
repeated .tensorflow.TensorSliceProto slice = 4;public final SavedSliceMeta.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder>public final SavedSliceMeta.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SavedSliceMeta.Builder>Copyright © 2015–2019. All rights reserved.