azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.2/customvision/training Index | Files | Directories

package training

import "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.2/customvision/training"

Package training implements the Azure ARM Training service API version 2.0.

Index

Package Files

client.go models.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Training
    DefaultBaseURI = "https://southcentralus.api.cognitive.microsoft.com/customvision/v2.0/Training"
)

func UserAgent Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type BaseClient Uses

type BaseClient struct {
    autorest.Client
    BaseURI string
    APIKey  string
}

BaseClient is the base client for Training.

func New Uses

func New(aPIKey string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, aPIKey string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

func (BaseClient) CreateImageRegions Uses

func (client BaseClient) CreateImageRegions(ctx context.Context, projectID uuid.UUID, batch ImageRegionCreateBatch) (result ImageRegionCreateSummary, err error)

CreateImageRegions this API accepts a batch of image regions, and optionally tags, to update existing images with region information. There is a limit of 64 entries in the batch. Parameters: projectID - the project id batch - batch of image regions which include a tag and bounding box. Limited to 64

func (BaseClient) CreateImageRegionsPreparer Uses

func (client BaseClient) CreateImageRegionsPreparer(ctx context.Context, projectID uuid.UUID, batch ImageRegionCreateBatch) (*http.Request, error)

CreateImageRegionsPreparer prepares the CreateImageRegions request.

func (BaseClient) CreateImageRegionsResponder Uses

func (client BaseClient) CreateImageRegionsResponder(resp *http.Response) (result ImageRegionCreateSummary, err error)

CreateImageRegionsResponder handles the response to the CreateImageRegions request. The method always closes the http.Response Body.

func (BaseClient) CreateImageRegionsSender Uses

func (client BaseClient) CreateImageRegionsSender(req *http.Request) (*http.Response, error)

CreateImageRegionsSender sends the CreateImageRegions request. The method will close the http.Response Body if it receives an error.

func (BaseClient) CreateImageTags Uses

func (client BaseClient) CreateImageTags(ctx context.Context, projectID uuid.UUID, batch ImageTagCreateBatch) (result ImageTagCreateSummary, err error)

CreateImageTags sends the create image tags request. Parameters: projectID - the project id batch - batch of image tags. Limited to 128 tags per batch

func (BaseClient) CreateImageTagsPreparer Uses

func (client BaseClient) CreateImageTagsPreparer(ctx context.Context, projectID uuid.UUID, batch ImageTagCreateBatch) (*http.Request, error)

CreateImageTagsPreparer prepares the CreateImageTags request.

func (BaseClient) CreateImageTagsResponder Uses

func (client BaseClient) CreateImageTagsResponder(resp *http.Response) (result ImageTagCreateSummary, err error)

CreateImageTagsResponder handles the response to the CreateImageTags request. The method always closes the http.Response Body.

func (BaseClient) CreateImageTagsSender Uses

func (client BaseClient) CreateImageTagsSender(req *http.Request) (*http.Response, error)

CreateImageTagsSender sends the CreateImageTags request. The method will close the http.Response Body if it receives an error.

func (BaseClient) CreateImagesFromData Uses

func (client BaseClient) CreateImagesFromData(ctx context.Context, projectID uuid.UUID, imageData io.ReadCloser, tagIds []string) (result ImageCreateSummary, err error)

CreateImagesFromData this API accepts body content as multipart/form-data and application/octet-stream. When using multipart multiple image files can be sent at once, with a maximum of 64 files Parameters: projectID - the project id tagIds - the tags ids with which to tag each image. Limited to 20

func (BaseClient) CreateImagesFromDataPreparer Uses

func (client BaseClient) CreateImagesFromDataPreparer(ctx context.Context, projectID uuid.UUID, imageData io.ReadCloser, tagIds []string) (*http.Request, error)

CreateImagesFromDataPreparer prepares the CreateImagesFromData request.

func (BaseClient) CreateImagesFromDataResponder Uses

func (client BaseClient) CreateImagesFromDataResponder(resp *http.Response) (result ImageCreateSummary, err error)

CreateImagesFromDataResponder handles the response to the CreateImagesFromData request. The method always closes the http.Response Body.

func (BaseClient) CreateImagesFromDataSender Uses

func (client BaseClient) CreateImagesFromDataSender(req *http.Request) (*http.Response, error)

CreateImagesFromDataSender sends the CreateImagesFromData request. The method will close the http.Response Body if it receives an error.

func (BaseClient) CreateImagesFromFiles Uses

func (client BaseClient) CreateImagesFromFiles(ctx context.Context, projectID uuid.UUID, batch ImageFileCreateBatch) (result ImageCreateSummary, err error)

CreateImagesFromFiles this API accepts a batch of files, and optionally tags, to create images. There is a limit of 64 images and 20 tags. Parameters: projectID - the project id batch - the batch of image files to add. Limited to 64 images and 20 tags per batch

func (BaseClient) CreateImagesFromFilesPreparer Uses

func (client BaseClient) CreateImagesFromFilesPreparer(ctx context.Context, projectID uuid.UUID, batch ImageFileCreateBatch) (*http.Request, error)

CreateImagesFromFilesPreparer prepares the CreateImagesFromFiles request.

func (BaseClient) CreateImagesFromFilesResponder Uses

func (client BaseClient) CreateImagesFromFilesResponder(resp *http.Response) (result ImageCreateSummary, err error)

CreateImagesFromFilesResponder handles the response to the CreateImagesFromFiles request. The method always closes the http.Response Body.

func (BaseClient) CreateImagesFromFilesSender Uses

func (client BaseClient) CreateImagesFromFilesSender(req *http.Request) (*http.Response, error)

CreateImagesFromFilesSender sends the CreateImagesFromFiles request. The method will close the http.Response Body if it receives an error.

func (BaseClient) CreateImagesFromPredictions Uses

func (client BaseClient) CreateImagesFromPredictions(ctx context.Context, projectID uuid.UUID, batch ImageIDCreateBatch) (result ImageCreateSummary, err error)

CreateImagesFromPredictions this API creates a batch of images from predicted images specified. There is a limit of 64 images and 20 tags. Parameters: projectID - the project id batch - image and tag ids. Limited to 64 images and 20 tags per batch

func (BaseClient) CreateImagesFromPredictionsPreparer Uses

func (client BaseClient) CreateImagesFromPredictionsPreparer(ctx context.Context, projectID uuid.UUID, batch ImageIDCreateBatch) (*http.Request, error)

CreateImagesFromPredictionsPreparer prepares the CreateImagesFromPredictions request.

func (BaseClient) CreateImagesFromPredictionsResponder Uses

func (client BaseClient) CreateImagesFromPredictionsResponder(resp *http.Response) (result ImageCreateSummary, err error)

CreateImagesFromPredictionsResponder handles the response to the CreateImagesFromPredictions request. The method always closes the http.Response Body.

func (BaseClient) CreateImagesFromPredictionsSender Uses

func (client BaseClient) CreateImagesFromPredictionsSender(req *http.Request) (*http.Response, error)

CreateImagesFromPredictionsSender sends the CreateImagesFromPredictions request. The method will close the http.Response Body if it receives an error.

func (BaseClient) CreateImagesFromUrls Uses

func (client BaseClient) CreateImagesFromUrls(ctx context.Context, projectID uuid.UUID, batch ImageURLCreateBatch) (result ImageCreateSummary, err error)

CreateImagesFromUrls this API accepts a batch of urls, and optionally tags, to create images. There is a limit of 64 images and 20 tags. Parameters: projectID - the project id batch - image urls and tag ids. Limited to 64 images and 20 tags per batch

func (BaseClient) CreateImagesFromUrlsPreparer Uses

func (client BaseClient) CreateImagesFromUrlsPreparer(ctx context.Context, projectID uuid.UUID, batch ImageURLCreateBatch) (*http.Request, error)

CreateImagesFromUrlsPreparer prepares the CreateImagesFromUrls request.

func (BaseClient) CreateImagesFromUrlsResponder Uses

func (client BaseClient) CreateImagesFromUrlsResponder(resp *http.Response) (result ImageCreateSummary, err error)

CreateImagesFromUrlsResponder handles the response to the CreateImagesFromUrls request. The method always closes the http.Response Body.

func (BaseClient) CreateImagesFromUrlsSender Uses

func (client BaseClient) CreateImagesFromUrlsSender(req *http.Request) (*http.Response, error)

CreateImagesFromUrlsSender sends the CreateImagesFromUrls request. The method will close the http.Response Body if it receives an error.

func (BaseClient) CreateProject Uses

func (client BaseClient) CreateProject(ctx context.Context, name string, description string, domainID *uuid.UUID) (result Project, err error)

CreateProject sends the create project request. Parameters: name - name of the project description - the description of the project domainID - the id of the domain to use for this project. Defaults to General

func (BaseClient) CreateProjectPreparer Uses

func (client BaseClient) CreateProjectPreparer(ctx context.Context, name string, description string, domainID *uuid.UUID) (*http.Request, error)

CreateProjectPreparer prepares the CreateProject request.

func (BaseClient) CreateProjectResponder Uses

func (client BaseClient) CreateProjectResponder(resp *http.Response) (result Project, err error)

CreateProjectResponder handles the response to the CreateProject request. The method always closes the http.Response Body.

func (BaseClient) CreateProjectSender Uses

func (client BaseClient) CreateProjectSender(req *http.Request) (*http.Response, error)

CreateProjectSender sends the CreateProject request. The method will close the http.Response Body if it receives an error.

func (BaseClient) CreateTag Uses

func (client BaseClient) CreateTag(ctx context.Context, projectID uuid.UUID, name string, description string) (result Tag, err error)

CreateTag sends the create tag request. Parameters: projectID - the project id name - the tag name description - optional description for the tag

func (BaseClient) CreateTagPreparer Uses

func (client BaseClient) CreateTagPreparer(ctx context.Context, projectID uuid.UUID, name string, description string) (*http.Request, error)

CreateTagPreparer prepares the CreateTag request.

func (BaseClient) CreateTagResponder Uses

func (client BaseClient) CreateTagResponder(resp *http.Response) (result Tag, err error)

CreateTagResponder handles the response to the CreateTag request. The method always closes the http.Response Body.

func (BaseClient) CreateTagSender Uses

func (client BaseClient) CreateTagSender(req *http.Request) (*http.Response, error)

CreateTagSender sends the CreateTag request. The method will close the http.Response Body if it receives an error.

func (BaseClient) DeleteImageRegions Uses

func (client BaseClient) DeleteImageRegions(ctx context.Context, projectID uuid.UUID, regionIds []string) (result autorest.Response, err error)

DeleteImageRegions sends the delete image regions request. Parameters: projectID - the project id regionIds - regions to delete. Limited to 64

func (BaseClient) DeleteImageRegionsPreparer Uses

func (client BaseClient) DeleteImageRegionsPreparer(ctx context.Context, projectID uuid.UUID, regionIds []string) (*http.Request, error)

DeleteImageRegionsPreparer prepares the DeleteImageRegions request.

func (BaseClient) DeleteImageRegionsResponder Uses

func (client BaseClient) DeleteImageRegionsResponder(resp *http.Response) (result autorest.Response, err error)

DeleteImageRegionsResponder handles the response to the DeleteImageRegions request. The method always closes the http.Response Body.

func (BaseClient) DeleteImageRegionsSender Uses

func (client BaseClient) DeleteImageRegionsSender(req *http.Request) (*http.Response, error)

DeleteImageRegionsSender sends the DeleteImageRegions request. The method will close the http.Response Body if it receives an error.

func (BaseClient) DeleteImageTags Uses

func (client BaseClient) DeleteImageTags(ctx context.Context, projectID uuid.UUID, imageIds []string, tagIds []string) (result autorest.Response, err error)

DeleteImageTags sends the delete image tags request. Parameters: projectID - the project id imageIds - image ids. Limited to 64 images tagIds - tags to be deleted from the specified images. Limited to 20 tags

func (BaseClient) DeleteImageTagsPreparer Uses

func (client BaseClient) DeleteImageTagsPreparer(ctx context.Context, projectID uuid.UUID, imageIds []string, tagIds []string) (*http.Request, error)

DeleteImageTagsPreparer prepares the DeleteImageTags request.

func (BaseClient) DeleteImageTagsResponder Uses

func (client BaseClient) DeleteImageTagsResponder(resp *http.Response) (result autorest.Response, err error)

DeleteImageTagsResponder handles the response to the DeleteImageTags request. The method always closes the http.Response Body.

func (BaseClient) DeleteImageTagsSender Uses

func (client BaseClient) DeleteImageTagsSender(req *http.Request) (*http.Response, error)

DeleteImageTagsSender sends the DeleteImageTags request. The method will close the http.Response Body if it receives an error.

func (BaseClient) DeleteImages Uses

func (client BaseClient) DeleteImages(ctx context.Context, projectID uuid.UUID, imageIds []string) (result autorest.Response, err error)

DeleteImages sends the delete images request. Parameters: projectID - the project id imageIds - ids of the images to be deleted. Limited to 256 images per batch

func (BaseClient) DeleteImagesPreparer Uses

func (client BaseClient) DeleteImagesPreparer(ctx context.Context, projectID uuid.UUID, imageIds []string) (*http.Request, error)

DeleteImagesPreparer prepares the DeleteImages request.

func (BaseClient) DeleteImagesResponder Uses

func (client BaseClient) DeleteImagesResponder(resp *http.Response) (result autorest.Response, err error)

DeleteImagesResponder handles the response to the DeleteImages request. The method always closes the http.Response Body.

func (BaseClient) DeleteImagesSender Uses

func (client BaseClient) DeleteImagesSender(req *http.Request) (*http.Response, error)

DeleteImagesSender sends the DeleteImages request. The method will close the http.Response Body if it receives an error.

func (BaseClient) DeleteIteration Uses

func (client BaseClient) DeleteIteration(ctx context.Context, projectID uuid.UUID, iterationID uuid.UUID) (result autorest.Response, err error)

DeleteIteration sends the delete iteration request. Parameters: projectID - the project id iterationID - the iteration id

func (BaseClient) DeleteIterationPreparer Uses

func (client BaseClient) DeleteIterationPreparer(ctx context.Context, projectID uuid.UUID, iterationID uuid.UUID) (*http.Request, error)

DeleteIterationPreparer prepares the DeleteIteration request.

func (BaseClient) DeleteIterationResponder Uses

func (client BaseClient) DeleteIterationResponder(resp *http.Response) (result autorest.Response, err error)

DeleteIterationResponder handles the response to the DeleteIteration request. The method always closes the http.Response Body.

func (BaseClient) DeleteIterationSender Uses

func (client BaseClient) DeleteIterationSender(req *http.Request) (*http.Response, error)

DeleteIterationSender sends the DeleteIteration request. The method will close the http.Response Body if it receives an error.

func (BaseClient) DeletePrediction Uses

func (client BaseClient) DeletePrediction(ctx context.Context, projectID uuid.UUID, ids []string) (result autorest.Response, err error)

DeletePrediction sends the delete prediction request. Parameters: projectID - the project id ids - the prediction ids. Limited to 64

func (BaseClient) DeletePredictionPreparer Uses

func (client BaseClient) DeletePredictionPreparer(ctx context.Context, projectID uuid.UUID, ids []string) (*http.Request, error)

DeletePredictionPreparer prepares the DeletePrediction request.

func (BaseClient) DeletePredictionResponder Uses

func (client BaseClient) DeletePredictionResponder(resp *http.Response) (result autorest.Response, err error)

DeletePredictionResponder handles the response to the DeletePrediction request. The method always closes the http.Response Body.

func (BaseClient) DeletePredictionSender Uses

func (client BaseClient) DeletePredictionSender(req *http.Request) (*http.Response, error)

DeletePredictionSender sends the DeletePrediction request. The method will close the http.Response Body if it receives an error.

func (BaseClient) DeleteProject Uses

func (client BaseClient) DeleteProject(ctx context.Context, projectID uuid.UUID) (result autorest.Response, err error)

DeleteProject sends the delete project request. Parameters: projectID - the project id

func (BaseClient) DeleteProjectPreparer Uses

func (client BaseClient) DeleteProjectPreparer(ctx context.Context, projectID uuid.UUID) (*http.Request, error)

DeleteProjectPreparer prepares the DeleteProject request.

func (BaseClient) DeleteProjectResponder Uses

func (client BaseClient) DeleteProjectResponder(resp *http.Response) (result autorest.Response, err error)

DeleteProjectResponder handles the response to the DeleteProject request. The method always closes the http.Response Body.

func (BaseClient) DeleteProjectSender Uses

func (client BaseClient) DeleteProjectSender(req *http.Request) (*http.Response, error)

DeleteProjectSender sends the DeleteProject request. The method will close the http.Response Body if it receives an error.

func (BaseClient) DeleteTag Uses

func (client BaseClient) DeleteTag(ctx context.Context, projectID uuid.UUID, tagID uuid.UUID) (result autorest.Response, err error)

DeleteTag sends the delete tag request. Parameters: projectID - the project id tagID - id of the tag to be deleted

func (BaseClient) DeleteTagPreparer Uses

func (client BaseClient) DeleteTagPreparer(ctx context.Context, projectID uuid.UUID, tagID uuid.UUID) (*http.Request, error)

DeleteTagPreparer prepares the DeleteTag request.

func (BaseClient) DeleteTagResponder Uses

func (client BaseClient) DeleteTagResponder(resp *http.Response) (result autorest.Response, err error)

DeleteTagResponder handles the response to the DeleteTag request. The method always closes the http.Response Body.

func (BaseClient) DeleteTagSender Uses

func (client BaseClient) DeleteTagSender(req *http.Request) (*http.Response, error)

DeleteTagSender sends the DeleteTag request. The method will close the http.Response Body if it receives an error.

func (BaseClient) ExportIteration Uses

func (client BaseClient) ExportIteration(ctx context.Context, projectID uuid.UUID, iterationID uuid.UUID, platform string, flavor string) (result Export, err error)

ExportIteration sends the export iteration request. Parameters: projectID - the project id iterationID - the iteration id platform - the target platform (coreml or tensorflow) flavor - the flavor of the target platform (Windows, Linux, ARM, or GPU)

func (BaseClient) ExportIterationPreparer Uses

func (client BaseClient) ExportIterationPreparer(ctx context.Context, projectID uuid.UUID, iterationID uuid.UUID, platform string, flavor string) (*http.Request, error)

ExportIterationPreparer prepares the ExportIteration request.

func (BaseClient) ExportIterationResponder Uses

func (client BaseClient) ExportIterationResponder(resp *http.Response) (result Export, err error)

ExportIterationResponder handles the response to the ExportIteration request. The method always closes the http.Response Body.

func (BaseClient) ExportIterationSender Uses

func (client BaseClient) ExportIterationSender(req *http.Request) (*http.Response, error)

ExportIterationSender sends the ExportIteration request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetDomain Uses

func (client BaseClient) GetDomain(ctx context.Context, domainID uuid.UUID) (result Domain, err error)

GetDomain sends the get domain request. Parameters: domainID - the id of the domain to get information about

func (BaseClient) GetDomainPreparer Uses

func (client BaseClient) GetDomainPreparer(ctx context.Context, domainID uuid.UUID) (*http.Request, error)

GetDomainPreparer prepares the GetDomain request.

func (BaseClient) GetDomainResponder Uses

func (client BaseClient) GetDomainResponder(resp *http.Response) (result Domain, err error)

GetDomainResponder handles the response to the GetDomain request. The method always closes the http.Response Body.

func (BaseClient) GetDomainSender Uses

func (client BaseClient) GetDomainSender(req *http.Request) (*http.Response, error)

GetDomainSender sends the GetDomain request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetDomains Uses

func (client BaseClient) GetDomains(ctx context.Context) (result ListDomain, err error)

GetDomains sends the get domains request.

func (BaseClient) GetDomainsPreparer Uses

func (client BaseClient) GetDomainsPreparer(ctx context.Context) (*http.Request, error)

GetDomainsPreparer prepares the GetDomains request.

func (BaseClient) GetDomainsResponder Uses

func (client BaseClient) GetDomainsResponder(resp *http.Response) (result ListDomain, err error)

GetDomainsResponder handles the response to the GetDomains request. The method always closes the http.Response Body.

func (BaseClient) GetDomainsSender Uses

func (client BaseClient) GetDomainsSender(req *http.Request) (*http.Response, error)

GetDomainsSender sends the GetDomains request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetExports Uses

func (client BaseClient) GetExports(ctx context.Context, projectID uuid.UUID, iterationID uuid.UUID) (result ListExport, err error)

GetExports sends the get exports request. Parameters: projectID - the project id iterationID - the iteration id

func (BaseClient) GetExportsPreparer Uses

func (client BaseClient) GetExportsPreparer(ctx context.Context, projectID uuid.UUID, iterationID uuid.UUID) (*http.Request, error)

GetExportsPreparer prepares the GetExports request.

func (BaseClient) GetExportsResponder Uses

func (client BaseClient) GetExportsResponder(resp *http.Response) (result ListExport, err error)

GetExportsResponder handles the response to the GetExports request. The method always closes the http.Response Body.

func (BaseClient) GetExportsSender Uses

func (client BaseClient) GetExportsSender(req *http.Request) (*http.Response, error)

GetExportsSender sends the GetExports request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetImagePerformanceCount Uses

func (client BaseClient) GetImagePerformanceCount(ctx context.Context, projectID uuid.UUID, iterationID uuid.UUID, tagIds []string) (result Int32, err error)

GetImagePerformanceCount the filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned Parameters: projectID - the project id iterationID - the iteration id. Defaults to workspace tagIds - a list of tags ids to filter the images to count. Defaults to all tags when null.

func (BaseClient) GetImagePerformanceCountPreparer Uses

func (client BaseClient) GetImagePerformanceCountPreparer(ctx context.Context, projectID uuid.UUID, iterationID uuid.UUID, tagIds []string) (*http.Request, error)

GetImagePerformanceCountPreparer prepares the GetImagePerformanceCount request.

func (BaseClient) GetImagePerformanceCountResponder Uses

func (client BaseClient) GetImagePerformanceCountResponder(resp *http.Response) (result Int32, err error)

GetImagePerformanceCountResponder handles the response to the GetImagePerformanceCount request. The method always closes the http.Response Body.

func (BaseClient) GetImagePerformanceCountSender Uses

func (client BaseClient) GetImagePerformanceCountSender(req *http.Request) (*http.Response, error)

GetImagePerformanceCountSender sends the GetImagePerformanceCount request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetImagePerformances Uses

func (client BaseClient) GetImagePerformances(ctx context.Context, projectID uuid.UUID, iterationID uuid.UUID, tagIds []string, orderBy string, take *int32, skip *int32) (result ListImagePerformance, err error)

GetImagePerformances this API supports batching and range selection. By default it will only return first 50 images matching images. Use the {take} and {skip} parameters to control how many images to return in a given batch. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned Parameters: projectID - the project id iterationID - the iteration id. Defaults to workspace tagIds - a list of tags ids to filter the images. Defaults to all tagged images when null. Limited to 20 orderBy - the ordering. Defaults to newest take - maximum number of images to return. Defaults to 50, limited to 256 skip - number of images to skip before beginning the image batch. Defaults to 0

func (BaseClient) GetImagePerformancesPreparer Uses

func (client BaseClient) GetImagePerformancesPreparer(ctx context.Context, projectID uuid.UUID, iterationID uuid.UUID, tagIds []string, orderBy string, take *int32, skip *int32) (*http.Request, error)

GetImagePerformancesPreparer prepares the GetImagePerformances request.

func (BaseClient) GetImagePerformancesResponder Uses

func (client BaseClient) GetImagePerformancesResponder(resp *http.Response) (result ListImagePerformance, err error)

GetImagePerformancesResponder handles the response to the GetImagePerformances request. The method always closes the http.Response Body.

func (BaseClient) GetImagePerformancesSender Uses

func (client BaseClient) GetImagePerformancesSender(req *http.Request) (*http.Response, error)

GetImagePerformancesSender sends the GetImagePerformances request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetImageRegionProposals Uses

func (client BaseClient) GetImageRegionProposals(ctx context.Context, projectID uuid.UUID, imageID uuid.UUID) (result ImageRegionProposal, err error)

GetImageRegionProposals this API will get region proposals for an image along with confidences for the region. It returns an empty array if no proposals are found. Parameters: projectID - the project id imageID - the image id

func (BaseClient) GetImageRegionProposalsPreparer Uses

func (client BaseClient) GetImageRegionProposalsPreparer(ctx context.Context, projectID uuid.UUID, imageID uuid.UUID) (*http.Request, error)

GetImageRegionProposalsPreparer prepares the GetImageRegionProposals request.

func (BaseClient) GetImageRegionProposalsResponder Uses

func (client BaseClient) GetImageRegionProposalsResponder(resp *http.Response) (result ImageRegionProposal, err error)

GetImageRegionProposalsResponder handles the response to the GetImageRegionProposals request. The method always closes the http.Response Body.

func (BaseClient) GetImageRegionProposalsSender Uses

func (client BaseClient) GetImageRegionProposalsSender(req *http.Request) (*http.Response, error)

GetImageRegionProposalsSender sends the GetImageRegionProposals request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetImagesByIds Uses

func (client BaseClient) GetImagesByIds(ctx context.Context, projectID uuid.UUID, imageIds []string, iterationID *uuid.UUID) (result ListImage, err error)

GetImagesByIds this API will return a set of Images for the specified tags and optionally iteration. If no iteration is specified the current workspace is used. Parameters: projectID - the project id imageIds - the list of image ids to retrieve. Limited to 256 iterationID - the iteration id. Defaults to workspace

func (BaseClient) GetImagesByIdsPreparer Uses

func (client BaseClient) GetImagesByIdsPreparer(ctx context.Context, projectID uuid.UUID, imageIds []string, iterationID *uuid.UUID) (*http.Request, error)

GetImagesByIdsPreparer prepares the GetImagesByIds request.

func (BaseClient) GetImagesByIdsResponder Uses

func (client BaseClient) GetImagesByIdsResponder(resp *http.Response) (result ListImage, err error)

GetImagesByIdsResponder handles the response to the GetImagesByIds request. The method always closes the http.Response Body.

func (BaseClient) GetImagesByIdsSender Uses

func (client BaseClient) GetImagesByIdsSender(req *http.Request) (*http.Response, error)

GetImagesByIdsSender sends the GetImagesByIds request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetIteration Uses

func (client BaseClient) GetIteration(ctx context.Context, projectID uuid.UUID, iterationID uuid.UUID) (result Iteration, err error)

GetIteration sends the get iteration request. Parameters: projectID - the id of the project the iteration belongs to iterationID - the id of the iteration to get

func (BaseClient) GetIterationPerformance Uses

func (client BaseClient) GetIterationPerformance(ctx context.Context, projectID uuid.UUID, iterationID uuid.UUID, threshold *float64, overlapThreshold *float64) (result IterationPerformance, err error)

GetIterationPerformance sends the get iteration performance request. Parameters: projectID - the id of the project the iteration belongs to iterationID - the id of the iteration to get threshold - the threshold used to determine true predictions overlapThreshold - if applicable, the bounding box overlap threshold used to determine true predictions

func (BaseClient) GetIterationPerformancePreparer Uses

func (client BaseClient) GetIterationPerformancePreparer(ctx context.Context, projectID uuid.UUID, iterationID uuid.UUID, threshold *float64, overlapThreshold *float64) (*http.Request, error)

GetIterationPerformancePreparer prepares the GetIterationPerformance request.

func (BaseClient) GetIterationPerformanceResponder Uses

func (client BaseClient) GetIterationPerformanceResponder(resp *http.Response) (result IterationPerformance, err error)

GetIterationPerformanceResponder handles the response to the GetIterationPerformance request. The method always closes the http.Response Body.

func (BaseClient) GetIterationPerformanceSender Uses

func (client BaseClient) GetIterationPerformanceSender(req *http.Request) (*http.Response, error)

GetIterationPerformanceSender sends the GetIterationPerformance request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetIterationPreparer Uses

func (client BaseClient) GetIterationPreparer(ctx context.Context, projectID uuid.UUID, iterationID uuid.UUID) (*http.Request, error)

GetIterationPreparer prepares the GetIteration request.

func (BaseClient) GetIterationResponder Uses

func (client BaseClient) GetIterationResponder(resp *http.Response) (result Iteration, err error)

GetIterationResponder handles the response to the GetIteration request. The method always closes the http.Response Body.

func (BaseClient) GetIterationSender Uses

func (client BaseClient) GetIterationSender(req *http.Request) (*http.Response, error)

GetIterationSender sends the GetIteration request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetIterations Uses

func (client BaseClient) GetIterations(ctx context.Context, projectID uuid.UUID) (result ListIteration, err error)

GetIterations sends the get iterations request. Parameters: projectID - the project id

func (BaseClient) GetIterationsPreparer Uses

func (client BaseClient) GetIterationsPreparer(ctx context.Context, projectID uuid.UUID) (*http.Request, error)

GetIterationsPreparer prepares the GetIterations request.

func (BaseClient) GetIterationsResponder Uses

func (client BaseClient) GetIterationsResponder(resp *http.Response) (result ListIteration, err error)

GetIterationsResponder handles the response to the GetIterations request. The method always closes the http.Response Body.

func (BaseClient) GetIterationsSender Uses

func (client BaseClient) GetIterationsSender(req *http.Request) (*http.Response, error)

GetIterationsSender sends the GetIterations request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetProject Uses

func (client BaseClient) GetProject(ctx context.Context, projectID uuid.UUID) (result Project, err error)

GetProject sends the get project request. Parameters: projectID - the id of the project to get

func (BaseClient) GetProjectPreparer Uses

func (client BaseClient) GetProjectPreparer(ctx context.Context, projectID uuid.UUID) (*http.Request, error)

GetProjectPreparer prepares the GetProject request.

func (BaseClient) GetProjectResponder Uses

func (client BaseClient) GetProjectResponder(resp *http.Response) (result Project, err error)

GetProjectResponder handles the response to the GetProject request. The method always closes the http.Response Body.

func (BaseClient) GetProjectSender Uses

func (client BaseClient) GetProjectSender(req *http.Request) (*http.Response, error)

GetProjectSender sends the GetProject request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetProjects Uses

func (client BaseClient) GetProjects(ctx context.Context) (result ListProject, err error)

GetProjects sends the get projects request.

func (BaseClient) GetProjectsPreparer Uses

func (client BaseClient) GetProjectsPreparer(ctx context.Context) (*http.Request, error)

GetProjectsPreparer prepares the GetProjects request.

func (BaseClient) GetProjectsResponder Uses

func (client BaseClient) GetProjectsResponder(resp *http.Response) (result ListProject, err error)

GetProjectsResponder handles the response to the GetProjects request. The method always closes the http.Response Body.

func (BaseClient) GetProjectsSender Uses

func (client BaseClient) GetProjectsSender(req *http.Request) (*http.Response, error)

GetProjectsSender sends the GetProjects request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetTag Uses

func (client BaseClient) GetTag(ctx context.Context, projectID uuid.UUID, tagID uuid.UUID, iterationID *uuid.UUID) (result Tag, err error)

GetTag sends the get tag request. Parameters: projectID - the project this tag belongs to tagID - the tag id iterationID - the iteration to retrieve this tag from. Optional, defaults to current training set

func (BaseClient) GetTagPreparer Uses

func (client BaseClient) GetTagPreparer(ctx context.Context, projectID uuid.UUID, tagID uuid.UUID, iterationID *uuid.UUID) (*http.Request, error)

GetTagPreparer prepares the GetTag request.

func (BaseClient) GetTagResponder Uses

func (client BaseClient) GetTagResponder(resp *http.Response) (result Tag, err error)

GetTagResponder handles the response to the GetTag request. The method always closes the http.Response Body.

func (BaseClient) GetTagSender Uses

func (client BaseClient) GetTagSender(req *http.Request) (*http.Response, error)

GetTagSender sends the GetTag request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetTaggedImageCount Uses

func (client BaseClient) GetTaggedImageCount(ctx context.Context, projectID uuid.UUID, iterationID *uuid.UUID, tagIds []string) (result Int32, err error)

GetTaggedImageCount the filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned Parameters: projectID - the project id iterationID - the iteration id. Defaults to workspace tagIds - a list of tags ids to filter the images to count. Defaults to all tags when null.

func (BaseClient) GetTaggedImageCountPreparer Uses

func (client BaseClient) GetTaggedImageCountPreparer(ctx context.Context, projectID uuid.UUID, iterationID *uuid.UUID, tagIds []string) (*http.Request, error)

GetTaggedImageCountPreparer prepares the GetTaggedImageCount request.

func (BaseClient) GetTaggedImageCountResponder Uses

func (client BaseClient) GetTaggedImageCountResponder(resp *http.Response) (result Int32, err error)

GetTaggedImageCountResponder handles the response to the GetTaggedImageCount request. The method always closes the http.Response Body.

func (BaseClient) GetTaggedImageCountSender Uses

func (client BaseClient) GetTaggedImageCountSender(req *http.Request) (*http.Response, error)

GetTaggedImageCountSender sends the GetTaggedImageCount request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetTaggedImages Uses

func (client BaseClient) GetTaggedImages(ctx context.Context, projectID uuid.UUID, iterationID *uuid.UUID, tagIds []string, orderBy string, take *int32, skip *int32) (result ListImage, err error)

GetTaggedImages this API supports batching and range selection. By default it will only return first 50 images matching images. Use the {take} and {skip} parameters to control how many images to return in a given batch. The filtering is on an and/or relationship. For example, if the provided tag ids are for the "Dog" and "Cat" tags, then only images tagged with Dog and/or Cat will be returned Parameters: projectID - the project id iterationID - the iteration id. Defaults to workspace tagIds - a list of tags ids to filter the images. Defaults to all tagged images when null. Limited to 20 orderBy - the ordering. Defaults to newest take - maximum number of images to return. Defaults to 50, limited to 256 skip - number of images to skip before beginning the image batch. Defaults to 0

func (BaseClient) GetTaggedImagesPreparer Uses

func (client BaseClient) GetTaggedImagesPreparer(ctx context.Context, projectID uuid.UUID, iterationID *uuid.UUID, tagIds []string, orderBy string, take *int32, skip *int32) (*http.Request, error)

GetTaggedImagesPreparer prepares the GetTaggedImages request.

func (BaseClient) GetTaggedImagesResponder Uses

func (client BaseClient) GetTaggedImagesResponder(resp *http.Response) (result ListImage, err error)

GetTaggedImagesResponder handles the response to the GetTaggedImages request. The method always closes the http.Response Body.

func (BaseClient) GetTaggedImagesSender Uses

func (client BaseClient) GetTaggedImagesSender(req *http.Request) (*http.Response, error)

GetTaggedImagesSender sends the GetTaggedImages request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetTags Uses

func (client BaseClient) GetTags(ctx context.Context, projectID uuid.UUID, iterationID *uuid.UUID) (result ListTag, err error)

GetTags sends the get tags request. Parameters: projectID - the project id iterationID - the iteration id. Defaults to workspace

func (BaseClient) GetTagsPreparer Uses

func (client BaseClient) GetTagsPreparer(ctx context.Context, projectID uuid.UUID, iterationID *uuid.UUID) (*http.Request, error)

GetTagsPreparer prepares the GetTags request.

func (BaseClient) GetTagsResponder Uses

func (client BaseClient) GetTagsResponder(resp *http.Response) (result ListTag, err error)

GetTagsResponder handles the response to the GetTags request. The method always closes the http.Response Body.

func (BaseClient) GetTagsSender Uses

func (client BaseClient) GetTagsSender(req *http.Request) (*http.Response, error)

GetTagsSender sends the GetTags request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetUntaggedImageCount Uses

func (client BaseClient) GetUntaggedImageCount(ctx context.Context, projectID uuid.UUID, iterationID *uuid.UUID) (result Int32, err error)

GetUntaggedImageCount this API returns the images which have no tags for a given project and optionally an iteration. If no iteration is specified the current workspace is used. Parameters: projectID - the project id iterationID - the iteration id. Defaults to workspace

func (BaseClient) GetUntaggedImageCountPreparer Uses

func (client BaseClient) GetUntaggedImageCountPreparer(ctx context.Context, projectID uuid.UUID, iterationID *uuid.UUID) (*http.Request, error)

GetUntaggedImageCountPreparer prepares the GetUntaggedImageCount request.

func (BaseClient) GetUntaggedImageCountResponder Uses

func (client BaseClient) GetUntaggedImageCountResponder(resp *http.Response) (result Int32, err error)

GetUntaggedImageCountResponder handles the response to the GetUntaggedImageCount request. The method always closes the http.Response Body.

func (BaseClient) GetUntaggedImageCountSender Uses

func (client BaseClient) GetUntaggedImageCountSender(req *http.Request) (*http.Response, error)

GetUntaggedImageCountSender sends the GetUntaggedImageCount request. The method will close the http.Response Body if it receives an error.

func (BaseClient) GetUntaggedImages Uses

func (client BaseClient) GetUntaggedImages(ctx context.Context, projectID uuid.UUID, iterationID *uuid.UUID, orderBy string, take *int32, skip *int32) (result ListImage, err error)

GetUntaggedImages this API supports batching and range selection. By default it will only return first 50 images matching images. Use the {take} and {skip} parameters to control how many images to return in a given batch. Parameters: projectID - the project id iterationID - the iteration id. Defaults to workspace orderBy - the ordering. Defaults to newest take - maximum number of images to return. Defaults to 50, limited to 256 skip - number of images to skip before beginning the image batch. Defaults to 0

func (BaseClient) GetUntaggedImagesPreparer Uses

func (client BaseClient) GetUntaggedImagesPreparer(ctx context.Context, projectID uuid.UUID, iterationID *uuid.UUID, orderBy string, take *int32, skip *int32) (*http.Request, error)

GetUntaggedImagesPreparer prepares the GetUntaggedImages request.

func (BaseClient) GetUntaggedImagesResponder Uses

func (client BaseClient) GetUntaggedImagesResponder(resp *http.Response) (result ListImage, err error)

GetUntaggedImagesResponder handles the response to the GetUntaggedImages request. The method always closes the http.Response Body.

func (BaseClient) GetUntaggedImagesSender Uses

func (client BaseClient) GetUntaggedImagesSender(req *http.Request) (*http.Response, error)

GetUntaggedImagesSender sends the GetUntaggedImages request. The method will close the http.Response Body if it receives an error.

func (BaseClient) QueryPredictions Uses

func (client BaseClient) QueryPredictions(ctx context.Context, projectID uuid.UUID, query PredictionQueryToken) (result PredictionQueryResult, err error)

QueryPredictions sends the query predictions request. Parameters: projectID - the project id query - parameters used to query the predictions. Limited to combining 2 tags

func (BaseClient) QueryPredictionsPreparer Uses

func (client BaseClient) QueryPredictionsPreparer(ctx context.Context, projectID uuid.UUID, query PredictionQueryToken) (*http.Request, error)

QueryPredictionsPreparer prepares the QueryPredictions request.

func (BaseClient) QueryPredictionsResponder Uses

func (client BaseClient) QueryPredictionsResponder(resp *http.Response) (result PredictionQueryResult, err error)

QueryPredictionsResponder handles the response to the QueryPredictions request. The method always closes the http.Response Body.

func (BaseClient) QueryPredictionsSender Uses

func (client BaseClient) QueryPredictionsSender(req *http.Request) (*http.Response, error)

QueryPredictionsSender sends the QueryPredictions request. The method will close the http.Response Body if it receives an error.

func (BaseClient) QuickTestImage Uses

func (client BaseClient) QuickTestImage(ctx context.Context, projectID uuid.UUID, imageData io.ReadCloser, iterationID *uuid.UUID) (result ImagePrediction, err error)

QuickTestImage sends the quick test image request. Parameters: projectID - the project id iterationID - optional. Specifies the id of a particular iteration to evaluate against. The default iteration for the project will be used when not specified.

func (BaseClient) QuickTestImagePreparer Uses

func (client BaseClient) QuickTestImagePreparer(ctx context.Context, projectID uuid.UUID, imageData io.ReadCloser, iterationID *uuid.UUID) (*http.Request, error)

QuickTestImagePreparer prepares the QuickTestImage request.

func (BaseClient) QuickTestImageResponder Uses

func (client BaseClient) QuickTestImageResponder(resp *http.Response) (result ImagePrediction, err error)

QuickTestImageResponder handles the response to the QuickTestImage request. The method always closes the http.Response Body.

func (BaseClient) QuickTestImageSender Uses

func (client BaseClient) QuickTestImageSender(req *http.Request) (*http.Response, error)

QuickTestImageSender sends the QuickTestImage request. The method will close the http.Response Body if it receives an error.

func (BaseClient) QuickTestImageURL Uses

func (client BaseClient) QuickTestImageURL(ctx context.Context, projectID uuid.UUID, imageURL ImageURL, iterationID *uuid.UUID) (result ImagePrediction, err error)

QuickTestImageURL sends the quick test image url request. Parameters: projectID - the project to evaluate against imageURL - an {Iris.Web.Api.Models.ImageUrl} that contains the url of the image to be evaluated iterationID - optional. Specifies the id of a particular iteration to evaluate against. The default iteration for the project will be used when not specified.

func (BaseClient) QuickTestImageURLPreparer Uses

func (client BaseClient) QuickTestImageURLPreparer(ctx context.Context, projectID uuid.UUID, imageURL ImageURL, iterationID *uuid.UUID) (*http.Request, error)

QuickTestImageURLPreparer prepares the QuickTestImageURL request.

func (BaseClient) QuickTestImageURLResponder Uses

func (client BaseClient) QuickTestImageURLResponder(resp *http.Response) (result ImagePrediction, err error)

QuickTestImageURLResponder handles the response to the QuickTestImageURL request. The method always closes the http.Response Body.

func (BaseClient) QuickTestImageURLSender Uses

func (client BaseClient) QuickTestImageURLSender(req *http.Request) (*http.Response, error)

QuickTestImageURLSender sends the QuickTestImageURL request. The method will close the http.Response Body if it receives an error.

func (BaseClient) TrainProject Uses

func (client BaseClient) TrainProject(ctx context.Context, projectID uuid.UUID) (result Iteration, err error)

TrainProject sends the train project request. Parameters: projectID - the project id

func (BaseClient) TrainProjectPreparer Uses

func (client BaseClient) TrainProjectPreparer(ctx context.Context, projectID uuid.UUID) (*http.Request, error)

TrainProjectPreparer prepares the TrainProject request.

func (BaseClient) TrainProjectResponder Uses

func (client BaseClient) TrainProjectResponder(resp *http.Response) (result Iteration, err error)

TrainProjectResponder handles the response to the TrainProject request. The method always closes the http.Response Body.

func (BaseClient) TrainProjectSender Uses

func (client BaseClient) TrainProjectSender(req *http.Request) (*http.Response, error)

TrainProjectSender sends the TrainProject request. The method will close the http.Response Body if it receives an error.

func (BaseClient) UpdateIteration Uses

func (client BaseClient) UpdateIteration(ctx context.Context, projectID uuid.UUID, iterationID uuid.UUID, updatedIteration Iteration) (result Iteration, err error)

UpdateIteration sends the update iteration request. Parameters: projectID - project id iterationID - iteration id updatedIteration - the updated iteration model

func (BaseClient) UpdateIterationPreparer Uses

func (client BaseClient) UpdateIterationPreparer(ctx context.Context, projectID uuid.UUID, iterationID uuid.UUID, updatedIteration Iteration) (*http.Request, error)

UpdateIterationPreparer prepares the UpdateIteration request.

func (BaseClient) UpdateIterationResponder Uses

func (client BaseClient) UpdateIterationResponder(resp *http.Response) (result Iteration, err error)

UpdateIterationResponder handles the response to the UpdateIteration request. The method always closes the http.Response Body.

func (BaseClient) UpdateIterationSender Uses

func (client BaseClient) UpdateIterationSender(req *http.Request) (*http.Response, error)

UpdateIterationSender sends the UpdateIteration request. The method will close the http.Response Body if it receives an error.

func (BaseClient) UpdateProject Uses

func (client BaseClient) UpdateProject(ctx context.Context, projectID uuid.UUID, updatedProject Project) (result Project, err error)

UpdateProject sends the update project request. Parameters: projectID - the id of the project to update updatedProject - the updated project model

func (BaseClient) UpdateProjectPreparer Uses

func (client BaseClient) UpdateProjectPreparer(ctx context.Context, projectID uuid.UUID, updatedProject Project) (*http.Request, error)

UpdateProjectPreparer prepares the UpdateProject request.

func (BaseClient) UpdateProjectResponder Uses

func (client BaseClient) UpdateProjectResponder(resp *http.Response) (result Project, err error)

UpdateProjectResponder handles the response to the UpdateProject request. The method always closes the http.Response Body.

func (BaseClient) UpdateProjectSender Uses

func (client BaseClient) UpdateProjectSender(req *http.Request) (*http.Response, error)

UpdateProjectSender sends the UpdateProject request. The method will close the http.Response Body if it receives an error.

func (BaseClient) UpdateTag Uses

func (client BaseClient) UpdateTag(ctx context.Context, projectID uuid.UUID, tagID uuid.UUID, updatedTag Tag) (result Tag, err error)

UpdateTag sends the update tag request. Parameters: projectID - the project id tagID - the id of the target tag updatedTag - the updated tag model

func (BaseClient) UpdateTagPreparer Uses

func (client BaseClient) UpdateTagPreparer(ctx context.Context, projectID uuid.UUID, tagID uuid.UUID, updatedTag Tag) (*http.Request, error)

UpdateTagPreparer prepares the UpdateTag request.

func (BaseClient) UpdateTagResponder Uses

func (client BaseClient) UpdateTagResponder(resp *http.Response) (result Tag, err error)

UpdateTagResponder handles the response to the UpdateTag request. The method always closes the http.Response Body.

func (BaseClient) UpdateTagSender Uses

func (client BaseClient) UpdateTagSender(req *http.Request) (*http.Response, error)

UpdateTagSender sends the UpdateTag request. The method will close the http.Response Body if it receives an error.

type BoundingBox Uses

type BoundingBox struct {
    Left   *float64 `json:"left,omitempty"`
    Top    *float64 `json:"top,omitempty"`
    Width  *float64 `json:"width,omitempty"`
    Height *float64 `json:"height,omitempty"`
}

BoundingBox ...

type Domain Uses

type Domain struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY
    ID  *uuid.UUID `json:"id,omitempty"`
    // Name - READ-ONLY
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Possible values include: 'Classification', 'ObjectDetection'
    Type DomainType `json:"type,omitempty"`
    // Exportable - READ-ONLY
    Exportable *bool `json:"exportable,omitempty"`
    // Enabled - READ-ONLY
    Enabled *bool `json:"enabled,omitempty"`
}

