An array of integers defining the output tensor shape.
The scalar value to fill the tensor with.
Optionaldtype: keyof DataTypeMapThe type of an element in the resulting tensor. Defaults to 'float32' if the given param value is a number, otherwise 'string'.
Creates a
tf.Tensorfilled with a scalar value.