Python class
BufferValue
BufferValue
class max.graph.BufferValue(value: Value | Value | TensorValue | Weight | Shape | Dim | int | float | integer | floating | ndarray)
Represents a mutable semantic tensor within a Graph.
device
property device*: Device | None*
Returns the device of the BufferValue.
dtype
property dtype*: DType*
print()
print(label: str = 'debug_buffer')
rank
property rank*: int*
Returns the rank (number of dims) of the buffer.
shape
property shape*: Shape*
Returns the shape of the BufferValue.
type
property type*: BufferType*
Returns the type of the BufferValue as a BufferType.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!