Assign

Versioned name: Assign-3

Category: Infrastructure

Short description: Assign sets an input value to the variable_id variable.

Detailed description:

Assign operation sets an input value to the variable_id variable and optionally returns it as an output. This value will be returned by ReadValue operation on next infer if variable was not reset. The operation checks that the type and shape of the input are the same as declared in variable_id and returns an error otherwise.

Attributes:

Inputs

Outputs

Example

<layer ... type="Assign" ...>
<data variable_id="lstm_state_1"/>
<input>
<port id="0">
<dim>1</dim>
<dim>3</dim>
<dim>224</dim>
<dim>224</dim>
</port>
</input>
</layer>