Options
All
  • Public
  • Public/Protected
  • All
Menu

A Tensor. The standard input and output type.

Defined by a TypedArray and a shape.

Data is stored in standard order i. e. new Tensor(new Float32Array([1, 2, 3, 4]), [2, 2]) is comparable to [[1, 2], [3, 4]].

Hierarchy

  • Tensor

Index

Constructors

Properties

Constructors

constructor

Properties

data

shape

shape: number[]

Legend

  • Constructor
  • Property
  • Method
  • Static method

Generated using TypeDoc