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 ModelOutputType ¶
type ModelOutputType int
const ( AbsPower ModelOutputType = iota + 1 AbsModelWeight AbsComponentPower AbsComponentModelWeight DynPower DynModelWeight DynComponentPower DynComponentModelWeight )
func (ModelOutputType) String ¶
func (s ModelOutputType) String() string
Click to show internal directories.
Click to hide internal directories.