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.1.tbz
sha256=1b25c8668d428bcfc83c95147b6e45ff0a3bfa05ecd11369d12e963e29819e2e
sha512=edc7d7c0e96802811de3cb1caa3d14cc3d867ee7310748e8188eca9246a362549545c7816c8037511931dc4b7770b5ccc11b0d03abe8843b7c4db7880bf8e1fd

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.