Domain ...

type DomainType Uses

type DomainType string

DomainType enumerates the values for domain type.

const (
    // Classification ...
    Classification DomainType = "Classification"
    // ObjectDetection ...
    ObjectDetection DomainType = "ObjectDetection"
)

func PossibleDomainTypeValues Uses

func PossibleDomainTypeValues() []DomainType

PossibleDomainTypeValues returns an array of possible values for the DomainType const type.

type Export Uses

type Export struct {
    autorest.Response `json:"-"`
    // Platform - READ-ONLY; Possible values include: 'CoreML', 'TensorFlow', 'DockerFile', 'ONNX'
    Platform ExportPlatform `json:"platform,omitempty"`
    // Status - READ-ONLY; Possible values include: 'Exporting', 'Failed', 'Done'
    Status ExportStatusModel `json:"status,omitempty"`
    // DownloadURI - READ-ONLY
    DownloadURI *string `json:"downloadUri,omitempty"`
    // Flavor - READ-ONLY; Possible values include: 'Linux', 'Windows'
    Flavor ExportFlavor `json:"flavor,omitempty"`
}

Export ...

type ExportFlavor Uses

type ExportFlavor string

ExportFlavor enumerates the values for export flavor.

const (
    // Linux ...
    Linux ExportFlavor = "Linux"
    // Windows ...
    Windows ExportFlavor = "Windows"
)

