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 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

      SavedObjectGraphOuterClass.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;
    • 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;