Constant

Description

Constructs a tensor of the constant node.

Output

One output:

y: output tensor of type float, float16, bfloat16, int4, int8, int16, int32, int64, uint8, uint16, uint32, uint64, bool or double. Must be the same as the attribute value.

Property

value: value of the output tensor, which needs to be provided.

Constraints

The value does not support the sparse format.

ONNX Opset Support

Opset v8/v9/v10/v11/v12/v13