func PossibleExportFlavorValues Uses

func PossibleExportFlavorValues() []ExportFlavor

PossibleExportFlavorValues returns an array of possible values for the ExportFlavor const type.

type ExportPlatform Uses

type ExportPlatform string

ExportPlatform enumerates the values for export platform.

const (
    // CoreML ...
    CoreML ExportPlatform = "CoreML"
    // DockerFile ...
    DockerFile ExportPlatform = "DockerFile"
    // ONNX ...
    ONNX ExportPlatform = "ONNX"
    // TensorFlow ...
    TensorFlow ExportPlatform = "TensorFlow"
)

func PossibleExportPlatformValues Uses

func PossibleExportPlatformValues() []ExportPlatform

PossibleExportPlatformValues returns an array of possible values for the ExportPlatform const type.

type ExportStatusModel Uses

type ExportStatusModel string

ExportStatusModel enumerates the values for export status model.

const (
    // Done ...
    Done ExportStatusModel = "Done"
    // Exporting ...
    Exporting ExportStatusModel = "Exporting"
    // Failed ...
    Failed ExportStatusModel = "Failed"
)

func PossibleExportStatusModelValues Uses

func PossibleExportStatusModelValues() []ExportStatusModel

PossibleExportStatusModelValues returns an array of possible values for the ExportStatusModel const type.

