package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Dec 3, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 20
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func DownloadFile(ctx context.Context, tenant, user, projectName, modelName, versionName string, ...) error
-
func UploadFile(ctx context.Context, tenant, user, projectName, modelName, versionName string) error
-
type ChunkInfo
-
type Model
DownloadFile downloads the model file from harbor
UploadFile uploads the model file to harbor
type Model struct {
ModelName string `json:"modelName,omitempty"`
ProjectName string `json:"projectName,omitempty"`
VersionName string `json:"versionName,omitempty"`
Description string `json:"description,omitempty"`
Format string `json:"format,omitempty"`
FrameWork string `json:"framework,omitempty"`
Inputs []model.Tensor `json:"inputs,omitempty"`
Outputs []model.Tensor `json:"outputs,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.