Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Tensor

Tensor represents the output of an operation node in the graph. Tensors have no data associated with them, but maintain a shape array to determine operation compatibility. All graph methods that create graph operations return Tensor objects, which can be thought of as 'handles' to operations.

Hierarchy

  • Tensor

Index

Constructors

Properties

Constructors

constructor

  • new Tensor(shape: number[]): Tensor

Properties

id

id: number

node

node: Node

shape

shape: number[]

The shape of this tensor, in dimension sizes.

Generated using TypeDoc