type Image Uses

type Image struct {
    // ID - READ-ONLY
    ID  *uuid.UUID `json:"id,omitempty"`
    // Created - READ-ONLY
    Created *date.Time `json:"created,omitempty"`
    // Width - READ-ONLY
    Width *int32 `json:"width,omitempty"`
    // Height - READ-ONLY
    Height *int32 `json:"height,omitempty"`
    // ImageURI - READ-ONLY
    ImageURI *string `json:"imageUri,omitempty"`
    // ThumbnailURI - READ-ONLY
    ThumbnailURI *string `json:"thumbnailUri,omitempty"`
    // Tags - READ-ONLY
    Tags *[]ImageTag `json:"tags,omitempty"`
    // Regions - READ-ONLY
    Regions *[]ImageRegion `json:"regions,omitempty"`
}

Image image model to be sent as JSON

type ImageCreateResult Uses

type ImageCreateResult struct {
    // SourceURL - READ-ONLY
    SourceURL *string `json:"sourceUrl,omitempty"`
    // Status - READ-ONLY; Possible values include: 'OK', 'OKDuplicate', 'ErrorSource', 'ErrorImageFormat', 'ErrorImageSize', 'ErrorStorage', 'ErrorLimitExceed', 'ErrorTagLimitExceed', 'ErrorRegionLimitExceed', 'ErrorUnknown'
    Status ImageUploadStatus `json:"status,omitempty"`
    // Image - READ-ONLY
    Image *Image `json:"image,omitempty"`
}

