package caisar

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

Install

Dune Dependency

Authors

Maintainers

Sources

caisar-2.0.tbz
sha256=3d24d2940eed0921acba158a8970687743c401c6a99d0aac8ed6dcfedca1429c
sha512=0b4484c0e080b8ba22722fe9d5665f9015ebf1648ac89c566a978dd54e3e061acb63edd92e078eed310e26f3e8ad2c48f3682a24af2acb1f0633da12f7966a38

doc/caisar.nir/Nir/Gentensor/index.html

Module Nir.GentensorSource

Sourcetype t =
  1. | Float of (float, Bigarray.float64_elt) Tensor.t
  2. | Int64 of (int64, Bigarray.int64_elt) Tensor.t
Sourceval create_1_float : float -> t
Sourceval create_1_int64 : int64 -> t
Sourceval of_float_array : ?shape:Shape.t -> float array -> t

of_float_array a shape returns a Tensor with data contained in l and shape shape. If no shape is given, the resulting tensor shape is 1-dimensional, equals to the length of l.

Sourceval of_int64_array : ?shape:Shape.t -> int64 array -> t

of_int64_array a shape returns a Tensor with data contained in l and shape shape. If no shape is given, the resulting tensor shape is 1-dimensional, equals to the length of l.

Sourceval shape : t -> Shape.t
OCaml

Innovation. Community. Security.