You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package dataset
-
- func GetResourceType(cloudbrainType int) string {
- if cloudbrainType == 0 {
- return "CPU/GPU"
- } else {
- return "NPU"
- }
- }
-
- func GetStatusText(isPrivate bool) string {
- if isPrivate {
- return "dataset.private"
- } else {
- return "dataset.public"
- }
- }
|