ImageCreateResult ...

type ImageCreateSummary Uses

type ImageCreateSummary struct {
    autorest.Response `json:"-"`
    // IsBatchSuccessful - READ-ONLY
    IsBatchSuccessful *bool `json:"isBatchSuccessful,omitempty"`
    // Images - READ-ONLY
    Images *[]ImageCreateResult `json:"images,omitempty"`
}

ImageCreateSummary ...

type ImageFileCreateBatch Uses

type ImageFileCreateBatch struct {
    Images *[]ImageFileCreateEntry `json:"images,omitempty"`
    TagIds *[]uuid.UUID            `json:"tagIds,omitempty"`
}

ImageFileCreateBatch ...

type ImageFileCreateEntry Uses

type ImageFileCreateEntry struct {
    Name     *string      `json:"name,omitempty"`
    Contents *[]byte      `json:"contents,omitempty"`
    TagIds   *[]uuid.UUID `json:"tagIds,omitempty"`
    Regions  *[]Region    `json:"regions,omitempty"`
}

ImageFileCreateEntry ...

type ImageIDCreateBatch Uses

type ImageIDCreateBatch struct {
    Images *[]ImageIDCreateEntry `json:"images,omitempty"`
    TagIds *[]uuid.UUID          `json:"tagIds,omitempty"`
}

