algorithm

package
v0.0.0-...-890d392 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2025 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArgMax

func ArgMax(data []float32) int

func Max

func Max(a, b int) int

func Min

func Min(a, b int) int

func Multinomial

func Multinomial(probs []float32) int

func Product

func Product(shape []int) int

func Relu

func Relu(x float32) float32

func ReluDerivative

func ReluDerivative(x float32) float32

func Softmax

func Softmax(data []float32) []float32

func TopK

func TopK(data []float32, k int) ([]float32, []int)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL