Documentation
¶
Overview ¶
Package onnx provides functionality to export Zerfoo models to ONNX format.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
Exporter provides functionality to export Zerfoo models to ONNX format.
func NewExporter ¶
NewExporter creates a new ONNX Exporter.
func (*Exporter[T]) ExportGraph ¶
ExportGraph exports a Zerfoo computational graph to a simplified ONNX Model. This is a highly simplified example, only handling a single core.Dense layer. A full implementation would iterate through all nodes in a built graph, map each Zerfoo Node to its corresponding ONNX OpType, and handle all parameters.
type Initializer ¶
Initializer represents a simplified ONNX Initializer (model weights).
Click to show internal directories.
Click to hide internal directories.