ImageIDCreateBatch ...

type ImageIDCreateEntry Uses

type ImageIDCreateEntry struct {
    ID      *uuid.UUID   `json:"id,omitempty"`
    TagIds  *[]uuid.UUID `json:"tagIds,omitempty"`
    Regions *[]Region    `json:"regions,omitempty"`
}

ImageIDCreateEntry ...

type ImagePerformance Uses

type ImagePerformance struct {
    // Predictions - READ-ONLY
    Predictions *[]Prediction `json:"predictions,omitempty"`
    // ID - READ-ONLY
    ID  *uuid.UUID `json:"id,omitempty"`
    // Created - READ-ONLY
    Created *date.Time `json:"created,omitempty"`
    // Width - READ-ONLY
    Width *int32 `json:"width,omitempty"`
    // Height - READ-ONLY
    Height *int32 `json:"height,omitempty"`
    // ImageURI - READ-ONLY
    ImageURI *string `json:"imageUri,omitempty"`
    // ThumbnailURI - READ-ONLY
    ThumbnailURI *string `json:"thumbnailUri,omitempty"`
    // Tags - READ-ONLY
    Tags *[]ImageTag `json:"tags,omitempty"`
    // Regions - READ-ONLY
    Regions *[]ImageRegion `json:"regions,omitempty"`
}

