types

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ModelOutputTypeConverter = []string{
		"AbsPower", "AbsModelWeight", "AbsComponentPower", "AbsComponentModelWeight", "DynPower", "DynModelWeight", "DynComponentPower", "DynComponentModelWeight",
	}
)

Functions

func IsComponentType

func IsComponentType(outputType ModelOutputType) bool

func IsWeightType

func IsWeightType(outputType ModelOutputType) bool

Types

type ModelConfig

type ModelConfig struct {
	UseEstimatorSidecar bool
	SelectedModel       string
	SelectFilter        string
	InitModelURL        string
}

type ModelOutputType

type ModelOutputType int
const (
	AbsPower ModelOutputType = iota + 1
	AbsModelWeight
	AbsComponentPower
	AbsComponentModelWeight
	DynPower
	DynModelWeight
	DynComponentPower
	DynComponentModelWeight
)

func (ModelOutputType) String

func (s ModelOutputType) String() string

Jump to

Keyboard shortcuts

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