types

package
v1.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientWithFormattedTime

type ClientWithFormattedTime struct {
	ClientID  string  `json:"client_id"`
	TaskID    int     `json:"task_id"`
	CreatedAt string  `json:"created_at"`
	UpdatedAt string  `json:"updated_at"`
	Model     string  `json:"model"`
	Dataset   string  `json:"dataset"`
	Type      string  `json:"type"`
	Status    string  `json:"status"`
	Progress  string  `json:"progress"`
	Accuracy  float32 `json:"accuracy"`
	Loss      float32 `json:"loss"`
	Cpu       string  `json:"cpu"`
	Memory    string  `json:"memory"`
	Disk      string  `json:"disk"`
}

type ServerWithFormattedTime

type ServerWithFormattedTime struct {
	ServerID  string  `json:"server_id"`
	TaskID    int     `json:"task_id"`
	CreatedAt string  `json:"created_at"`
	UpdatedAt string  `json:"updated_at"`
	Model     string  `json:"model"`
	Dataset   string  `json:"dataset"`
	Type      string  `json:"type"`
	Status    string  `json:"status"`
	Progress  string  `json:"progress"`
	Accuracy  float32 `json:"accuracy"`
	Loss      float32 `json:"loss"`
	Cpu       string  `json:"cpu"`
	Memory    string  `json:"memory"`
	Disk      string  `json:"disk"`
}

type TaskWithFormattedTime

type TaskWithFormattedTime struct {
	ID        int       `json:"id"`
	UserName  string    `json:"user_name"`
	CreatedAt string    `json:"created_at"`
	UpdatedAt string    `json:"updated_at"`
	Model     string    `json:"model"`
	Dataset   string    `json:"dataset"`
	Type      string    `json:"type"`
	Status    string    `json:"status"`
	Progress  string    `json:"progress"`
	Accuracy  []float32 `json:"accuracy"`
	Loss      []float32 `json:"loss"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL