go-ml-dev/nn

View on GitHub
mx/filler.go

Summary

Maintainability
A
0 mins
Test Coverage
C
72%

exported method NDArray.Normal should have comment or be unexported
Open

func (a *NDArray) Normal(mean float32, scale float32) *NDArray {
Severity: Minor
Found in mx/filler.go by golint

exported method NDArray.Zeros should have comment or be unexported
Open

func (a *NDArray) Zeros() *NDArray {
Severity: Minor
Found in mx/filler.go by golint

exported method NDArray.Ones should have comment or be unexported
Open

func (a *NDArray) Ones() *NDArray {
Severity: Minor
Found in mx/filler.go by golint

exported method NDArray.Fill should have comment or be unexported
Open

func (a *NDArray) Fill(value float32) *NDArray {
Severity: Minor
Found in mx/filler.go by golint

if block ends with a return statement, so drop this else and outdent its block
Open

    } else {
Severity: Minor
Found in mx/filler.go by golint

exported method NDArray.Uniform should have comment or be unexported
Open

func (a *NDArray) Uniform(low float32, high float32) *NDArray {
Severity: Minor
Found in mx/filler.go by golint

exported method NDArray.Xavier should have comment or be unexported
Open

func (a *NDArray) Xavier(gaussian bool, factor int, magnitude float32) *NDArray {
Severity: Minor
Found in mx/filler.go by golint

There are no issues that match your filters.

Category
Status