Versions in this module Expand all Collapse all v0 v0.5.3 Jan 19, 2023 Changes in this version + func RunningAvg(out *etensor.Float32, act, src etensor.Tensor, tau float32) + type RF struct + Name string + NormRF etensor.Float32 + RF etensor.Float32 + SumProd etensor.Float32 + SumSrc etensor.Float32 + func (af *RF) Add(act, src etensor.Tensor, thr float32) + func (af *RF) Avg() + func (af *RF) Init(name string, act, src etensor.Tensor) + func (af *RF) Norm() + func (af *RF) Reset() + type RFs struct + NameMap map[string]int + RFs []*RF + func (af *RFs) Add(name string, act, src etensor.Tensor, thr float32) error + func (af *RFs) AddRF(name string, act, src etensor.Tensor) *RF + func (af *RFs) Avg() + func (af *RFs) Norm() + func (af *RFs) RFByName(name string) *RF + func (af *RFs) RFByNameTry(name string) (*RF, error) + func (af *RFs) Reset()