model

package
v0.0.0-...-ae9b2c7 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorResult

type ErrorResult struct {
	Message string `json:"message"`
}

the ErrorResult of the prediction

type Input

type Input struct {
	ID string `json:"id"`
}

the Input for the prediction

type Result

type Result struct {
	Class       string  `json:"class"`
	Probability float32 `json:"probability"`
}

the Result of the prediction

func (*Result) String

func (r *Result) String() string

Jump to

Keyboard shortcuts

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