object Variable extends Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Variable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- trait VariableGetter extends AnyRef
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def assign[T](variable: Output[core.types.Resource], value: Output[T], name: String = "AssignVariable")(implicit arg0: core.types.TF[T]): Op[(Output[core.types.Resource], Output[T]), Output[T]]
- def assignAdd[T](variable: Output[core.types.Resource], value: Output[T], name: String = "AssignAddVariable")(implicit arg0: core.types.TF[T]): Op[(Output[core.types.Resource], Output[T]), Output[T]]
- def assignSub[T](variable: Output[core.types.Resource], value: Output[T], name: String = "AssignSubVariable")(implicit arg0: core.types.TF[T]): Op[(Output[core.types.Resource], Output[T]), Output[T]]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def createVariable[T](shape: core.Shape, dataType: core.types.DataType[T], container: String = "", sharedName: String = "", name: String = "Variable")(implicit arg0: core.types.TF[T]): Output[core.types.Resource]
- def currentGetters: Seq[VariableGetter]
- def destroyVariable(variable: Output[core.types.Resource], ignoreLookupError: Boolean = true, name: String = "DestroyVariable"): Op[Output[core.types.Resource], Unit]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromProto[T](variableDef: VariableDef, importScope: String = null): Variable[T]
- def gatherGradient[T, I](op: Op[(OutputLike[T], Output[I]), Output[T]], outputGradient: Output[T])(implicit arg0: core.types.TF[T], arg1: core.types.TF[I], arg2: core.types.IsIntOrLong[I]): (OutputLike[T], Output[I])
- Attributes
- protected
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getter[R](getter: VariableGetter)(block: => R): R
- def getters[R](getters: Seq[VariableGetter])(block: => R): R
- def globalVariables: Set[Variable[Any]]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isVariableInitialized(variable: Output[core.types.Resource], name: String = "IsVariableInitialized"): Output[Boolean]
- def localVariables: Set[Variable[Any]]
- def metricVariables: Set[Variable[Any]]
- 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()
- def readVariable[T](variable: Output[core.types.Resource], dataType: core.types.DataType[T], name: String = "ReadVariable")(implicit arg0: core.types.TF[T]): Output[T]
- def readVariableGradient[T](op: Op[OutputLike[T], Output[T]], outputGradient: Output[T])(implicit arg0: core.types.TF[T]): OutputLike[T]
- Attributes
- protected
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def uninitializedVariables(variables: Set[Variable[Any]] = globalVariables ++ localVariables, name: String = "UninitializedVariables"): Output[String]
- def unsafeReadVariable[T](variable: Output[core.types.Resource], dataType: core.types.DataType[T], name: String = "UnsafeReadVariable")(implicit arg0: core.types.TF[T]): Output[T]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])