go-ml-dev/nn

View on GitHub
mx/graph.go

Summary

Maintainability
A
0 mins
Test Coverage
B
80%

struct field symId should be symID
Open

    symId int
Severity: Minor
Found in mx/graph.go by golint

exported function Compose should have comment or be unexported
Open

func Compose(
Severity: Minor
Found in mx/graph.go by golint

exported type Loss should have comment or be unexported
Open

type Loss interface {
Severity: Minor
Found in mx/graph.go by golint

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

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

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

func (g *Graph) GetShapes(withLoss bool) map[string][]int {
Severity: Minor
Found in mx/graph.go by golint

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

func (g *Graph) Initialize(seed int, inite func(*NDArray, string)) {
Severity: Minor
Found in mx/graph.go by golint

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

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

exported type GraphIdentity should have comment or be unexported
Open

type GraphIdentity [20]byte // SHA1
Severity: Minor
Found in mx/graph.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.InitParam should have comment or be unexported
Open

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

method NextSymbolId should be NextSymbolID
Open

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

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

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

exported type Param should have comment or be unexported
Open

type Param struct {
Severity: Minor
Found in mx/graph.go by golint

exported type Graph should have comment or be unexported
Open

type Graph struct {
Severity: Minor
Found in mx/graph.go by golint

There are no issues that match your filters.

Category
Status