Class SavedTensorSlices.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SavedTensorSlices.Builder>
com.google.protobuf.GeneratedMessage.Builder<SavedTensorSlices.Builder>
org.tensorflow.proto.SavedTensorSlices.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, SavedTensorSlicesOrBuilder
- Enclosing class:
SavedTensorSlices
public static final class SavedTensorSlices.Builder
extends GeneratedMessage.Builder<SavedTensorSlices.Builder>
implements SavedTensorSlicesOrBuilder
Each record in a v3 checkpoint file is a serialized SavedTensorSlices message.Protobuf type
tensorflow.SavedTensorSlices-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()This exists in all but the first item of each checkpoint file.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.getData()This exists in all but the first item of each checkpoint file.This exists in all but the first item of each checkpoint file.This exists in all but the first item of each checkpoint file.static final Descriptors.DescriptorgetMeta()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.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.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.booleanhasData()This exists in all but the first item of each checkpoint file.booleanhasMeta()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.protected GeneratedMessage.FieldAccessorTablefinal booleanmergeData(SavedSlice value) This exists in all but the first item of each checkpoint file.mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(SavedTensorSlices other) 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.setData(SavedSlice value) This exists in all but the first item of each checkpoint file.setData(SavedSlice.Builder builderForValue) This exists in all but the first item of each checkpoint file.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.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.Methods inherited from class GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessage.Builder<SavedTensorSlices.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessage.Builder<SavedTensorSlices.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessage.Builder<SavedTensorSlices.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<SavedTensorSlices.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessage.Builder<SavedTensorSlices.Builder>
-
mergeFrom
public SavedTensorSlices.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<SavedTensorSlices.Builder>- Throws:
IOException
-
hasMeta
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;- Specified by:
hasMetain interfaceSavedTensorSlicesOrBuilder- Returns:
- Whether the meta field is set.
-
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;- Specified by:
getMetain interfaceSavedTensorSlicesOrBuilder- Returns:
- The meta.
-
setMeta
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; -
setMeta
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; -
mergeMeta
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; -
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; -
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; -
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;- Specified by:
getMetaOrBuilderin interfaceSavedTensorSlicesOrBuilder
-
hasData
public boolean hasData()This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2;- Specified by:
hasDatain interfaceSavedTensorSlicesOrBuilder- Returns:
- Whether the data field is set.
-
getData
This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2;- Specified by:
getDatain interfaceSavedTensorSlicesOrBuilder- Returns:
- The data.
-
setData
This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2; -
setData
This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2; -
mergeData
This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2; -
clearData
This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2; -
getDataBuilder
This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2; -
getDataOrBuilder
This exists in all but the first item of each checkpoint file.
.tensorflow.SavedSlice data = 2;- Specified by:
getDataOrBuilderin interfaceSavedTensorSlicesOrBuilder
-