Creates a variable with the given shape and int32 elements.
If no default value is provided, then the variable will have a default value of all zeros. The default value is stored in the attributes["default"] field of the returned operation.
The shape of the variable
The default value of the variable. The array should store the elements in row major order.
The newly created variable
See Implementation
Creates a variable with the given shape and int32 elements.
If no default value is provided, then the variable will have a default value of all zeros. The default value is stored in the attributes["default"] field of the returned operation.