Packages

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()
Linear Supertypes
Updatable[VariableDef], GeneratedMessage, Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VariableDef
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Serializable
  6. Product
  7. Equals
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val aggregation: VariableAggregation
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clearSaveSliceInfoDef: VariableDef
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. def companion: VariableDef.type
    Definition Classes
    VariableDef → GeneratedMessage
  9. def discardUnknownFields: VariableDef
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    VariableDef → GeneratedMessage
  13. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    VariableDef → GeneratedMessage
  14. def getSaveSliceInfoDef: SaveSliceInfoDef
  15. val initialValueName: String
  16. val initializerName: String
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. val isResource: Boolean
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. val saveSliceInfoDef: Option[SaveSliceInfoDef]
  23. def serializedSize: Int
    Definition Classes
    VariableDef → GeneratedMessage
  24. val snapshotName: String
  25. val synchronization: VariableSynchronization
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  28. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  29. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  30. def toProtoString: String
    Definition Classes
    VariableDef → GeneratedMessage
  31. val trainable: Boolean
  32. val unknownFields: UnknownFieldSet
  33. def update(ms: (Lens[VariableDef, VariableDef]) ⇒ Mutation[VariableDef]*): VariableDef
    Definition Classes
    Updatable
  34. val variableName: String
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def withAggregation(__v: VariableAggregation): VariableDef
  39. def withInitialValueName(__v: String): VariableDef
  40. def withInitializerName(__v: String): VariableDef
  41. def withIsResource(__v: Boolean): VariableDef
  42. def withSaveSliceInfoDef(__v: SaveSliceInfoDef): VariableDef
  43. def withSnapshotName(__v: String): VariableDef
  44. def withSynchronization(__v: VariableSynchronization): VariableDef
  45. def withTrainable(__v: Boolean): VariableDef
  46. def withUnknownFields(__v: UnknownFieldSet): VariableDef
  47. def withVariableName(__v: String): VariableDef
  48. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  49. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    VariableDef → GeneratedMessage
  50. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Updatable[VariableDef]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped