MCPcopy Create free account
hub / github.com/cel-expr/cel-go / newCompiledModelSet

Function newCompiledModelSet

common/cost/version.go:79–84  ·  view source on GitHub ↗
(models []OverloadModel)

Source from the content-addressed store, hash-verified

77}
78
79func newCompiledModelSet(models []OverloadModel) *compiledModelSet {
80 return &compiledModelSet{
81 models: models,
82 err: ValidateOverloadModels(models...),
83 }
84}
85
86func (cm *compiledModelSet) estimators() map[string]FunctionEstimator {
87 cm.estOnce.Do(func() {

Callers 1

ModelFunction · 0.85

Calls 1

ValidateOverloadModelsFunction · 0.85

Tested by

no test coverage detected