ImagePerformance image performance model

type ImagePrediction Uses

type ImagePrediction struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY
    ID  *uuid.UUID `json:"id,omitempty"`
    // Project - READ-ONLY
    Project *uuid.UUID `json:"project,omitempty"`
    // Iteration - READ-ONLY
    Iteration *uuid.UUID `json:"iteration,omitempty"`
    // Created - READ-ONLY
    Created *date.Time `json:"created,omitempty"`
    // Predictions - READ-ONLY
    Predictions *[]Prediction `json:"predictions,omitempty"`
}

ImagePrediction ...

type ImageRegion Uses

type ImageRegion struct {
    // RegionID - READ-ONLY
    RegionID *uuid.UUID `json:"regionId,omitempty"`
    // TagName - READ-ONLY
    TagName *string `json:"tagName,omitempty"`
    // Created - READ-ONLY
    Created *date.Time `json:"created,omitempty"`
    TagID   *uuid.UUID `json:"tagId,omitempty"`
    Left    *float64   `json:"left,omitempty"`
    Top     *float64   `json:"top,omitempty"`
    Width   *float64   `json:"width,omitempty"`
    Height  *float64   `json:"height,omitempty"`
}

ImageRegion ...

type ImageRegionCreateBatch Uses

type ImageRegionCreateBatch struct {
    Regions *[]ImageRegionCreateEntry `json:"regions,omitempty"`
}

ImageRegionCreateBatch batch of image region information to create.

type ImageRegionCreateEntry Uses

type ImageRegionCreateEntry struct {
    ImageID *uuid.UUID `json:"imageId,omitempty"`
    TagID   *uuid.UUID `json:"tagId,omitempty"`
    Left    *float64   `json:"left,omitempty"`
    Top     *float64   `json:"top,omitempty"`
    Width   *float64   `json:"width,omitempty"`
    Height  *float64   `json:"height,omitempty"`
}

ImageRegionCreateEntry ...

type ImageRegionCreateResult Uses

type ImageRegionCreateResult struct {
    // ImageID - READ-ONLY
    ImageID *uuid.UUID `json:"imageId,omitempty"`
    // RegionID - READ-ONLY
    RegionID *uuid.UUID `json:"regionId,omitempty"`
    // TagName - READ-ONLY
    TagName *string `json:"tagName,omitempty"`
    // Created - READ-ONLY
    Created *date.Time `json:"created,omitempty"`
    TagID   *uuid.UUID `json:"tagId,omitempty"`
    Left    *float64   `json:"left,omitempty"`
    Top     *float64   `json:"top,omitempty"`
    Width   *float64   `json:"width,omitempty"`
    Height  *float64   `json:"height,omitempty"`
}

ImageRegionCreateResult ...

type ImageRegionCreateSummary Uses

type ImageRegionCreateSummary struct {
    autorest.Response `json:"-"`
    Created           *[]ImageRegionCreateResult `json:"created,omitempty"`
    Duplicated        *[]ImageRegionCreateEntry  `json:"duplicated,omitempty"`
    Exceeded          *[]ImageRegionCreateEntry  `json:"exceeded,omitempty"`
}

ImageRegionCreateSummary ...

type ImageRegionProposal Uses

type ImageRegionProposal struct {
    autorest.Response `json:"-"`
    // ProjectID - READ-ONLY
    ProjectID *uuid.UUID `json:"projectId,omitempty"`
    // ImageID - READ-ONLY
    ImageID *uuid.UUID `json:"imageId,omitempty"`
    // Proposals - READ-ONLY
    Proposals *[]RegionProposal `json:"proposals,omitempty"`
}

ImageRegionProposal ...

type ImageTag Uses

type ImageTag struct {
    // TagID - READ-ONLY
    TagID *uuid.UUID `json:"tagId,omitempty"`
    // TagName - READ-ONLY
    TagName *string `json:"tagName,omitempty"`
    // Created - READ-ONLY
    Created *date.Time `json:"created,omitempty"`
}

ImageTag ...

type ImageTagCreateBatch Uses

type ImageTagCreateBatch struct {
    Tags *[]ImageTagCreateEntry `json:"tags,omitempty"`
}

ImageTagCreateBatch ...

type ImageTagCreateEntry Uses

type ImageTagCreateEntry struct {
    ImageID *uuid.UUID `json:"imageId,omitempty"`
    TagID   *uuid.UUID `json:"tagId,omitempty"`
}

ImageTagCreateEntry ...

type ImageTagCreateSummary Uses

type ImageTagCreateSummary struct {
    autorest.Response `json:"-"`
    Created           *[]ImageTagCreateEntry `json:"created,omitempty"`
    Duplicated        *[]ImageTagCreateEntry `json:"duplicated,omitempty"`
    Exceeded          *[]ImageTagCreateEntry `json:"exceeded,omitempty"`
}

ImageTagCreateSummary ...

type ImageURL Uses

type ImageURL struct {
    URL *string `json:"url,omitempty"`
}

ImageURL ...

type ImageURLCreateBatch Uses

type ImageURLCreateBatch struct {
    Images *[]ImageURLCreateEntry `json:"images,omitempty"`
    TagIds *[]uuid.UUID           `json:"tagIds,omitempty"`
}

ImageURLCreateBatch ...

type ImageURLCreateEntry Uses

type ImageURLCreateEntry struct {
    URL     *string      `json:"url,omitempty"`
    TagIds  *[]uuid.UUID `json:"tagIds,omitempty"`
    Regions *[]Region    `json:"regions,omitempty"`
}

ImageURLCreateEntry ...

type ImageUploadStatus Uses

type ImageUploadStatus string

ImageUploadStatus enumerates the values for image upload status.

const (
    // ErrorImageFormat ...
    ErrorImageFormat ImageUploadStatus = "ErrorImageFormat"
    // ErrorImageSize ...
    ErrorImageSize ImageUploadStatus = "ErrorImageSize"
    // ErrorLimitExceed ...
    ErrorLimitExceed ImageUploadStatus = "ErrorLimitExceed"
    // ErrorRegionLimitExceed ...
    ErrorRegionLimitExceed ImageUploadStatus = "ErrorRegionLimitExceed"
    // ErrorSource ...
    ErrorSource ImageUploadStatus = "ErrorSource"
    // ErrorStorage ...
    ErrorStorage ImageUploadStatus = "ErrorStorage"
    // ErrorTagLimitExceed ...
    ErrorTagLimitExceed ImageUploadStatus = "ErrorTagLimitExceed"
    // ErrorUnknown ...
    ErrorUnknown ImageUploadStatus = "ErrorUnknown"
    // OK ...
    OK  ImageUploadStatus = "OK"
    // OKDuplicate ...
    OKDuplicate ImageUploadStatus = "OKDuplicate"
)

func PossibleImageUploadStatusValues Uses

func PossibleImageUploadStatusValues() []ImageUploadStatus

PossibleImageUploadStatusValues returns an array of possible values for the ImageUploadStatus const type.

type Int32 Uses

type Int32 struct {
    autorest.Response `json:"-"`
    Value             *int32 `json:"value,omitempty"`
}

Int32 ...

type Iteration Uses

type Iteration struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; Gets the id of the iteration
    ID  *uuid.UUID `json:"id,omitempty"`
    // Name - Gets or sets the name of the iteration
    Name *string `json:"name,omitempty"`
    // IsDefault - Gets or sets a value indicating whether the iteration is the default iteration for the project
    IsDefault *bool `json:"isDefault,omitempty"`
    // Status - READ-ONLY; Gets the current iteration status
    Status *string `json:"status,omitempty"`
    // Created - READ-ONLY; Gets the time this iteration was completed
    Created *date.Time `json:"created,omitempty"`
    // LastModified - READ-ONLY; Gets the time this iteration was last modified
    LastModified *date.Time `json:"lastModified,omitempty"`
    // TrainedAt - READ-ONLY; Gets the time this iteration was last modified
    TrainedAt *date.Time `json:"trainedAt,omitempty"`
    // ProjectID - READ-ONLY; Gets the project id of the iteration
    ProjectID *uuid.UUID `json:"projectId,omitempty"`
    // Exportable - READ-ONLY; Whether the iteration can be exported to another format for download
    Exportable *bool `json:"exportable,omitempty"`
    // DomainID - READ-ONLY; Get or sets a guid of the domain the iteration has been trained on
    DomainID *uuid.UUID `json:"domainId,omitempty"`
}

