TorchLean API

NN.Spec.Module.Gmm

Gaussian mixture model (GMM) as an NNModuleSpec #

The GMM model spec defines the math for mixture weights, means, and covariances. This file adds a small NNModuleSpec wrapper so the GMM can be composed/exported.

def Spec.GMMModuleSpec {α : Type} [Context α] {nComponents nFeatures : } (m : GMMSpec α nComponents nFeatures) :

GMM module specification following NNModuleSpec.

Instances For