- Preparing search index...
- The search index is not available
@shumai/shumai
- remote_runner(url: any): {
logs: (() => Promise<{
stderr: string;
stdout: string;
}>);
serve_model(file: any, port?: number): Promise<((t: Tensor) => Promise<any>)>;
shell(cmd: any): Promise<string>;
}
-
Returns {
logs: (() => Promise<{
stderr: string;
stdout: string;
}>);
serve_model(file: any, port?: number): Promise<((t: Tensor) => Promise<any>)>;
shell(cmd: any): Promise<string>;
}
-
logs: (() => Promise<{
stderr: string;
stdout: string;
}>)
-
- (): Promise<{
stderr: string;
stdout: string;
}>
-
Returns Promise<{
stderr: string;
stdout: string;
}>
-
serve_model:function
- serve_model(file: any, port?: number): Promise<((t: Tensor) => Promise<any>)>
-
Parameters
-
file: any
-
port: number = 3000
Returns Promise<((t: Tensor) => Promise<any>)>
-
shell:function
- shell(cmd: any): Promise<string>
-
Returns Promise<string>