* Get parameters in the form of prefix_i * * @param prefix The parameter prefix. * @param numParams Number of parameters. * @returns
(prefix: string, numParams: number)
| 1204 | * @returns |
| 1205 | */ |
| 1206 | getParamsFromCache(prefix: string, numParams: number): TVMObject { |
| 1207 | return (this.ctx.paramModuleFromCache( |
| 1208 | prefix, new Scalar(numParams, "int32")) as Module).getFunction("get_params")(); |
| 1209 | } |
| 1210 | |
| 1211 | /** |
| 1212 | * Get parameters based on parameter names provided |
nothing calls this directly
no test coverage detected