go-ml-dev/nn

View on GitHub
mx/symbol.go

Summary

Maintainability
A
0 mins
Test Coverage
F
36%

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

    OpVar_    capi.MxnetOp = -1
Severity: Minor
Found in mx/symbol.go by golint

don't use underscores in Go names; const OpInput_ should be OpInput
Open

    OpInput_  capi.MxnetOp = -2
Severity: Minor
Found in mx/symbol.go by golint

exported function GE should have comment or be unexported
Open

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

exported function SymbolCast should have comment or be unexported
Open

func SymbolCast(i interface{}) (*Symbol, error) {
Severity: Minor
Found in mx/symbol.go by golint

exported function Sub should have comment or be unexported
Open

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

exported function Greater should have comment or be unexported
Open

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

exported function BcastSub should have comment or be unexported
Open

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

exported function Link should have comment or be unexported
Open

func Link(name string) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Ref should have comment or be unexported
Open

func Ref(name string, a ...*Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function BlockGrad should have comment or be unexported
Open

func BlockGrad(s *Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Abs should have comment or be unexported
Open

func Abs(a *Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Square should have comment or be unexported
Open

func Square(a *Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

don't use underscores in Go names; const OpBound_ should be OpBound
Open

    OpBound_  capi.MxnetOp = -10
Severity: Minor
Found in mx/symbol.go by golint

exported function Sum1 should have comment or be unexported
Open

func Sum1(a *Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

don't use underscores in Go names; type _hidden_nograd_ should be _hiddenNograd
Open

type _hidden_nograd_ struct{}
Severity: Minor
Found in mx/symbol.go by golint

exported function GenericOp2 should have comment or be unexported
Open

func GenericOp2(op, opScalar, opScalarR capi.MxnetOp, lv interface{}, rv interface{}) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Div should have comment or be unexported
Open

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

exported function Xor should have comment or be unexported
Open

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

exported function SoftmaxOutput should have comment or be unexported
Open

func SoftmaxOutput(a *Symbol, l *Symbol, multiOutput bool) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported type Symbol should have comment or be unexported
Open

type Symbol struct {
Severity: Minor
Found in mx/symbol.go by golint

exported function EQ should have comment or be unexported
Open

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

exported function Sqrt should have comment or be unexported
Open

func Sqrt(a *Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Pick should have comment or be unexported
Open

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

don't use underscores in Go names; const OpLink_ should be OpLink
Open

    OpLink_   capi.MxnetOp = -12
Severity: Minor
Found in mx/symbol.go by golint

don't use underscores in Go names; const OpVar_ should be OpVar
Open

    OpVar_    capi.MxnetOp = -1
Severity: Minor
Found in mx/symbol.go by golint

don't use underscores in Go names; const OpRef_ should be OpRef
Open

    OpRef_    capi.MxnetOp = -8
Severity: Minor
Found in mx/symbol.go by golint

exported function GenericOp1 should have comment or be unexported
Open

func GenericOp1(op, opScalar capi.MxnetOp, l *Symbol, rv interface{}) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function And should have comment or be unexported
Open

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

exported function BcastMul should have comment or be unexported
Open

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

exported function LogCosh should have comment or be unexported
Open

func LogCosh(a *Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Var should have comment or be unexported
Open

func Var(name string, opt ...interface{}) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function MakeLoss should have comment or be unexported
Open

func MakeLoss(s *Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function LogSoftmax should have comment or be unexported
Open

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

exported function Or should have comment or be unexported
Open

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

exported function Value should have comment or be unexported
Open

func Value(name string, a ...float32) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Group should have comment or be unexported
Open

func Group(a ...*Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Minus should have comment or be unexported
Open

func Minus(a *Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function SoftmaxActivation should have comment or be unexported
Open

func SoftmaxActivation(a *Symbol, channel bool) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function SumXl should have comment or be unexported
Open

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

exported function Cosh should have comment or be unexported
Open

func Cosh(a *Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported method Symbol.SetOutput should have comment or be unexported
Open

func (s *Symbol) SetOutput(on bool) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Output should have comment or be unexported
Open

func Output(a *Symbol, name string) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Sum should have comment or be unexported
Open

func Sum(a *Symbol, axis ...int) *Symbol {
Severity: Minor
Found in mx/symbol.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

don't use underscores in Go names; const OpScalar_ should be OpScalar
Open

    OpScalar_ capi.MxnetOp = -4
Severity: Minor
Found in mx/symbol.go by golint

don't use underscores in Go names; const OpGroup_ should be OpGroup
Open

    OpGroup_  capi.MxnetOp = -7
Severity: Minor
Found in mx/symbol.go by golint

exported function Lesser should have comment or be unexported
Open

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

exported function Mean should have comment or be unexported
Open

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

don't use underscores in Go names; const OpNogVar_ should be OpNogVar
Open

    OpNogVar_ capi.MxnetOp = -5
Severity: Minor
Found in mx/symbol.go by golint

don't use underscores in Go names; const OpOutput_ should be OpOutput
Open

    OpOutput_ capi.MxnetOp = -9
Severity: Minor
Found in mx/symbol.go by golint

exported function Mul should have comment or be unexported
Open

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

exported function BcastDiv should have comment or be unexported
Open

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

exported function SumNan should have comment or be unexported
Open

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

exported function Input should have comment or be unexported
Open

func Input(..._hidden_input_) *Symbol { return &Symbol{Op: OpInput_} }
Severity: Minor
Found in mx/symbol.go by golint

exported function Depend should have comment or be unexported
Open

func Depend(a ...*Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Add should have comment or be unexported
Open

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

exported function Dot should have comment or be unexported
Open

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

exported function LE should have comment or be unexported
Open

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

exported function BcastAdd should have comment or be unexported
Open

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

exported function Concat should have comment or be unexported
Open

func Concat(a ...*Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Sigmoid should have comment or be unexported
Open

func Sigmoid(a *Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Ones should have comment or be unexported
Open

func Ones(dim ...int) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Zeros should have comment or be unexported
Open

func Zeros(dim ...int) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Dropout should have comment or be unexported
Open

func Dropout(a *Symbol, rate float32) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function ReshapeLike should have comment or be unexported
Open

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

exported function Stack should have comment or be unexported
Open

func Stack(a ...*Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Pool should have comment or be unexported
Open

func Pool(a *Symbol, kernel, stride, padding Dimension, ceil bool, maxpool bool) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Channel should have comment or be unexported
Open

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

exported function BatchNorm should have comment or be unexported
Open

func BatchNorm(a, gamma, beta, rmean, rvar *Symbol, mom, eps float32, useGlobalStats bool, axis ...int) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function SwapAxes should have comment or be unexported
Open

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

exported function Sin should have comment or be unexported
Open

func Sin(a *Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function MeanXl should have comment or be unexported
Open

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

exported function Conv should have comment or be unexported
Open

func Conv(a, weight, bias *Symbol, channels int, kernel, stride, padding Dimension, groups bool, layout string) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function ZerosLike should have comment or be unexported
Open

func ZerosLike(a *Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

don't use underscores in Go names; const OpDepend_ should be OpDepend
Open

    OpDepend_ capi.MxnetOp = -11
Severity: Minor
Found in mx/symbol.go by golint

exported function Nograd should have comment or be unexported
Open

func Nograd(_hidden_nograd_) {}
Severity: Minor
Found in mx/symbol.go by golint

exported method Symbol.SetName should have comment or be unexported
Open

func (s *Symbol) SetName(name string) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Bound should have comment or be unexported
Open

func Bound(a ...*Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Not should have comment or be unexported
Open

func Not(a *Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Activation should have comment or be unexported
Open

func Activation(a *Symbol, actType ActivationType) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Flatten should have comment or be unexported
Open

func Flatten(a *Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function MeanKd should have comment or be unexported
Open

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

exported function HardSigmoid should have comment or be unexported
Open

func HardSigmoid(a *Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function OnesLike should have comment or be unexported
Open

func OnesLike(a *Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported type ActivationType should have comment or be unexported
Open

type ActivationType int
Severity: Minor
Found in mx/symbol.go by golint

exported function Tanh should have comment or be unexported
Open

func Tanh(a *Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Stack1 should have comment or be unexported
Open

func Stack1(a ...*Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Slice should have comment or be unexported
Open

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

exported function FullyConnected should have comment or be unexported
Open

func FullyConnected(a, weight, bias *Symbol, size int, flatten bool) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

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

    ActivReLU ActivationType = iota
Severity: Minor
Found in mx/symbol.go by golint

exported function Exp should have comment or be unexported
Open

func Exp(a *Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Transpose should have comment or be unexported
Open

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

exported function Normal should have comment or be unexported
Open

func Normal(loc, scale float32, dim ...int) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

don't use underscores in Go names; type _hidden_input_ should be _hiddenInput
Open

type _hidden_input_ struct{}
Severity: Minor
Found in mx/symbol.go by golint

exported function Log should have comment or be unexported
Open

func Log(a *Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function ReLU should have comment or be unexported
Open

func ReLU(a *Symbol) *Symbol {
Severity: Minor
Found in mx/symbol.go by golint

exported function Reshape should have comment or be unexported
Open

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

There are no issues that match your filters.

Category
Status