Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImageToTensorValue ¶
ImageToTensorValue return an array with shape [1,50,180,4] for tensor as an input
Types ¶
type LabelLookup ¶
type PredictReponse ¶
type PredictReponse struct {
Predictions [][]float32 `json:"predictions"`
}
type PredictRequest ¶
type PredictRequest struct {
Instances [][][][]float32 `json:"instances"`
}
type RemoteResolver ¶
type RemoteResolver struct {
// contains filtered or unexported fields
}
func NewRemoteResolver ¶
func NewRemoteResolver( baseURL, modelName string, client HttpClient, labels LabelLookup, ) (*RemoteResolver, error)
func (*RemoteResolver) SymbolResolve ¶
Click to show internal directories.
Click to hide internal directories.