datamanager

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseModelManager

type BaseModelManager struct {
	LocalPathDir string
	// contains filtered or unexported fields
}

func (*BaseModelManager) Cook

func (mgr *BaseModelManager) Cook() error

func (*BaseModelManager) Run

func (mgr *BaseModelManager) Run(stopCh <-chan struct{})

type BaseModelParameters

type BaseModelParameters struct {
	Namespace    string
	ConfigName   string
	LocalPathDir string
}

type CheckpointManager

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

func (*CheckpointManager) Cook

func (mgr *CheckpointManager) Cook() error

func (*CheckpointManager) Run

func (mgr *CheckpointManager) Run(stopCh <-chan struct{})

type CheckpointParameters

type CheckpointParameters struct {
	NodeName           string
	Namespace          string
	ConfigName         string
	LocalPathDir       string
	LocalPathDirOnHost string
}

type Manager

type Manager interface {
	Cook() error

	Run(stopCh <-chan struct{})
}

func NewBaseModelManager

func NewBaseModelManager(params *BaseModelParameters) Manager

func NewCheckpointManager

func NewCheckpointManager(params *CheckpointParameters) Manager

func NewTrainingDataManager

func NewTrainingDataManager(params *TrainingDataParameters) Manager

type TrainingDataManager

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

func (*TrainingDataManager) Cook

func (mgr *TrainingDataManager) Cook() error

func (*TrainingDataManager) Run

func (mgr *TrainingDataManager) Run(stopCh <-chan struct{})

type TrainingDataParameters

type TrainingDataParameters struct {
	Namespace          string
	ConfigName         string
	NodeName           string
	LocalPathDir       string
	LocalPathDirOnHost string
}

Jump to

Keyboard shortcuts

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