package variable
- Alphabetic
- Public
- All
Type Members
-
final
case class
SaveSliceInfoDef(fullName: String = "", fullShape: Seq[Long] = _root_.scala.Seq.empty, varOffset: Seq[Long] = _root_.scala.Seq.empty, varShape: Seq[Long] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[SaveSliceInfoDef] with Product with Serializable
- fullName
Name of the full variable of which this is a slice.
- fullShape
Shape of the full variable.
- varOffset
Offset of this variable into the full variable.
- varShape
Shape of this variable.
- Annotations
- @SerialVersionUID()
-
sealed abstract
class
VariableAggregation extends GeneratedEnum
Indicates how a distributed variable will be aggregated.
-
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.
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()
-
sealed abstract
class
VariableSynchronization extends GeneratedEnum
Indicates when a distributed variable will be synced.
Value Members
- object SaveSliceInfoDef extends GeneratedMessageCompanion[SaveSliceInfoDef]
- object VariableAggregation extends GeneratedEnumCompanion[VariableAggregation]
- object VariableDef extends GeneratedMessageCompanion[VariableDef]
- object VariableProto extends GeneratedFileObject
- object VariableSynchronization extends GeneratedEnumCompanion[VariableSynchronization]