package caisar

  1. Overview
  2. Docs
type t = private {
  1. n_inputs : int;
    (*

    Number of inputs.

    *)
  2. n_outputs : int;
    (*

    Number of outputs.

    *)
  3. nir : (Nir.Ngraph.t, string) Result.t;
    (*

    Intermediate representation.

    *)
}

ONNX model metadata and intermediate representation.

val from_file : string -> (t, string) Result.t

Parse an ONNX file.

OCaml

Innovation. Community. Security.