Crate tfjs_sys

Source

Structs§

  • A Tensor object represents an immutable, multidimensional array of numbers that has a shape and a data type.
  • A mutable object, similar to Tensor, that allows users to set values at locations before converting to an immutable Tensor.
  • A mutable Tensor, useful for persisting state, e.g. for training.

Functions§

  • Creates an empty TensorBuffer with the specified shape and dtype.
  • Creates rank-0 Tensor (scalar) with the provided value and dtype.
  • Creates a Tensor with the provided values, shape and dtype.