triton.experimental.gluon.language.full
- triton.experimental.gluon.language.full(shape, value, dtype, layout=None, _semantic=None)
Create a tensor filled with a scalar value, with specified shape, dtype, and layout.
- Parameters:
shape (Sequence[int]) – The shape of the tensor.
value (int or float) – The fill value.
dtype (dtype) – The data type for the tensor.
layout (Optional[DistributedLayout]) – The layout of the output tensor, defaults to AutoLayout().
- Returns:
A tensor where every element equals value.
- Return type: