[][src]Crate tfjs_sys

Structs

Tensor

A Tensor object represents an immutable, multidimensional array of numbers that has a shape and a data type.

TensorBuffer

A mutable object, similar to Tensor, that allows users to set values at locations before converting to an immutable Tensor.

Variable

A mutable Tensor, useful for persisting state, e.g. for training.

Functions

buffer

Creates an empty TensorBuffer with the specified shape and dtype.

scalar

Creates rank-0 Tensor (scalar) with the provided value and dtype.

tensor

Creates a Tensor with the provided values, shape and dtype.