gizai:onnx/decode
ONNX bytes to a graph.
import * as Decode from "gizai:onnx/decode";Functions
nodeOf
function nodeOf(w: Wire): Node throws stringThe NodeProto at w.
Effects: fail.
decode
function decode(data: bytes): Model throws stringThe gizai:ml model of an ONNX file: one ai.onnx.ml LinearRegressor, LinearClassifier, TreeEnsembleRegressor or TreeEnsembleClassifier. Its algorithm is "onnx".
Effects: fail.