Versions in this module Expand all Collapse all v0 v0.5.3 Jan 19, 2023 Changes in this version + type SoftMax struct + Inputs []float32 + Layers []emer.Layer + Lrate float32 + NCats int + NInputs int + Sorted []int + Targ int + Units []Unit + ValsTsrs map[string]*etensor.Float32 + Weights etensor.Float32 + func (sm *SoftMax) Back() + func (sm *SoftMax) Decode(varNm string) int + func (sm *SoftMax) Forward() + func (sm *SoftMax) Init(ncats, ninputs int) + func (sm *SoftMax) InitLayer(ncats int, layers []emer.Layer) + func (sm *SoftMax) Input(varNm string) + func (sm *SoftMax) Sort() + func (sm *SoftMax) Train(targ int) + func (sm *SoftMax) ValsTsr(name string) *etensor.Float32 + type Unit struct + Act float32 + Exp float32 + Net float32