Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR] cognitiveservices/data-plane/CustomVision/Training #5996

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 27 additions & 6 deletions profiles/latest/cognitiveservices/customvision/training/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

package training

import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v3.0/customvision/training"
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v3.1/customvision/training"

type Classifier = original.Classifier

Expand Down Expand Up @@ -78,6 +78,7 @@ const (
BadRequestPredictionResultsExceededCount CustomVisionErrorCodes = original.BadRequestPredictionResultsExceededCount
BadRequestPredictionTagsExceededCount CustomVisionErrorCodes = original.BadRequestPredictionTagsExceededCount
BadRequestProjectDescription CustomVisionErrorCodes = original.BadRequestProjectDescription
BadRequestProjectImagePreprocessingSettings CustomVisionErrorCodes = original.BadRequestProjectImagePreprocessingSettings
BadRequestProjectName CustomVisionErrorCodes = original.BadRequestProjectName
BadRequestProjectNameNotUnique CustomVisionErrorCodes = original.BadRequestProjectNameNotUnique
BadRequestProjectUnknownClassification CustomVisionErrorCodes = original.BadRequestProjectUnknownClassification
Expand Down Expand Up @@ -156,11 +157,13 @@ const (
type ExportFlavor = original.ExportFlavor

const (
ARM ExportFlavor = original.ARM
Linux ExportFlavor = original.Linux
ONNX10 ExportFlavor = original.ONNX10
ONNX12 ExportFlavor = original.ONNX12
Windows ExportFlavor = original.Windows
ARM ExportFlavor = original.ARM
Linux ExportFlavor = original.Linux
ONNX10 ExportFlavor = original.ONNX10
ONNX12 ExportFlavor = original.ONNX12
TensorFlowLite ExportFlavor = original.TensorFlowLite
TensorFlowNormal ExportFlavor = original.TensorFlowNormal
Windows ExportFlavor = original.Windows
)

type ExportPlatform = original.ExportPlatform
Expand Down Expand Up @@ -205,6 +208,13 @@ const (
Suggested OrderBy = original.Suggested
)

type SortBy = original.SortBy

const (
UncertaintyAscending SortBy = original.UncertaintyAscending
UncertaintyDescending SortBy = original.UncertaintyDescending
)

type TagType = original.TagType

const (
Expand Down Expand Up @@ -234,6 +244,7 @@ type ImageIDCreateBatch = original.ImageIDCreateBatch
type ImageIDCreateEntry = original.ImageIDCreateEntry
type ImagePerformance = original.ImagePerformance
type ImagePrediction = original.ImagePrediction
type ImageProcessingSettings = original.ImageProcessingSettings
type ImageRegion = original.ImageRegion
type ImageRegionCreateBatch = original.ImageRegionCreateBatch
type ImageRegionCreateEntry = original.ImageRegionCreateEntry
Expand All @@ -256,6 +267,7 @@ type ListImage = original.ListImage
type ListImagePerformance = original.ListImagePerformance
type ListIteration = original.ListIteration
type ListProject = original.ListProject
type ListSuggestedTagAndRegion = original.ListSuggestedTagAndRegion
type ListTag = original.ListTag
type Prediction = original.Prediction
type PredictionQueryResult = original.PredictionQueryResult
Expand All @@ -265,8 +277,14 @@ type Project = original.Project
type ProjectSettings = original.ProjectSettings
type Region = original.Region
type RegionProposal = original.RegionProposal
type SetInt32 = original.SetInt32
type StoredImagePrediction = original.StoredImagePrediction
type StoredSuggestedTagAndRegion = original.StoredSuggestedTagAndRegion
type SuggestedTagAndRegion = original.SuggestedTagAndRegion
type SuggestedTagAndRegionQuery = original.SuggestedTagAndRegionQuery
type SuggestedTagAndRegionQueryToken = original.SuggestedTagAndRegionQueryToken
type Tag = original.Tag
type TagFilter = original.TagFilter
type TagPerformance = original.TagPerformance

func New(aPIKey string, endpoint string) BaseClient {
Expand Down Expand Up @@ -299,6 +317,9 @@ func PossibleImageCreateStatusValues() []ImageCreateStatus {
func PossibleOrderByValues() []OrderBy {
return original.PossibleOrderByValues()
}
func PossibleSortByValues() []SortBy {
return original.PossibleSortByValues()
}
func PossibleTagTypeValues() []TagType {
return original.PossibleTagTypeValues()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@

package trainingapi

import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v3.0/customvision/training/trainingapi"
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v3.1/customvision/training/trainingapi"

type BaseClientAPI = original.BaseClientAPI
33 changes: 27 additions & 6 deletions profiles/preview/cognitiveservices/customvision/training/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

package training

import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v3.0/customvision/training"
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v3.1/customvision/training"

type Classifier = original.Classifier

Expand Down Expand Up @@ -78,6 +78,7 @@ const (
BadRequestPredictionResultsExceededCount CustomVisionErrorCodes = original.BadRequestPredictionResultsExceededCount
BadRequestPredictionTagsExceededCount CustomVisionErrorCodes = original.BadRequestPredictionTagsExceededCount
BadRequestProjectDescription CustomVisionErrorCodes = original.BadRequestProjectDescription
BadRequestProjectImagePreprocessingSettings CustomVisionErrorCodes = original.BadRequestProjectImagePreprocessingSettings
BadRequestProjectName CustomVisionErrorCodes = original.BadRequestProjectName
BadRequestProjectNameNotUnique CustomVisionErrorCodes = original.BadRequestProjectNameNotUnique
BadRequestProjectUnknownClassification CustomVisionErrorCodes = original.BadRequestProjectUnknownClassification
Expand Down Expand Up @@ -156,11 +157,13 @@ const (
type ExportFlavor = original.ExportFlavor

const (
ARM ExportFlavor = original.ARM
Linux ExportFlavor = original.Linux
ONNX10 ExportFlavor = original.ONNX10
ONNX12 ExportFlavor = original.ONNX12
Windows ExportFlavor = original.Windows
ARM ExportFlavor = original.ARM
Linux ExportFlavor = original.Linux
ONNX10 ExportFlavor = original.ONNX10
ONNX12 ExportFlavor = original.ONNX12
TensorFlowLite ExportFlavor = original.TensorFlowLite
TensorFlowNormal ExportFlavor = original.TensorFlowNormal
Windows ExportFlavor = original.Windows
)

type ExportPlatform = original.ExportPlatform
Expand Down Expand Up @@ -205,6 +208,13 @@ const (
Suggested OrderBy = original.Suggested
)

type SortBy = original.SortBy

const (
UncertaintyAscending SortBy = original.UncertaintyAscending
UncertaintyDescending SortBy = original.UncertaintyDescending
)

type TagType = original.TagType

const (
Expand Down Expand Up @@ -234,6 +244,7 @@ type ImageIDCreateBatch = original.ImageIDCreateBatch
type ImageIDCreateEntry = original.ImageIDCreateEntry
type ImagePerformance = original.ImagePerformance
type ImagePrediction = original.ImagePrediction
type ImageProcessingSettings = original.ImageProcessingSettings
type ImageRegion = original.ImageRegion
type ImageRegionCreateBatch = original.ImageRegionCreateBatch
type ImageRegionCreateEntry = original.ImageRegionCreateEntry
Expand All @@ -256,6 +267,7 @@ type ListImage = original.ListImage
type ListImagePerformance = original.ListImagePerformance
type ListIteration = original.ListIteration
type ListProject = original.ListProject
type ListSuggestedTagAndRegion = original.ListSuggestedTagAndRegion
type ListTag = original.ListTag
type Prediction = original.Prediction
type PredictionQueryResult = original.PredictionQueryResult
Expand All @@ -265,8 +277,14 @@ type Project = original.Project
type ProjectSettings = original.ProjectSettings
type Region = original.Region
type RegionProposal = original.RegionProposal
type SetInt32 = original.SetInt32
type StoredImagePrediction = original.StoredImagePrediction
type StoredSuggestedTagAndRegion = original.StoredSuggestedTagAndRegion
type SuggestedTagAndRegion = original.SuggestedTagAndRegion
type SuggestedTagAndRegionQuery = original.SuggestedTagAndRegionQuery
type SuggestedTagAndRegionQueryToken = original.SuggestedTagAndRegionQueryToken
type Tag = original.Tag
type TagFilter = original.TagFilter
type TagPerformance = original.TagPerformance

func New(aPIKey string, endpoint string) BaseClient {
Expand Down Expand Up @@ -299,6 +317,9 @@ func PossibleImageCreateStatusValues() []ImageCreateStatus {
func PossibleOrderByValues() []OrderBy {
return original.PossibleOrderByValues()
}
func PossibleSortByValues() []SortBy {
return original.PossibleSortByValues()
}
func PossibleTagTypeValues() []TagType {
return original.PossibleTagTypeValues()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@

package trainingapi

import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v3.0/customvision/training/trainingapi"
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v3.1/customvision/training/trainingapi"

type BaseClientAPI = original.BaseClientAPI
Loading