UnrecognizedParams returns the list of parameter keys in params that are not defined in Section 6 (i.e., not effort or temperature). Reserved future parameters (Section 6.3) are returned here as well since they are not yet defined.
(params map[string]string)
| 357 | // Reserved future parameters (Section 6.3) are returned here as well since they |
| 358 | // are not yet defined. |
| 359 | func UnrecognizedParams(params map[string]string) []string { |
| 360 | var unknown []string |
| 361 | for k := range params { |
| 362 | if _, known := knownModelParams[k]; !known { |
| 363 | unknown = append(unknown, k) |
| 364 | } |
| 365 | } |
| 366 | return unknown |
| 367 | } |
| 368 | |
| 369 | // ─── Utility ────────────────────────────────────────────────────────────────── |
no outgoing calls