Skip to main content

Module collections

Module collections 

Source
Expand description

Containers shared across languages: Array, List, Map, Shape and Tensor.

Modulesยง

array
Array, an immutable sequence with copy-on-write updates.
list
List, a mutable sequence whose handles all see each change.
map
Map, an immutable hash map whose lookups run in the FFI runtime.
shape
Shape, the immutable dimensions of a tensor.
tensor
Tensor, an owned n-dimensional array, and TensorView, a borrowed one.