An array of integers defining the output tensor shape.
The scalar value to fill the tensor with.
Optional
dtype: 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.Tensor
filled with a scalar value.