Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netsaur/src/core/tensor/tensor.ts

Powerful machine learning, accelerated by WebGPU
Go to Latest
import * as netsaur from "https://deno.land/x/netsaur@0.2.2/src/core/tensor/tensor.ts";

Classes

A generic N-dimensional tensor.

Functions

Create an nth rank tensor from the given nthD array and shape.

Create a 1D tensor from the given 1D array.

Create a 2D tensor from the given 2D array.

Create a 3D tensor from the given 3D array.

Create a 4D tensor from the given 4D array.

Create a 5D tensor from the given 5D array.

Create a 6D tensor from the given 6D array.

Interfaces

TensorData is the data type for the Tensor based on the backend.

Type Aliases

Tensor for the CPU backend.

Tensor for the GPU backend.