model

package
v0.0.0-...-8a61e0c Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const LOAD_WEIGHTS_ADDRESS int = 0

Variables

This section is empty.

Functions

func CreateNetwork

func CreateNetwork(chainConnection string, storageConnection string, storageType string, privateKey string, redisPassword string) (chain ch.Chain, store st.Storage, err error)

func Deploy

func Deploy(configuration string, weights string, scripts string, store storage.Storage, ch chain.Chain, params common.Hyperparameters) (modelID common.ModelIdentifier, err error)

func EnableDebug

func EnableDebug(b bool)

func ParseCLIConfig

func ParseCLIConfig() (chain ch.Chain, store st.Storage, modelID common.ModelIdentifier, err error)

Types

type Model

type Model interface {
	Iterate() (err error)
	Aggregate() (err error)
	Evaluate() (evaluation training.EvaluationResults, err error)
	Epoch() (epoch int, err error)
	State() (state uint8, err error)
}

func NewModel

func NewModel(ch chain.Chain, st storage.Storage, mlf training.MLFramework, modelID common.ModelIdentifier) (Model, error)

Directories

Path Synopsis
tensorflow
This package provides an abstraction to tensorflow training which is carried out in python rather than go.
This package provides an abstraction to tensorflow training which is carried out in python rather than go.

Jump to

Keyboard shortcuts

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