|
|
|
@@ -99,7 +99,7 @@ type Cloudbrain struct { |
|
|
|
CanDel bool `xorm:"-"` |
|
|
|
CanModify bool `xorm:"-"` |
|
|
|
Type int |
|
|
|
BenchmarkType string `xorm:"DEFAULT ''"` |
|
|
|
BenchmarkType string `xorm:"DEFAULT ''"` |
|
|
|
|
|
|
|
VersionID int64 //版本id |
|
|
|
VersionName string `xorm:"INDEX"` //当前版本 |
|
|
|
@@ -386,8 +386,15 @@ type BenchmarkTypes struct { |
|
|
|
} |
|
|
|
|
|
|
|
type BenchmarkType struct { |
|
|
|
Id int `json:"id"` |
|
|
|
Value string `json:"value"` |
|
|
|
Id int `json:"id"` |
|
|
|
First string `json:"first"` //一级算法类型名称 |
|
|
|
Second []*BenchmarkDataset `json:"second"` |
|
|
|
} |
|
|
|
|
|
|
|
type BenchmarkDataset struct { |
|
|
|
Id int `json:"id"` |
|
|
|
Value string `json:"value"` //二级算法类型名称 |
|
|
|
Attachment string `json:"attachment"` //数据集的uuid |
|
|
|
} |
|
|
|
|
|
|
|
type GpuInfos struct { |
|
|
|
|