Function remote_runner

  • Parameters

    • url: any

    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
      • Parameters

        • file: any
        • port: number = 3000

        Returns Promise<((t: Tensor) => Promise<any>)>

    • shell:function

Generated using TypeDoc