tfkeras

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Models = []Model{
	MobileNetV2,
	ResNet50,
}
View Source
var Optimizers = []KFOptimizer{
	SyncSgd,
	SyncSgdNccl,
}

Functions

This section is empty.

Types

type Experiment

type Experiment struct {
	Model     Model
	BatchSize int

	WarmupBatches   int
	NumIters        int
	NumBatchPerIter int

	KFOptimizer KFOptimizer
}

func Combination

func Combination(models []Model, optimizers []KFOptimizer, batchSizes []int) []Experiment

func Default

func Default() []Experiment

func (Experiment) Job

func (e Experiment) Job(kfRoot string, strategy base.Strategy, hl plan.HostList, pr plan.PortRange, logDir string) job.Job

type KFOptimizer

type KFOptimizer string
const (
	SyncSgd     KFOptimizer = `sync-sgd`
	SyncSgdNccl KFOptimizer = `sync-sgd-nccl`
)

type Model

type Model string
const (
	MobileNetV2 Model = `MobileNetV2`
	ResNet50    Model = `ResNet50`
)

Jump to

Keyboard shortcuts

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