apply

fun apply(fanIn: Int, fanOut: Int, tf: Ops, input: Operand<Float>, name: String): InitializerOperation

Adds an Assign Op to the graph to initialize a tensorflow variable as specified by the initializer.

Return

initializer operation.

See also

Parameters

fanIn

The maximum number of inputs that an initializer can accept.

fanOut

The maximum number of inputs that the output of an initializer can feed to other steps.

tf

Tensorflow Ops Accessor

input

Variable to initialize