predict_v2

package
v0.0.0-...-58c3220 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package predict_v2 provides primitives to interact the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InferenceErrorResponse

type InferenceErrorResponse struct {
	Error *string `json:"error,omitempty"`
}

InferenceErrorResponse defines model for inference_error_response.

type InferenceRequest

type InferenceRequest struct {
	Id         *string          `json:"id,omitempty"`
	Inputs     []RequestInput   `json:"inputs"`
	Outputs    *[]RequestOutput `json:"outputs,omitempty"`
	Parameters *Parameters      `json:"parameters,omitempty"`
}

InferenceRequest defines model for inference_request.

type InferenceResponse

type InferenceResponse struct {
	Id           *string          `json:"id,omitempty"`
	ModelName    string           `json:"model_name"`
	ModelVersion *string          `json:"model_version,omitempty"`
	Outputs      []ResponseOutput `json:"outputs"`
	Parameters   *Parameters      `json:"parameters,omitempty"`
}

InferenceResponse defines model for inference_response.

type MetadataModelResponse

type MetadataModelResponse struct {
	Inputs   *[]MetadataTensor `json:"inputs,omitempty"`
	Name     string            `json:"name"`
	Outputs  *[]MetadataTensor `json:"outputs,omitempty"`
	Platform string            `json:"platform"`
	Versions *[]string         `json:"versions,omitempty"`
}

MetadataModelResponse defines model for metadata_model_response.

type MetadataServerErrorResponse

type MetadataServerErrorResponse struct {
	Error string `json:"error"`
}

MetadataServerErrorResponse defines model for metadata_server_error_response.

type MetadataServerResponse

type MetadataServerResponse struct {
	Extensions []string `json:"extensions"`
	Name       string   `json:"name"`
	Version    string   `json:"version"`
}

MetadataServerResponse defines model for metadata_server_response.

type MetadataTensor

type MetadataTensor struct {
	Datatype string `json:"datatype"`
	Name     string `json:"name"`
	Shape    []int  `json:"shape"`
}

MetadataTensor defines model for metadata_tensor.

type Parameters

type Parameters map[string]interface{}

Parameters defines model for parameters.

type PostV2ModelsMODELNAMEVersionsMODELVERSIONInferJSONBody

type PostV2ModelsMODELNAMEVersionsMODELVERSIONInferJSONBody InferenceRequest

PostV2ModelsMODELNAMEVersionsMODELVERSIONInferJSONBody defines parameters for PostV2ModelsMODELNAMEVersionsMODELVERSIONInfer.

type PostV2ModelsMODELNAMEVersionsMODELVERSIONInferJSONRequestBody

type PostV2ModelsMODELNAMEVersionsMODELVERSIONInferJSONRequestBody PostV2ModelsMODELNAMEVersionsMODELVERSIONInferJSONBody

PostV2ModelsMODELNAMEVersionsMODELVERSIONInferJSONRequestBody defines body for PostV2ModelsMODELNAMEVersionsMODELVERSIONInfer for application/json ContentType.

type RequestInput

type RequestInput struct {
	Data       TensorData  `json:"data"`
	Datatype   string      `json:"datatype"`
	Name       string      `json:"name"`
	Parameters *Parameters `json:"parameters,omitempty"`
	Shape      []int       `json:"shape"`
}

RequestInput defines model for request_input.

type RequestOutput

type RequestOutput struct {
	Name       string      `json:"name"`
	Parameters *Parameters `json:"parameters,omitempty"`
}

RequestOutput defines model for request_output.

type ResponseOutput

type ResponseOutput struct {
	Data       TensorData  `json:"data"`
	Datatype   string      `json:"datatype"`
	Name       string      `json:"name"`
	Parameters *Parameters `json:"parameters,omitempty"`
	Shape      []int       `json:"shape"`
}

ResponseOutput defines model for response_output.

type TensorData

type TensorData []interface{}

TensorData defines model for tensor_data.

Jump to

Keyboard shortcuts

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