final case class VariableDef(variableName: String = "", initialValueName: String = "", initializerName: String = "", snapshotName: String = "", saveSliceInfoDef: Option[SaveSliceInfoDef] = _root_.scala.None, isResource: Boolean = false, trainable: Boolean = false, synchronization: VariableSynchronization = ..., aggregation: VariableAggregation = ..., unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[VariableDef] with Product with Serializable
Protocol buffer representing a Variable.
- variableName
 Name of the variable tensor.
- initialValueName
 Name of the tensor holding the variable's initial value.
- initializerName
 Name of the initializer op.
- snapshotName
 Name of the snapshot tensor.
- saveSliceInfoDef
 Support for saving variables as slices of a larger variable.
- isResource
 Whether to represent this as a ResourceVariable.
- trainable
 Whether this variable should be trained.
- synchronization
 Indicates when a distributed variable will be synced.
- aggregation
 Indicates how a distributed variable will be aggregated.
- Annotations
 - @SerialVersionUID()
 
- Alphabetic
 - By Inheritance
 
- VariableDef
 - Updatable
 - GeneratedMessage
 - Serializable
 - Serializable
 - Product
 - Equals
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - All
 
Instance Constructors
- 
      
      
      
        
      
    
      
        
        new
      
      
        VariableDef(variableName: String = "", initialValueName: String = "", initializerName: String = "", snapshotName: String = "", saveSliceInfoDef: Option[SaveSliceInfoDef] = _root_.scala.None, isResource: Boolean = false, trainable: Boolean = false, synchronization: VariableSynchronization = ..., aggregation: VariableAggregation = ..., unknownFields: UnknownFieldSet = ...)
      
      
      
- variableName
 Name of the variable tensor.
- initialValueName
 Name of the tensor holding the variable's initial value.
- initializerName
 Name of the initializer op.
- snapshotName
 Name of the snapshot tensor.
- saveSliceInfoDef
 Support for saving variables as slices of a larger variable.
- isResource
 Whether to represent this as a ResourceVariable.
- trainable
 Whether this variable should be trained.
- synchronization
 Indicates when a distributed variable will be synced.
- aggregation
 Indicates how a distributed variable will be aggregated.
 
Value Members
- 
      
      
      
        
      
    
      
        final 
        def
      
      
        !=(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ##(): Int
      
      
      
- Definition Classes
 - AnyRef → Any
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ==(arg0: Any): Boolean
      
      
      
- Definition Classes
 - AnyRef → Any
 
 -  val aggregation: VariableAggregation
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        asInstanceOf[T0]: T0
      
      
      
- Definition Classes
 - Any
 
 -  def clearSaveSliceInfoDef: VariableDef
 - 
      
      
      
        
      
    
      
        
        def
      
      
        clone(): AnyRef
      
      
      
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... ) @native() @HotSpotIntrinsicCandidate()
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        companion: VariableDef.type
      
      
      
- Definition Classes
 - VariableDef → GeneratedMessage
 
 -  def discardUnknownFields: VariableDef
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        eq(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        getClass(): Class[_]
      
      
      
- Definition Classes
 - AnyRef → Any
 - Annotations
 - @native() @HotSpotIntrinsicCandidate()
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        getField(__field: FieldDescriptor): PValue
      
      
      
- Definition Classes
 - VariableDef → GeneratedMessage
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        getFieldByNumber(__fieldNumber: Int): Any
      
      
      
- Definition Classes
 - VariableDef → GeneratedMessage
 
 -  def getSaveSliceInfoDef: SaveSliceInfoDef
 -  val initialValueName: String
 -  val initializerName: String
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        isInstanceOf[T0]: Boolean
      
      
      
- Definition Classes
 - Any
 
 -  val isResource: Boolean
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        ne(arg0: AnyRef): Boolean
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notify(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @native() @HotSpotIntrinsicCandidate()
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        notifyAll(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @native() @HotSpotIntrinsicCandidate()
 
 -  val saveSliceInfoDef: Option[SaveSliceInfoDef]
 - 
      
      
      
        
      
    
      
        
        def
      
      
        serializedSize: Int
      
      
      
- Definition Classes
 - VariableDef → GeneratedMessage
 
 -  val snapshotName: String
 -  val synchronization: VariableSynchronization
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        synchronized[T0](arg0: ⇒ T0): T0
      
      
      
- Definition Classes
 - AnyRef
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        toByteArray: Array[Byte]
      
      
      
- Definition Classes
 - GeneratedMessage
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        toByteString: ByteString
      
      
      
- Definition Classes
 - GeneratedMessage
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        toPMessage: PMessage
      
      
      
- Definition Classes
 - GeneratedMessage
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        toProtoString: String
      
      
      
- Definition Classes
 - VariableDef → GeneratedMessage
 
 -  val trainable: Boolean
 -  val unknownFields: UnknownFieldSet
 - 
      
      
      
        
      
    
      
        
        def
      
      
        update(ms: (Lens[VariableDef, VariableDef]) ⇒ Mutation[VariableDef]*): VariableDef
      
      
      
- Definition Classes
 - Updatable
 
 -  val variableName: String
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long, arg1: Int): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(arg0: Long): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... ) @native()
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        wait(): Unit
      
      
      
- Definition Classes
 - AnyRef
 - Annotations
 - @throws( ... )
 
 -  def withAggregation(__v: VariableAggregation): VariableDef
 -  def withInitialValueName(__v: String): VariableDef
 -  def withInitializerName(__v: String): VariableDef
 -  def withIsResource(__v: Boolean): VariableDef
 -  def withSaveSliceInfoDef(__v: SaveSliceInfoDef): VariableDef
 -  def withSnapshotName(__v: String): VariableDef
 -  def withSynchronization(__v: VariableSynchronization): VariableDef
 -  def withTrainable(__v: Boolean): VariableDef
 -  def withUnknownFields(__v: UnknownFieldSet): VariableDef
 -  def withVariableName(__v: String): VariableDef
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        writeDelimitedTo(output: OutputStream): Unit
      
      
      
- Definition Classes
 - GeneratedMessage
 
 - 
      
      
      
        
      
    
      
        
        def
      
      
        writeTo(_output__: CodedOutputStream): Unit
      
      
      
- Definition Classes
 - VariableDef → GeneratedMessage
 
 - 
      
      
      
        
      
    
      
        final 
        def
      
      
        writeTo(output: OutputStream): Unit
      
      
      
- Definition Classes
 - GeneratedMessage
 
 
Deprecated Value Members
- 
      
      
      
        
      
    
      
        
        def
      
      
        finalize(): Unit
      
      
      
- Attributes
 - protected[lang]
 - Definition Classes
 - AnyRef
 - Annotations
 - @throws( classOf[java.lang.Throwable] ) @Deprecated
 - Deprecated