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

x/netsaur/packages/utilities/src/encoding/softmax.ts>transformSoftmaxMut

Powerful Powerful Machine Learning library with GPU, CPU and WASM backends
Latest
function transformSoftmaxMut
import { transformSoftmaxMut } from "https://deno.land/x/netsaur@0.4.2/packages/utilities/src/encoding/softmax.ts";

Convert a softmax output into one-hot vectors. Mutates the input.

Type Parameters

DT extends DataType

Parameters

targets: MatrixLike<DT>

Returns

Matrix<DT>