MCPcopy Create free account
hub / github.com/sql-machine-learning/sqlflow / resolveParams

Function resolveParams

go/codegen/tensorflow/codegen.go:448–456  ·  view source on GitHub ↗

make a exported function in outer package

(attrs map[string]interface{}, group string)

Source from the content-addressed store, hash-verified

446
447// make a exported function in outer package
448func resolveParams(attrs map[string]interface{}, group string) map[string]interface{} {
449 sp := make(map[string]interface{})
450 for k, v := range attrs {
451 if strings.HasPrefix(k, group) {
452 sp[k[len(group):]] = v
453 }
454 }
455 return sp
456}

Callers 2

ExplainFunction · 0.70
EvaluateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected