net

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Net

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

func New

func New() *Net

func (*Net) Add

func (n *Net) Add(layers ...layer.Layer)

func (*Net) Layers

func (n *Net) Layers() []layer.Layer

func (*Net) Load added in v1.0.0

func (n *Net) Load(dir string) error

func (*Net) ParamCount

func (n *Net) ParamCount() uint64

func (*Net) Params

func (n *Net) Params() []*tensor.Tensor

func (*Net) ReadFrom added in v1.0.0

func (n *Net) ReadFrom(r io.Reader) (int64, error)

func (*Net) Save added in v1.0.0

func (n *Net) Save(dir string) error

func (*Net) WriteTo added in v1.0.0

func (n *Net) WriteTo(w io.Writer) (int64, error)

Jump to

Keyboard shortcuts

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