package caisar

  1. Overview
  2. Docs
A platform for characterizing the safety and robustness of artificial intelligence based software

Install

dune-project
 Dependency

Authors

Maintainers

Sources

caisar-0.2.1.tbz
sha256=a9a704f1e4e255eee2e9b0333e6c7b0e3e002293ce0068faa1c3d7c18d209997
sha512=7e35bd5527f82c5c6f62452c88e2971907a4eab89fd4efb699b99eb95f730d752908d51c47e104dcff5ceb58cf24c87d3399cb42e09a47691440927463168abb

doc/caisar.nnet/Nnet/index.html

Module NnetSource

Sourcetype t = private {
  1. n_layers : int;
    (*

    Number of layers.

    *)
  2. n_inputs : int;
    (*

    Number of inputs.

    *)
  3. n_outputs : int;
    (*

    Number of outputs.

    *)
  4. max_layer_size : int;
    (*

    Maximum layer size.

    *)
  5. layer_sizes : int list;
    (*

    Size of each layer.

    *)
  6. min_input_values : float list option;
    (*

    Minimum values of inputs.

    *)
  7. max_input_values : float list option;
    (*

    Maximum values of inputs.

    *)
  8. mean_values : (float list * float) option;
    (*

    Mean values of inputs and one value for all outputs.

    *)
  9. range_values : (float list * float) option;
    (*

    Range values of inputs and one value for all outputs.

    *)
  10. weights_biases : float list list;
    (*

    All weights and biases of NNet model.

    *)
}

NNet model metadata.

Sourceval parse : ?permissive:bool -> string -> (t, string) Result.t

Parse an NNet file.

  • parameter permissive

    false by default. When set, parsing does not fail on non available information, which are set to None instead.

OCaml

Innovation. Community. Security.