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

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

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

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

Parameters

values: Float32Array
shape: Shape[R]