public abstract class
Helpers
Container class for core methods which add or perform several operations and return one of them.
Public Methods
static <T extends TType> Variable<T> |
createVariableWithInit(Scope scope, Operand<T> init, Options... options)
Factory method to create a new Variable with it's initializer.
|
Inherited Methods
boolean |
equals(Object arg0)
|
final Class<?> |
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String |
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Methods
public static Variable<T> createVariableWithInit (Scope scope, Operand<T> init, Options... options)
Factory method to create a new Variable with it's initializer.
Only supported on Graph sessions as the Assign
op
does not work in an EagerSession.
Parameters
scope | current scope |
---|---|
init | The op to use to initialise this variable. |
options | carries optional attributes values |
Returns
- a new instance of Variable