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!
If you'd like to share more information, please report an issue on GitHub
π What went wrong?