go-ml-dev/nn

View on GitHub
mx/dimension.go

Summary

Maintainability
A
0 mins
Test Coverage
F
57%

comment on exported type Dimension should be of the form "Dimension ..." (with optional leading article)
Open

// Array Dimension
Severity: Minor
Found in mx/dimension.go by golint

exported method Dimension.Empty should have comment or be unexported
Open

func (dim Dimension) Empty() bool {
Severity: Minor
Found in mx/dimension.go by golint

exported method Dimension.Skip should have comment or be unexported
Open

func (dim Dimension) Skip(n int) Dimension {
Severity: Minor
Found in mx/dimension.go by golint

exported const DimRow should have comment (or a comment on this block) or be unexported
Open

    DimRow    = 0
Severity: Minor
Found in mx/dimension.go by golint

comment on exported const MaxDimensionCount should be of the form "MaxDimensionCount ..."
Open

// do not change this constant
Severity: Minor
Found in mx/dimension.go by golint

exported method Dimension.Like should have comment or be unexported
Open

func (dim Dimension) Like(b Dimension) Dimension {
Severity: Minor
Found in mx/dimension.go by golint

exported method Dimension.Slice should have comment or be unexported
Open

func (dim Dimension) Slice() []int {
Severity: Minor
Found in mx/dimension.go by golint

exported function DimensionFromString should have comment or be unexported
Open

func DimensionFromString(s string) (Dimension, error) {
Severity: Minor
Found in mx/dimension.go by golint

comment on exported method Dimension.Good should be of the form "Good ..."
Open

// check array dimension
Severity: Minor
Found in mx/dimension.go by golint

comment on exported method Dimension.SizeOf should be of the form "SizeOf ..."
Open

// sizeof whole array data
Severity: Minor
Found in mx/dimension.go by golint

comment on exported method Dimension.Total should be of the form "Total ..."
Open

// total elements in the whole array
Severity: Minor
Found in mx/dimension.go by golint

comment on exported function Dim should be of the form "Dim ..."
Open

// creates new dimension object
Severity: Minor
Found in mx/dimension.go by golint

exported method Dimension.Push should have comment or be unexported
Open

func (dim Dimension) Push(i int) Dimension {
Severity: Minor
Found in mx/dimension.go by golint

There are no issues that match your filters.

Category
Status