go-ml-dev/nn

View on GitHub

Showing 365 of 365 total issues

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

func (ly Flatten) Combine(a *mx.Symbol) *mx.Symbol {
Severity: Minor
Found in dense.go by golint

exported type Const should have comment or be unexported
Open

type Const struct {
Severity: Minor
Found in inite.go by golint

exported type L2Loss should have comment or be unexported
Open

type L2Loss struct{ Num int }
Severity: Minor
Found in loss.go by golint

exported type LcosLoss should have comment or be unexported
Open

type LcosLoss struct{ Num int }
Severity: Minor
Found in loss.go by golint

exported type LossFunc should have comment or be unexported
Open

type LossFunc func(*mx.Symbol) *mx.Symbol
Severity: Minor
Found in loss.go by golint

exported function ImperativeInvokeInOut1 should have comment or be unexported
Open

func ImperativeInvokeInOut1(op MxnetOp, h NDArrayHandle, o NDArrayHandle, a ...interface{}) {
Severity: Minor
Found in mx/capi/capi.go by golint

exported method MxnetKey.Value should have comment or be unexported
Open

func (k MxnetKey) Value() string {
Severity: Minor
Found in mx/capi/enums.go by golint

exported method Dtype.Size should have comment or be unexported
Open

func (tp Dtype) Size() int {
Severity: Minor
Found in mx/dtype.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 Graph.Release should have comment or be unexported
Open

func (g *Graph) Release() {
Severity: Minor
Found in mx/graph.go by golint

exported method Graph.LogSummary should have comment or be unexported
Open

func (g *Graph) LogSummary(withLoss bool) {
Severity: Minor
Found in mx/summary.go by golint

exported type Inite should have comment or be unexported
Open

type Inite interface {
Severity: Minor
Found in mx/symbol.go by golint

exported function NE should have comment or be unexported
Open

func NE(a *Symbol, rv interface{}) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Pow should have comment or be unexported
Open

func Pow(lv interface{}, rv interface{}) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Softmax should have comment or be unexported
Open

func Softmax(a *Symbol, axis ...int) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function SoftmaxCrossEntropy should have comment or be unexported
Open

func SoftmaxCrossEntropy(a, b *Symbol, axis ...int) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function SoftReLU should have comment or be unexported
Open

func SoftReLU(a *mx.Symbol) *mx.Symbol {
Severity: Minor
Found in activation.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

exported function Concat should have comment or be unexported
Open

func Concat(b ...Block) Block {
Severity: Minor
Found in block.go by golint

exported function TransStack should have comment or be unexported
Open

func TransStack(b ...Block) Block {
Severity: Minor
Found in block.go by golint
Severity
Category
Status
Source
Language