Initial value for the tensor.
Optional
trainable: booleanIf true, optimizers are allowed to update it.
Optional
name: stringName of the variable. Defaults to a unique id.
Optional
dtype: keyof DataTypeMapIf set, initialValue will be converted to the given type.
Generated using TypeDoc
Creates a new variable with the provided initial value.