tf.raw_ops.Const

Returns a constant tensor.

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.raw_ops.Const

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.