Package tensorflow
Interface SavedObjectGraphOuterClass.SavedVariableOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SavedObjectGraphOuterClass.SavedVariable,SavedObjectGraphOuterClass.SavedVariable.Builder
- Enclosing class:
SavedObjectGraphOuterClass
public static interface SavedObjectGraphOuterClass.SavedVariableOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.tensorflow.VariableAggregation aggregation = 5;int.tensorflow.VariableAggregation aggregation = 5;string device = 7;com.google.protobuf.ByteStringstring device = 7;getDtype().tensorflow.DataType dtype = 1;int.tensorflow.DataType dtype = 1;getExperimentalDistributedVariableComponents(int index) List of component variables for a distributed variable.intList of component variables for a distributed variable.List of component variables for a distributed variable.List of component variables for a distributed variable.List of component variables for a distributed variable.getName()string name = 6;com.google.protobuf.ByteStringstring name = 6;getShape().tensorflow.TensorShapeProto shape = 2;.tensorflow.TensorShapeProto shape = 2;.tensorflow.VariableSynchronization synchronization = 4;int.tensorflow.VariableSynchronization synchronization = 4;booleanbool trainable = 3;booleanhasShape().tensorflow.TensorShapeProto shape = 2;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
-
getDtypeValue
int getDtypeValue().tensorflow.DataType dtype = 1;- Returns:
- The enum numeric value on the wire for dtype.
-
getDtype
DataType getDtype().tensorflow.DataType dtype = 1;- Returns:
- The dtype.
-
hasShape
boolean hasShape().tensorflow.TensorShapeProto shape = 2;- Returns:
- Whether the shape field is set.
-
getShape
TensorShapeProto getShape().tensorflow.TensorShapeProto shape = 2;- Returns:
- The shape.
-
getShapeOrBuilder
TensorShapeProtoOrBuilder getShapeOrBuilder().tensorflow.TensorShapeProto shape = 2; -
getTrainable
boolean getTrainable()bool trainable = 3;- Returns:
- The trainable.
-
getSynchronizationValue
int getSynchronizationValue().tensorflow.VariableSynchronization synchronization = 4;- Returns:
- The enum numeric value on the wire for synchronization.
-
getSynchronization
VariableSynchronization getSynchronization().tensorflow.VariableSynchronization synchronization = 4;- Returns:
- The synchronization.
-
getAggregationValue
int getAggregationValue().tensorflow.VariableAggregation aggregation = 5;- Returns:
- The enum numeric value on the wire for aggregation.
-
getAggregation
VariableAggregation getAggregation().tensorflow.VariableAggregation aggregation = 5;- Returns:
- The aggregation.
-
getName
String getName()string name = 6;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()string name = 6;- Returns:
- The bytes for name.
-
getDevice
String getDevice()string device = 7;- Returns:
- The device.
-
getDeviceBytes
com.google.protobuf.ByteString getDeviceBytes()string device = 7;- Returns:
- The bytes for device.
-
getExperimentalDistributedVariableComponentsList
List<SavedObjectGraphOuterClass.SavedVariable> getExperimentalDistributedVariableComponentsList()List of component variables for a distributed variable. When this field is non-empty, the SavedVariable will be assumed to be a distributed variable defined by the components listed here. This is only supported by experimental loaders at the moment.
repeated .tensorflow.SavedVariable experimental_distributed_variable_components = 8; -
getExperimentalDistributedVariableComponents
List of component variables for a distributed variable. When this field is non-empty, the SavedVariable will be assumed to be a distributed variable defined by the components listed here. This is only supported by experimental loaders at the moment.
repeated .tensorflow.SavedVariable experimental_distributed_variable_components = 8; -
getExperimentalDistributedVariableComponentsCount
int getExperimentalDistributedVariableComponentsCount()List of component variables for a distributed variable. When this field is non-empty, the SavedVariable will be assumed to be a distributed variable defined by the components listed here. This is only supported by experimental loaders at the moment.
repeated .tensorflow.SavedVariable experimental_distributed_variable_components = 8; -
getExperimentalDistributedVariableComponentsOrBuilderList
List<? extends SavedObjectGraphOuterClass.SavedVariableOrBuilder> getExperimentalDistributedVariableComponentsOrBuilderList()List of component variables for a distributed variable. When this field is non-empty, the SavedVariable will be assumed to be a distributed variable defined by the components listed here. This is only supported by experimental loaders at the moment.
repeated .tensorflow.SavedVariable experimental_distributed_variable_components = 8; -
getExperimentalDistributedVariableComponentsOrBuilder
SavedObjectGraphOuterClass.SavedVariableOrBuilder getExperimentalDistributedVariableComponentsOrBuilder(int index) List of component variables for a distributed variable. When this field is non-empty, the SavedVariable will be assumed to be a distributed variable defined by the components listed here. This is only supported by experimental loaders at the moment.
repeated .tensorflow.SavedVariable experimental_distributed_variable_components = 8;
-