public class
Zeros
Creates an Initializer that sets all values to zero.
Examples:
Zeros<TFloat32> initializer = new org.tensorflow.framework.initializers.Zeros<>(tf); Operand<TFloat32> values = initializer.call(tf.constant(Shape.of(2,2)), TFloat32.class);
Public Constructors
Zeros(Ops tf)
Creates an Initializer that sets all values to one.
|
Public Methods
Inherited Methods
Ops |
getTF()
Gets the TensorFlow Ops
|
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 Constructors
public Zeros (Ops tf)
Creates an Initializer that sets all values to one.
Parameters
tf | the TensorFlow Ops |
---|