Change Password

Please enter the password.
Please enter the password. Between 8-64 characters. Not identical to your email address. Contain at least 3 of uppercase, lowercase, numbers, and special characters (such as @*&#).
Please enter the password.
Submit

Change Nickname

Current Nickname:
Submit

v4.0
Search
中文EN
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
    *
    公司名称不能为空
    *
    公司邮箱必须填写
    *
    你的名字必须填写
    *
    你的电话必须填写
    *
    你的电话必须填写