OnnxGraphView
data class OnnxGraphView(val nodes: List<OnnxNodeView>, val initializers: Map<String, OnnxTensorView>, val inputs: List<OnnxValueInfoView>, val outputs: List<OnnxValueInfoView>, val valueInfos: Map<String, OnnxValueInfoView>)(source)
Minimal, proto-agnostic view of an ONNX graph. This keeps the importer independent of the generated proto surface while we wire in pbandk-generated classes.
Constructors
Link copied to clipboard
constructor(nodes: List<OnnxNodeView>, initializers: Map<String, OnnxTensorView>, inputs: List<OnnxValueInfoView>, outputs: List<OnnxValueInfoView>, valueInfos: Map<String, OnnxValueInfoView>)