Package tensorflow
Interface SavedObjectGraphOuterClass.SavedObjectOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SavedObjectGraphOuterClass.SavedObject,SavedObjectGraphOuterClass.SavedObject.Builder
- Enclosing class:
SavedObjectGraphOuterClass
public static interface SavedObjectGraphOuterClass.SavedObjectOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanStores the functions used to save and restore this object.getAsset().tensorflow.SavedAsset asset = 5;.tensorflow.SavedAsset asset = 5;.tensorflow.SavedBareConcreteFunction bare_concrete_function = 8;.tensorflow.SavedBareConcreteFunction bare_concrete_function = 8;.tensorflow.CapturedTensor captured_tensor = 12;.tensorflow.CapturedTensor captured_tensor = 12;getChildren(int index) Objects which this object depends on: named edges in the dependency graph.intObjects which this object depends on: named edges in the dependency graph.Objects which this object depends on: named edges in the dependency graph.getChildrenOrBuilder(int index) Objects which this object depends on: named edges in the dependency graph.List<? extends TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.ObjectReferenceOrBuilder> Objects which this object depends on: named edges in the dependency graph..tensorflow.SavedConstant constant = 9;.tensorflow.SavedConstant constant = 9;getDependencies(int index) Ordered list of dependencies that must be loaded before this object.intOrdered list of dependencies that must be loaded before this object.Ordered list of dependencies that must be loaded before this object.getDependenciesOrBuilder(int index) Ordered list of dependencies that must be loaded before this object.List<? extends TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.ObjectReferenceOrBuilder> Ordered list of dependencies that must be loaded before this object..tensorflow.SavedFunction function = 6;.tensorflow.SavedFunction function = 6;The name of the registered class of the form "{package}.com.google.protobuf.ByteStringThe name of the registered class of the form "{package}.String name of the registered saver.com.google.protobuf.ByteStringString name of the registered saver..tensorflow.SavedResource resource = 10;.tensorflow.SavedResource resource = 10;Deprecated.intStores the functions used to save and restore this object.Stores the functions used to save and restore this object.getSaveableObjectsOrDefault(String key, SavedObjectGraphOuterClass.SaveableObject defaultValue) Stores the functions used to save and restore this object.Stores the functions used to save and restore this object.The user-generated proto storing metadata for this object, to be passed to the registered classes's _deserialize_from_proto method when this object is loaded from the SavedModel.The user-generated proto storing metadata for this object, to be passed to the registered classes's _deserialize_from_proto method when this object is loaded from the SavedModel.getSlotVariables(int index) Slot variables owned by this object.intSlot variables owned by this object.Slot variables owned by this object.getSlotVariablesOrBuilder(int index) Slot variables owned by this object.List<? extends TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.SlotVariableReferenceOrBuilder> Slot variables owned by this object..tensorflow.SavedUserObject user_object = 4;.tensorflow.SavedUserObject user_object = 4;.tensorflow.SavedVariable variable = 7;.tensorflow.SavedVariable variable = 7;booleanhasAsset().tensorflow.SavedAsset asset = 5;boolean.tensorflow.SavedBareConcreteFunction bare_concrete_function = 8;boolean.tensorflow.CapturedTensor captured_tensor = 12;boolean.tensorflow.SavedConstant constant = 9;boolean.tensorflow.SavedFunction function = 6;boolean.tensorflow.SavedResource resource = 10;booleanThe user-generated proto storing metadata for this object, to be passed to the registered classes's _deserialize_from_proto method when this object is loaded from the SavedModel.boolean.tensorflow.SavedUserObject user_object = 4;boolean.tensorflow.SavedVariable variable = 7;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getChildrenList
List<TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.ObjectReference> getChildrenList()Objects which this object depends on: named edges in the dependency graph. Note: All kinds of SavedObject may have children, except "constant" and "captured_tensor".
repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference children = 1; -
getChildren
TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.ObjectReference getChildren(int index) Objects which this object depends on: named edges in the dependency graph. Note: All kinds of SavedObject may have children, except "constant" and "captured_tensor".
repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference children = 1; -
getChildrenCount
int getChildrenCount()Objects which this object depends on: named edges in the dependency graph. Note: All kinds of SavedObject may have children, except "constant" and "captured_tensor".
repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference children = 1; -
getChildrenOrBuilderList
List<? extends TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.ObjectReferenceOrBuilder> getChildrenOrBuilderList()Objects which this object depends on: named edges in the dependency graph. Note: All kinds of SavedObject may have children, except "constant" and "captured_tensor".
repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference children = 1; -
getChildrenOrBuilder
TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.ObjectReferenceOrBuilder getChildrenOrBuilder(int index) Objects which this object depends on: named edges in the dependency graph. Note: All kinds of SavedObject may have children, except "constant" and "captured_tensor".
repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference children = 1; -
getDependenciesList
List<TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.ObjectReference> getDependenciesList()Ordered list of dependencies that must be loaded before this object. SavedModel loads with the bottom-up approach, by first creating all objects (in the order defined by the dependencies), then connecting the edges.
repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference dependencies = 15; -
getDependencies
TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.ObjectReference getDependencies(int index) Ordered list of dependencies that must be loaded before this object. SavedModel loads with the bottom-up approach, by first creating all objects (in the order defined by the dependencies), then connecting the edges.
repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference dependencies = 15; -
getDependenciesCount
int getDependenciesCount()Ordered list of dependencies that must be loaded before this object. SavedModel loads with the bottom-up approach, by first creating all objects (in the order defined by the dependencies), then connecting the edges.
repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference dependencies = 15; -
getDependenciesOrBuilderList
List<? extends TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.ObjectReferenceOrBuilder> getDependenciesOrBuilderList()Ordered list of dependencies that must be loaded before this object. SavedModel loads with the bottom-up approach, by first creating all objects (in the order defined by the dependencies), then connecting the edges.
repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference dependencies = 15; -
getDependenciesOrBuilder
TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.ObjectReferenceOrBuilder getDependenciesOrBuilder(int index) Ordered list of dependencies that must be loaded before this object. SavedModel loads with the bottom-up approach, by first creating all objects (in the order defined by the dependencies), then connecting the edges.
repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference dependencies = 15; -
getSlotVariablesList
List<TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.SlotVariableReference> getSlotVariablesList()Slot variables owned by this object. This describes the three-way (optimizer, variable, slot variable) relationship; none of the three depend on the others directly. Note: currently only valid if kind == "user_object".
repeated .tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference slot_variables = 3; -
getSlotVariables
TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.SlotVariableReference getSlotVariables(int index) Slot variables owned by this object. This describes the three-way (optimizer, variable, slot variable) relationship; none of the three depend on the others directly. Note: currently only valid if kind == "user_object".
repeated .tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference slot_variables = 3; -
getSlotVariablesCount
int getSlotVariablesCount()Slot variables owned by this object. This describes the three-way (optimizer, variable, slot variable) relationship; none of the three depend on the others directly. Note: currently only valid if kind == "user_object".
repeated .tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference slot_variables = 3; -
getSlotVariablesOrBuilderList
List<? extends TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.SlotVariableReferenceOrBuilder> getSlotVariablesOrBuilderList()Slot variables owned by this object. This describes the three-way (optimizer, variable, slot variable) relationship; none of the three depend on the others directly. Note: currently only valid if kind == "user_object".
repeated .tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference slot_variables = 3; -
getSlotVariablesOrBuilder
TrackableObjectGraphOuterClass.TrackableObjectGraph.TrackableObject.SlotVariableReferenceOrBuilder getSlotVariablesOrBuilder(int index) Slot variables owned by this object. This describes the three-way (optimizer, variable, slot variable) relationship; none of the three depend on the others directly. Note: currently only valid if kind == "user_object".
repeated .tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference slot_variables = 3; -
hasUserObject
boolean hasUserObject().tensorflow.SavedUserObject user_object = 4;- Returns:
- Whether the userObject field is set.
-
getUserObject
SavedObjectGraphOuterClass.SavedUserObject getUserObject().tensorflow.SavedUserObject user_object = 4;- Returns:
- The userObject.
-
getUserObjectOrBuilder
SavedObjectGraphOuterClass.SavedUserObjectOrBuilder getUserObjectOrBuilder().tensorflow.SavedUserObject user_object = 4; -
hasAsset
boolean hasAsset().tensorflow.SavedAsset asset = 5;- Returns:
- Whether the asset field is set.
-
getAsset
SavedObjectGraphOuterClass.SavedAsset getAsset().tensorflow.SavedAsset asset = 5;- Returns:
- The asset.
-
getAssetOrBuilder
SavedObjectGraphOuterClass.SavedAssetOrBuilder getAssetOrBuilder().tensorflow.SavedAsset asset = 5; -
hasFunction
boolean hasFunction().tensorflow.SavedFunction function = 6;- Returns:
- Whether the function field is set.
-
getFunction
SavedObjectGraphOuterClass.SavedFunction getFunction().tensorflow.SavedFunction function = 6;- Returns:
- The function.
-
getFunctionOrBuilder
SavedObjectGraphOuterClass.SavedFunctionOrBuilder getFunctionOrBuilder().tensorflow.SavedFunction function = 6; -
hasVariable
boolean hasVariable().tensorflow.SavedVariable variable = 7;- Returns:
- Whether the variable field is set.
-
getVariable
SavedObjectGraphOuterClass.SavedVariable getVariable().tensorflow.SavedVariable variable = 7;- Returns:
- The variable.
-
getVariableOrBuilder
SavedObjectGraphOuterClass.SavedVariableOrBuilder getVariableOrBuilder().tensorflow.SavedVariable variable = 7; -
hasBareConcreteFunction
boolean hasBareConcreteFunction().tensorflow.SavedBareConcreteFunction bare_concrete_function = 8;- Returns:
- Whether the bareConcreteFunction field is set.
-
getBareConcreteFunction
SavedObjectGraphOuterClass.SavedBareConcreteFunction getBareConcreteFunction().tensorflow.SavedBareConcreteFunction bare_concrete_function = 8;- Returns:
- The bareConcreteFunction.
-
getBareConcreteFunctionOrBuilder
SavedObjectGraphOuterClass.SavedBareConcreteFunctionOrBuilder getBareConcreteFunctionOrBuilder().tensorflow.SavedBareConcreteFunction bare_concrete_function = 8; -
hasConstant
boolean hasConstant().tensorflow.SavedConstant constant = 9;- Returns:
- Whether the constant field is set.
-
getConstant
SavedObjectGraphOuterClass.SavedConstant getConstant().tensorflow.SavedConstant constant = 9;- Returns:
- The constant.
-
getConstantOrBuilder
SavedObjectGraphOuterClass.SavedConstantOrBuilder getConstantOrBuilder().tensorflow.SavedConstant constant = 9; -
hasResource
boolean hasResource().tensorflow.SavedResource resource = 10;- Returns:
- Whether the resource field is set.
-
getResource
SavedObjectGraphOuterClass.SavedResource getResource().tensorflow.SavedResource resource = 10;- Returns:
- The resource.
-
getResourceOrBuilder
SavedObjectGraphOuterClass.SavedResourceOrBuilder getResourceOrBuilder().tensorflow.SavedResource resource = 10; -
hasCapturedTensor
boolean hasCapturedTensor().tensorflow.CapturedTensor captured_tensor = 12;- Returns:
- Whether the capturedTensor field is set.
-
getCapturedTensor
SavedObjectGraphOuterClass.CapturedTensor getCapturedTensor().tensorflow.CapturedTensor captured_tensor = 12;- Returns:
- The capturedTensor.
-
getCapturedTensorOrBuilder
SavedObjectGraphOuterClass.CapturedTensorOrBuilder getCapturedTensorOrBuilder().tensorflow.CapturedTensor captured_tensor = 12; -
getSaveableObjectsCount
int getSaveableObjectsCount()Stores the functions used to save and restore this object. At most one of `saveable_objects` or `registered_saver` is defined for each SavedObject. See the comment below for the difference between SaveableObject and registered savers.
map<string, .tensorflow.SaveableObject> saveable_objects = 11; -
containsSaveableObjects
Stores the functions used to save and restore this object. At most one of `saveable_objects` or `registered_saver` is defined for each SavedObject. See the comment below for the difference between SaveableObject and registered savers.
map<string, .tensorflow.SaveableObject> saveable_objects = 11; -
getSaveableObjects
Deprecated.UsegetSaveableObjectsMap()instead. -
getSaveableObjectsMap
Map<String,SavedObjectGraphOuterClass.SaveableObject> getSaveableObjectsMap()Stores the functions used to save and restore this object. At most one of `saveable_objects` or `registered_saver` is defined for each SavedObject. See the comment below for the difference between SaveableObject and registered savers.
map<string, .tensorflow.SaveableObject> saveable_objects = 11; -
getSaveableObjectsOrDefault
SavedObjectGraphOuterClass.SaveableObject getSaveableObjectsOrDefault(String key, SavedObjectGraphOuterClass.SaveableObject defaultValue) Stores the functions used to save and restore this object. At most one of `saveable_objects` or `registered_saver` is defined for each SavedObject. See the comment below for the difference between SaveableObject and registered savers.
map<string, .tensorflow.SaveableObject> saveable_objects = 11; -
getSaveableObjectsOrThrow
Stores the functions used to save and restore this object. At most one of `saveable_objects` or `registered_saver` is defined for each SavedObject. See the comment below for the difference between SaveableObject and registered savers.
map<string, .tensorflow.SaveableObject> saveable_objects = 11; -
getRegisteredName
String getRegisteredName()The name of the registered class of the form "{package}.{class_name}". This field is used to search for the registered class at loading time.string registered_name = 13;- Returns:
- The registeredName.
-
getRegisteredNameBytes
com.google.protobuf.ByteString getRegisteredNameBytes()The name of the registered class of the form "{package}.{class_name}". This field is used to search for the registered class at loading time.string registered_name = 13;- Returns:
- The bytes for registeredName.
-
hasSerializedUserProto
boolean hasSerializedUserProto()The user-generated proto storing metadata for this object, to be passed to the registered classes's _deserialize_from_proto method when this object is loaded from the SavedModel.
.google.protobuf.Any serialized_user_proto = 14;- Returns:
- Whether the serializedUserProto field is set.
-
getSerializedUserProto
Any getSerializedUserProto()The user-generated proto storing metadata for this object, to be passed to the registered classes's _deserialize_from_proto method when this object is loaded from the SavedModel.
.google.protobuf.Any serialized_user_proto = 14;- Returns:
- The serializedUserProto.
-
getSerializedUserProtoOrBuilder
AnyOrBuilder getSerializedUserProtoOrBuilder()The user-generated proto storing metadata for this object, to be passed to the registered classes's _deserialize_from_proto method when this object is loaded from the SavedModel.
.google.protobuf.Any serialized_user_proto = 14; -
getRegisteredSaver
String getRegisteredSaver()String name of the registered saver. At most one of `saveable_objects` or `registered_saver` is defined for each SavedObject.
string registered_saver = 16;- Returns:
- The registeredSaver.
-
getRegisteredSaverBytes
com.google.protobuf.ByteString getRegisteredSaverBytes()String name of the registered saver. At most one of `saveable_objects` or `registered_saver` is defined for each SavedObject.
string registered_saver = 16;- Returns:
- The bytes for registeredSaver.
-
getKindCase
SavedObjectGraphOuterClass.SavedObject.KindCase getKindCase()
-