Python class
Weight
Weight
class max.graph.Weight(value: TensorValue, name: str, filepath: PathLike | str | None, offset: int | None, quantization_encoding: QuantizationEncoding | None = None)
Represents a value in a Graph that can be loaded at a later time.
assign()
assign(filepath: PathLike | str | None = None, offset: int | None = None)
filepath
name
name*: str*
offset
quantization_encoding
quantization_encoding*: QuantizationEncoding | None* = None
value
value*: TensorValue*
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!