Iteration iteration model to be sent over JSON

type IterationPerformance Uses

type IterationPerformance struct {
    autorest.Response `json:"-"`
    // PerTagPerformance - READ-ONLY; Gets the per-tag performance details for this iteration
    PerTagPerformance *[]TagPerformance `json:"perTagPerformance,omitempty"`
    // Precision - READ-ONLY; Gets the precision
    Precision *float64 `json:"precision,omitempty"`
    // PrecisionStdDeviation - READ-ONLY; Gets the standard deviation for the precision
    PrecisionStdDeviation *float64 `json:"precisionStdDeviation,omitempty"`
    // Recall - READ-ONLY; Gets the recall
    Recall *float64 `json:"recall,omitempty"`
    // RecallStdDeviation - READ-ONLY; Gets the standard deviation for the recall
    RecallStdDeviation *float64 `json:"recallStdDeviation,omitempty"`
    // AveragePrecision - READ-ONLY; Gets the average precision when applicable
    AveragePrecision *float64 `json:"averagePrecision,omitempty"`
}

IterationPerformance represents the detailed performance data for a trained iteration

type ListDomain Uses

type ListDomain struct {
    autorest.Response `json:"-"`
    Value             *[]Domain `json:"value,omitempty"`
}

ListDomain ...

type ListExport Uses

type ListExport struct {
    autorest.Response `json:"-"`
    Value             *[]Export `json:"value,omitempty"`
}

ListExport ...

type ListImage Uses

type ListImage struct {
    autorest.Response `json:"-"`
    Value             *[]Image `json:"value,omitempty"`
}

ListImage ...

type ListImagePerformance Uses

type ListImagePerformance struct {
    autorest.Response `json:"-"`
    Value             *[]ImagePerformance `json:"value,omitempty"`
}

ListImagePerformance ...

type ListIteration Uses

type ListIteration struct {
    autorest.Response `json:"-"`
    Value             *[]Iteration `json:"value,omitempty"`
}

ListIteration ...

type ListProject Uses

type ListProject struct {
    autorest.Response `json:"-"`
    Value             *[]Project `json:"value,omitempty"`
}

ListProject ...

type ListTag Uses

type ListTag struct {
    autorest.Response `json:"-"`
    Value             *[]Tag `json:"value,omitempty"`
}

ListTag ...

type OrderBy Uses

type OrderBy string

OrderBy enumerates the values for order by.

const (
    // Newest ...
    Newest OrderBy = "Newest"
    // Oldest ...
    Oldest OrderBy = "Oldest"
    // Suggested ...
    Suggested OrderBy = "Suggested"
)

func PossibleOrderByValues Uses

func PossibleOrderByValues() []OrderBy

PossibleOrderByValues returns an array of possible values for the OrderBy const type.

type Prediction Uses

type Prediction struct {
    // Probability - READ-ONLY
    Probability *float64 `json:"probability,omitempty"`
    // TagID - READ-ONLY
    TagID *uuid.UUID `json:"tagId,omitempty"`
    // TagName - READ-ONLY
    TagName *string `json:"tagName,omitempty"`
    // BoundingBox - READ-ONLY
    BoundingBox *BoundingBox `json:"boundingBox,omitempty"`
}

Prediction ...

type PredictionQueryResult Uses

type PredictionQueryResult struct {
    autorest.Response `json:"-"`
    // Token - READ-ONLY
    Token *PredictionQueryToken `json:"token,omitempty"`
    // Results - READ-ONLY
    Results *[]StoredImagePrediction `json:"results,omitempty"`
}

PredictionQueryResult ...

type PredictionQueryTag Uses

type PredictionQueryTag struct {
    // ID - READ-ONLY
    ID  *uuid.UUID `json:"id,omitempty"`
    // MinThreshold - READ-ONLY
    MinThreshold *float64 `json:"minThreshold,omitempty"`
    // MaxThreshold - READ-ONLY
    MaxThreshold *float64 `json:"maxThreshold,omitempty"`
}

PredictionQueryTag ...

type PredictionQueryToken Uses

type PredictionQueryToken struct {
    Session      *string `json:"session,omitempty"`
    Continuation *string `json:"continuation,omitempty"`
    MaxCount     *int32  `json:"maxCount,omitempty"`
    // OrderBy - Possible values include: 'Newest', 'Oldest', 'Suggested'
    OrderBy     OrderBy               `json:"orderBy,omitempty"`
    Tags        *[]PredictionQueryTag `json:"tags,omitempty"`
    IterationID *uuid.UUID            `json:"iterationId,omitempty"`
    StartTime   *date.Time            `json:"startTime,omitempty"`
    EndTime     *date.Time            `json:"endTime,omitempty"`
    Application *string               `json:"application,omitempty"`
}

PredictionQueryToken ...

type Project Uses

type Project struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; Gets the project id
    ID  *uuid.UUID `json:"id,omitempty"`
    // Name - Gets or sets the name of the project
    Name *string `json:"name,omitempty"`
    // Description - Gets or sets the description of the project
    Description *string `json:"description,omitempty"`
    // Settings - Gets or sets the project settings
    Settings *ProjectSettings `json:"settings,omitempty"`
    // Created - READ-ONLY; Gets the date this project was created
    Created *date.Time `json:"created,omitempty"`
    // LastModified - READ-ONLY; Gets the date this project was last modified
    LastModified *date.Time `json:"lastModified,omitempty"`
    // ThumbnailURI - READ-ONLY; Gets the thumbnail url representing the project
    ThumbnailURI *string `json:"thumbnailUri,omitempty"`
}

Project represents a project

type ProjectSettings Uses

type ProjectSettings struct {
    // DomainID - Gets or sets the id of the Domain to use with this project
    DomainID *uuid.UUID `json:"domainId,omitempty"`
}

ProjectSettings represents settings associated with a project

type Region Uses

type Region struct {
    TagID  *uuid.UUID `json:"tagId,omitempty"`
    Left   *float64   `json:"left,omitempty"`
    Top    *float64   `json:"top,omitempty"`
    Width  *float64   `json:"width,omitempty"`
    Height *float64   `json:"height,omitempty"`
}

Region ...

type RegionProposal Uses

type RegionProposal struct {
    // Confidence - READ-ONLY
    Confidence *float64 `json:"confidence,omitempty"`
    // BoundingBox - READ-ONLY
    BoundingBox *BoundingBox `json:"boundingBox,omitempty"`
}

RegionProposal ...

type StoredImagePrediction Uses

type StoredImagePrediction struct {
    // ImageURI - READ-ONLY
    ImageURI *string `json:"imageUri,omitempty"`
    // ThumbnailURI - READ-ONLY
    ThumbnailURI *string `json:"thumbnailUri,omitempty"`
    // Domain - READ-ONLY
    Domain *uuid.UUID `json:"domain,omitempty"`
    // ID - READ-ONLY
    ID  *uuid.UUID `json:"id,omitempty"`
    // Project - READ-ONLY
    Project *uuid.UUID `json:"project,omitempty"`
    // Iteration - READ-ONLY
    Iteration *uuid.UUID `json:"iteration,omitempty"`
    // Created - READ-ONLY
    Created *date.Time `json:"created,omitempty"`
    // Predictions - READ-ONLY
    Predictions *[]Prediction `json:"predictions,omitempty"`
}

StoredImagePrediction result of an image classification request

type Tag Uses

type Tag struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; Gets the Tag ID
    ID  *uuid.UUID `json:"id,omitempty"`
    // Name - Gets or sets the name of the tag
    Name *string `json:"name,omitempty"`
    // Description - Gets or sets the description of the tag
    Description *string `json:"description,omitempty"`
    // ImageCount - READ-ONLY; Gets the number of images with this tag
    ImageCount *int32 `json:"imageCount,omitempty"`
}

Tag represents a Tag

type TagPerformance Uses

type TagPerformance struct {
    // ID - READ-ONLY
    ID  *uuid.UUID `json:"id,omitempty"`
    // Name - READ-ONLY
    Name *string `json:"name,omitempty"`
    // Precision - READ-ONLY; Gets the precision
    Precision *float64 `json:"precision,omitempty"`
    // PrecisionStdDeviation - READ-ONLY; Gets the standard deviation for the precision
    PrecisionStdDeviation *float64 `json:"precisionStdDeviation,omitempty"`
    // Recall - READ-ONLY; Gets the recall
    Recall *float64 `json:"recall,omitempty"`
    // RecallStdDeviation - READ-ONLY; Gets the standard deviation for the recall
    RecallStdDeviation *float64 `json:"recallStdDeviation,omitempty"`
    // AveragePrecision - READ-ONLY; Gets the average precision when applicable
    AveragePrecision *float64 `json:"averagePrecision,omitempty"`
}

TagPerformance represents performance data for a particular tag in a trained iteration

Directories

PathSynopsis
trainingapi

Package training imports 10 packages (graph) and is imported by 3 packages. Updated 2019-08-02. Refresh now. Tools for package owners.