# gizai:onnx/decode

ONNX bytes to a graph.

```gizlang
import * as Decode from "gizai:onnx/decode";
```

## Functions

### `nodeOf`

```gizlang
function nodeOf(w: Wire): Node throws string
```

The NodeProto at `w`.

Effects: fail.

### `decode`

```gizlang
function decode(data: bytes): Model throws string
```

The gizai:ml model of an ONNX file: one ai.onnx.ml LinearRegressor, LinearClassifier, TreeEnsembleRegressor or
TreeEnsembleClassifier. Its algorithm is "onnx".

Effects: fail.

