package caisar
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
A platform for characterizing the safety and robustness of artificial intelligence based software
Install
dune-project
Dependency
Authors
Maintainers
Sources
caisar-5.0.tbz
sha256=05024c094f68b82873f2c99c89d4f196049ac63b7d1d4f68ae1a1e3b08de7342
sha512=a26c724a19fca7c22a000367d1cd79c1e0474f373bf7265449928e55275ac44103190536dc8c76f5ac00a2a1897c3bd2ee06bb6f22140165079b72a27011e6df
doc/caisar.nir/Nir/Tensor/index.html
Module Nir.TensorSource
Immutable tensor module
Tensors are multidimensional arrays used to represent numerical such as a neural network paramters.
This library relies on Bigarray.Genarray to instanciante tensors.
get t idx returns the value in tensor t stored at coordinates idx. Throw an error if the coordinate is invalid.
set_idx t idx v sets value v for tensor t at idx. Throw an error if the coordinate is invalid.
create_1_float f returns an unidimentional tensor with one floating point value f.
create_1_int64 i returns an unidimentional tensor with one int64 value i.
create_const_float shape v returns a tensor of shape shape where each value is initialized to v.
Source
val reshape :
Shape.t ->
('a, 'b, Bigarray.c_layout) Bigarray.Genarray.t ->
('a, 'b, Bigarray.c_layout) Bigarray.Genarray.t sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page