Change Password

Please enter the password
Please enter the password Length between [8, 64] ASCII characters Not identical to your email address At least 3 character types from uppercase, lowercase, numbers, and single-byte character symbols
Please enter the password
Submit

Change Nickname

Current Nickname:
Submit
Search
v4.0
    v4.0

    Algorithm Management

    import (
       ultipa "ultipa-go-sdk/rpc"
       "ultipa-go-sdk/sdk/printers"
       "ultipa-go-sdk/sdk/configuration"
       "ultipa-go-sdk/sdk"
    )
    

    Install Algorithm

    func InstallAlgo() {
       config := configuration.NewUltipaConfig(&configuration.UltipaConfig{
          Hosts:        []string{"host:port"},
          Username:     "root",
          Password:     "root",
          DefaultGraph: "default",
       })
       client, err := sdk.NewUltipa(config)
       resp, err := client.InstallAlgo("path/xxx.so", "path/xxx.yml", nil)
       if resp.Status.ErrorCode != ultipa.ErrorCode_SUCCESS {
          printers.PrintError(resp.Status.Msg)
       }
       if err != nil {
          printers.PrintErrAndExist(err.Error())
       }
    }
    

    Uninstall Algorithm

    func UninstallAlgo() {
       config := configuration.NewUltipaConfig(&configuration.UltipaConfig{
          Hosts:        []string{"host:port"},
          Username:     "root",
          Password:     "root",
          DefaultGraph: "default",
       })
       client, err := sdk.NewUltipa(config)
       resp, err := client.UninstallAlgo("AlgoName", nil)
       if resp.Status.ErrorCode != ultipa.ErrorCode_SUCCESS {
          printers.PrintError(resp.Status.Msg)
       }
       if err != nil {
          printers.PrintErrAndExist(err.Error())
       }
    }
    
    Please complete the following information to download this book
    *
    公司名称不能为空
    *
    公司邮箱必须填写
    *
    你的名字必须填写
    *
    你的电话必须填写
    *
    你的电话必须填写