go-ml-dev/nn

View on GitHub
batchnorm.go

Summary

Maintainability
A
0 mins
Test Coverage
A
90%

exported type BatchNorm should have comment or be unexported
Open

type BatchNorm struct {
Severity: Minor
Found in batchnorm.go by golint

don't use underscores in Go names; var running_mean should be runningMean
Open

    running_mean := mx.Var(ns+"_rmean", mx.Nograd, Const{0})
Severity: Minor
Found in batchnorm.go by golint

exported method BatchNorm.Combine should have comment or be unexported
Open

func (ly BatchNorm) Combine(in *mx.Symbol) *mx.Symbol {
Severity: Minor
Found in batchnorm.go by golint

don't use underscores in Go names; var running_var should be runningVar
Open

    running_var := mx.Var(ns+"_rvar", mx.Nograd, Const{1})
Severity: Minor
Found in batchnorm.go by golint

There are no issues that match your filters.

Category
Status