go-ml-dev/nn

View on GitHub

Showing 365 of 365 total issues

exported function NewNDArrayHandle should have comment or be unexported
Open

func NewNDArrayHandle(devType int, devNo int, dtype int, shape [4]int, slen int) NDArrayHandle {
Severity: Minor
Found in mx/capi/capi.go by golint

exported const WithOutputs should have comment or be unexported
Open

const WithOutputs = 2
Severity: Minor
Found in mx/capi/capi.go by golint

don't use underscores in Go names; var out_sd should be outSd
Open

        in_sd, out_sd, aux_sd **C.uint
Severity: Minor
Found in mx/capi/capi.go by golint

exported function FillInfo should have comment or be unexported
Open

func FillInfo(nfo *NDArrayInfo) {
Severity: Minor
Found in mx/capi/capi.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 NDArray.Ones should have comment or be unexported
Open

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

exported function RandomSeed should have comment or be unexported
Open

func RandomSeed(seed int) {
Severity: Minor
Found in mx/mxnet.go by golint

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

func (a *NDArray) Values(dtype Dtype) interface{} {
Severity: Minor
Found in mx/ndarray.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

exported function Stack should have comment or be unexported
Open

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

exported method L1Loss.Loss should have comment or be unexported
Open

func (loss L1Loss) Loss(out *mx.Symbol) *mx.Symbol {
Severity: Minor
Found in loss.go by golint

exported const ModelPartParams should have comment or be unexported
Open

const ModelPartParams = "params.bin.xz"
Severity: Minor
Found in memorize.go by golint

exported const MaxCacheArgsCount should have comment or be unexported
Open

const MaxCacheArgsCount = 128 * 2
Severity: Minor
Found in mx/capi/args.go by golint

exported var LibVersion should have comment or be unexported
Open

var LibVersion = 0
Severity: Minor
Found in mx/capi/capi.go by golint

exported const ArgumentsNames should have comment or be unexported
Open

const ArgumentsNames = 0
Severity: Minor
Found in mx/capi/capi.go by golint

don't use underscores in Go names; var shape_at should be shapeAt
Open

    shape_at := func(i int, d *C.uint, s **C.uint) []int {
Severity: Minor
Found in mx/capi/capi.go by golint

exported function Bind should have comment or be unexported
Open

func Bind(symbol SymbolHandle, devType, devNo int, args []NDArrayHandle, grads []NDArrayHandle, aux []NDArrayHandle) ExecutorHandle {
Severity: Minor
Found in mx/capi/capi.go by golint
Severity
Category
Status
Source
Language