ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

tf.raw_ops.Const

Returns a constant tensor.

value A tf.TensorProto. Attr value is the tensor to return.
dtype A tf.DType.
name A name for the operation (optional).

A Tensor of type dtype.