params

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Params

type Params struct {
	// contains filtered or unexported fields
}

func New

func New() *Params

func (*Params) Add

func (params *Params) Add(ps *Params)

func (*Params) Copy

func (params *Params) Copy(ps *Params)

func (*Params) Get

func (params *Params) Get(name string) mat.Matrix

func (*Params) Init

func (params *Params) Init(name string, rows, cols int) mat.Matrix

func (*Params) InitWithData

func (params *Params) InitWithData(name string, rows, cols int, data []float64)

func (*Params) Load

func (params *Params) Load(from map[string]*pb.Dense)

func (*Params) Print

func (params *Params) Print()

func (*Params) Range

func (params *Params) Range(fn func(name string, dense mat.Matrix))

func (*Params) Scale

func (params *Params) Scale(n float64)

func (*Params) Size

func (params *Params) Size() int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL