ml/

directory
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: Apache-2.0

Directories

Path Synopsis
Package context defines the Context and Variable types: Context organizes variablesMap and variablesMap manages the storage of values typically used as variablesMap.
Package context defines the Context and Variable types: Context organizes variablesMap and variablesMap manages the storage of values typically used as variablesMap.
checkpoints
Package checkpoints implements checkpoint management: saving and loading of checkpoints to file, or loading a checkpoint from an embedded checkpoint.
Package checkpoints implements checkpoint management: saving and loading of checkpoints to file, or loading a checkpoint from an embedded checkpoint.
ctxtest
Package ctxtest holds test utilities for packages that depend on context package.
Package ctxtest holds test utilities for packages that depend on context package.
initializers
Package initializers include several weight initializers, to be used with a context.Context.
Package initializers include several weight initializers, to be used with a context.Context.
Package datasets is a collection of utility datasets (train.Dataset) that can be combined for efficient preprocessing: `Take`, `InMemory`, `Parallel`, `MapWithGraphFn`, `Freeing`.
Package datasets is a collection of utility datasets (train.Dataset) that can be combined for efficient preprocessing: `Take`, `InMemory`, `Parallel`, `MapWithGraphFn`, `Freeing`.
Package layers holds a collection of common modeling layers.
Package layers holds a collection of common modeling layers.
activations
Package activations implements several common activations, and includes a generic Apply method to apply an activation by its type.
Package activations implements several common activations, and includes a generic Apply method to apply an activation by its type.
batchnorm
Package batchnorm implements a batch normalization layer, and associated tools.
Package batchnorm implements a batch normalization layer, and associated tools.
bsplines
Package bsplines provide a GoMLX version of github.com/gomlx/bsplines: it provides evaluation of bsplines curves, that can be used as layers.
Package bsplines provide a GoMLX version of github.com/gomlx/bsplines: it provides evaluation of bsplines curves, that can be used as layers.
fnn
Package fnn implements a generic FNN (Feedforward Neural Network) with various configurations.
Package fnn implements a generic FNN (Feedforward Neural Network) with various configurations.
kan
Package kan implements a generic Kolmogorov–Arnold Networks, as described in https://arxiv.org/pdf/2404.19756
Package kan implements a generic Kolmogorov–Arnold Networks, as described in https://arxiv.org/pdf/2404.19756
lstm
Package lstm provides a minimal "Long Short-Term Memory RNN" (LSTM) [1] implementation.
Package lstm provides a minimal "Long Short-Term Memory RNN" (LSTM) [1] implementation.
rational
Package rational implements "learnable rational functions".
Package rational implements "learnable rational functions".
regularizers
Package regularizers adds tools to facilitate add regularization to the weights learned.
Package regularizers adds tools to facilitate add regularization to the weights learned.
vnn
Package vnn implements the Vector Neuron Networks operators described in https://arxiv.org/abs/2104.12229
Package vnn implements the Vector Neuron Networks operators described in https://arxiv.org/abs/2104.12229
Package train holds tools to help run a training loop.
Package train holds tools to help run a training loop.
losses
Package losses have several standard losses that implement train.LossFn interface.
Package losses have several standard losses that implement train.LossFn interface.
metrics
Package metrics holds a library of metrics and defines
Package metrics holds a library of metrics and defines
optimizers
Package optimizers implements a collection of ML optimizers that can be used by train.Trainer, or by themselves.
Package optimizers implements a collection of ML optimizers that can be used by train.Trainer, or by themselves.
optimizers/cosineschedule
Package cosineschedule implements a cosine annealing schedule for the learning rate.
Package cosineschedule implements a cosine annealing schedule for the learning rate.

Jump to

Keyboard shortcuts

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