public final class
SavedVariable
Represents a Variable that is initialized by loading the contents from the checkpoint.
tensorflow.SavedVariable
Nested Classes
class | SavedVariable.Builder | Represents a Variable that is initialized by loading the contents from the checkpoint. |
Constants
Public Methods
boolean |
equals(Object obj)
|
VariableAggregation |
getAggregation()
.tensorflow.VariableAggregation aggregation = 5;
|
int |
getAggregationValue()
.tensorflow.VariableAggregation aggregation = 5;
|
static SavedVariable | |
SavedVariable | |
final static com.google.protobuf.Descriptors.Descriptor | |
String |
getDevice()
string device = 7;
|
com.google.protobuf.ByteString |
getDeviceBytes()
string device = 7;
|
DataType |
getDtype()
.tensorflow.DataType dtype = 1;
|
int |
getDtypeValue()
.tensorflow.DataType dtype = 1;
|
SavedVariable |
getExperimentalDistributedVariableComponents(int index)
List of component variables for a distributed variable. |
int |
getExperimentalDistributedVariableComponentsCount()
List of component variables for a distributed variable. |
List<SavedVariable> |
getExperimentalDistributedVariableComponentsList()
List of component variables for a distributed variable. |
SavedVariableOrBuilder |
getExperimentalDistributedVariableComponentsOrBuilder(int index)
List of component variables for a distributed variable. |
List<? extends SavedVariableOrBuilder> |
getExperimentalDistributedVariableComponentsOrBuilderList()
List of component variables for a distributed variable. |
String |
getName()
string name = 6;
|
com.google.protobuf.ByteString |
getNameBytes()
string name = 6;
|
|
|
int | |
TensorShapeProto |
getShape()
.tensorflow.TensorShapeProto shape = 2;
|
TensorShapeProtoOrBuilder |
getShapeOrBuilder()
.tensorflow.TensorShapeProto shape = 2;
|
VariableSynchronization |
getSynchronization()
.tensorflow.VariableSynchronization synchronization = 4;
|
int |
getSynchronizationValue()
.tensorflow.VariableSynchronization synchronization = 4;
|
boolean |
getTrainable()
bool trainable = 3;
|
final com.google.protobuf.UnknownFieldSet | |
boolean |
hasShape()
.tensorflow.TensorShapeProto shape = 2;
|
int |
hashCode()
|
final boolean | |
static SavedVariable.Builder |
newBuilder(SavedVariable prototype)
|
static SavedVariable.Builder | |
SavedVariable.Builder | |
static SavedVariable |
parseDelimitedFrom(InputStream input)
|
static SavedVariable |
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedVariable |
parseFrom(ByteBuffer data)
|
static SavedVariable |
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedVariable |
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedVariable |
parseFrom(com.google.protobuf.CodedInputStream input)
|
static SavedVariable |
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedVariable |
parseFrom(com.google.protobuf.ByteString data)
|
static SavedVariable |
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static SavedVariable |
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static
|
parser()
|
SavedVariable.Builder | |
void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
Inherited Methods
Constants
public static final int AGGREGATION_FIELD_NUMBER
Constant Value:
5
public static final int DEVICE_FIELD_NUMBER
Constant Value:
7
public static final int DTYPE_FIELD_NUMBER
Constant Value:
1
public static final int EXPERIMENTAL_DISTRIBUTED_VARIABLE_COMPONENTS_FIELD_NUMBER
Constant Value:
8
public static final int NAME_FIELD_NUMBER
Constant Value:
6
public static final int SHAPE_FIELD_NUMBER
Constant Value:
2
public static final int SYNCHRONIZATION_FIELD_NUMBER
Constant Value:
4
public static final int TRAINABLE_FIELD_NUMBER
Constant Value:
3
Public Methods
public boolean equals (Object obj)
public int getAggregationValue ()
.tensorflow.VariableAggregation aggregation = 5;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public String getDevice ()
string device = 7;
public com.google.protobuf.ByteString getDeviceBytes ()
string device = 7;
public int getDtypeValue ()
.tensorflow.DataType dtype = 1;
public SavedVariable getExperimentalDistributedVariableComponents (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;
public 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;
public List<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;
public 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;
public List<? extends 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;
public String getName ()
string name = 6;
public com.google.protobuf.ByteString getNameBytes ()
string name = 6;
public
getParserForType
()
public int getSerializedSize ()
public VariableSynchronization getSynchronization ()
.tensorflow.VariableSynchronization synchronization = 4;
public int getSynchronizationValue ()
.tensorflow.VariableSynchronization synchronization = 4;
public boolean getTrainable ()
bool trainable = 3;
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public boolean hasShape ()
.tensorflow.TensorShapeProto shape = 2;
public int hashCode ()
public final boolean isInitialized ()
public static SavedVariable parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static SavedVariable parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static SavedVariable parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static SavedVariable parseFrom (com.google.protobuf.CodedInputStream input)
Throws
IOException |
---|
public static SavedVariable parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static SavedVariable parseFrom (com.google.protobuf.ByteString data)
Throws
InvalidProtocolBufferException |
---|
public static SavedVariable parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static SavedVariable parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public
static
parser
()
public void writeTo (com.google.protobuf.CodedOutputStream output)
Throws
IOException |
---|