ArmMachineLearningModelFactory.MachineLearningBatchDeploymentProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of MachineLearningBatchDeploymentProperties.
public static Azure.ResourceManager.MachineLearning.Models.MachineLearningBatchDeploymentProperties MachineLearningBatchDeploymentProperties (Azure.ResourceManager.MachineLearning.Models.MachineLearningCodeConfiguration codeConfiguration = default, string description = default, string environmentId = default, System.Collections.Generic.IDictionary<string,string> environmentVariables = default, System.Collections.Generic.IDictionary<string,string> properties = default, string compute = default, Azure.ResourceManager.MachineLearning.Models.BatchDeploymentConfiguration deploymentConfiguration = default, int? errorThreshold = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningBatchLoggingLevel? loggingLevel = default, int? maxConcurrencyPerInstance = default, long? miniBatchSize = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningAssetReferenceBase model = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningBatchOutputAction? outputAction = default, string outputFileName = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningDeploymentProvisioningState? provisioningState = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningDeploymentResourceConfiguration resources = default, Azure.ResourceManager.MachineLearning.Models.MachineLearningBatchRetrySettings retrySettings = default);
static member MachineLearningBatchDeploymentProperties : Azure.ResourceManager.MachineLearning.Models.MachineLearningCodeConfiguration * string * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * string * Azure.ResourceManager.MachineLearning.Models.BatchDeploymentConfiguration * Nullable<int> * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningBatchLoggingLevel> * Nullable<int> * Nullable<int64> * Azure.ResourceManager.MachineLearning.Models.MachineLearningAssetReferenceBase * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningBatchOutputAction> * string * Nullable<Azure.ResourceManager.MachineLearning.Models.MachineLearningDeploymentProvisioningState> * Azure.ResourceManager.MachineLearning.Models.MachineLearningDeploymentResourceConfiguration * Azure.ResourceManager.MachineLearning.Models.MachineLearningBatchRetrySettings -> Azure.ResourceManager.MachineLearning.Models.MachineLearningBatchDeploymentProperties
Public Shared Function MachineLearningBatchDeploymentProperties (Optional codeConfiguration As MachineLearningCodeConfiguration = Nothing, Optional description As String = Nothing, Optional environmentId As String = Nothing, Optional environmentVariables As IDictionary(Of String, String) = Nothing, Optional properties As IDictionary(Of String, String) = Nothing, Optional compute As String = Nothing, Optional deploymentConfiguration As BatchDeploymentConfiguration = Nothing, Optional errorThreshold As Nullable(Of Integer) = Nothing, Optional loggingLevel As Nullable(Of MachineLearningBatchLoggingLevel) = Nothing, Optional maxConcurrencyPerInstance As Nullable(Of Integer) = Nothing, Optional miniBatchSize As Nullable(Of Long) = Nothing, Optional model As MachineLearningAssetReferenceBase = Nothing, Optional outputAction As Nullable(Of MachineLearningBatchOutputAction) = Nothing, Optional outputFileName As String = Nothing, Optional provisioningState As Nullable(Of MachineLearningDeploymentProvisioningState) = Nothing, Optional resources As MachineLearningDeploymentResourceConfiguration = Nothing, Optional retrySettings As MachineLearningBatchRetrySettings = Nothing) As MachineLearningBatchDeploymentProperties
Parameters
- codeConfiguration
- MachineLearningCodeConfiguration
Code configuration for the endpoint deployment.
- description
- String
Description of the endpoint deployment.
- environmentId
- String
ARM resource ID of the environment specification for the endpoint deployment.
- environmentVariables
- IDictionary<String,String>
Environment variables configuration for the deployment.
- properties
- IDictionary<String,String>
Property dictionary. Properties can be added, but not removed or altered.
- compute
- String
Compute target for batch inference operation.
- deploymentConfiguration
- BatchDeploymentConfiguration
Properties relevant to different deployment types. Please note BatchDeploymentConfiguration is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include BatchPipelineComponentDeploymentConfiguration.
Error threshold, if the error count for the entire input goes above this value, the batch inference will be aborted. Range is [-1, int.MaxValue]. For FileDataset, this value is the count of file failures. For TabularDataset, this value is the count of record failures. If set to -1 (the lower bound), all failures during batch inference will be ignored.
- loggingLevel
- Nullable<MachineLearningBatchLoggingLevel>
Logging level for batch inference operation.
Size of the mini-batch passed to each batch invocation. For FileDataset, this is the number of files per mini-batch. For TabularDataset, this is the size of the records in bytes, per mini-batch.
Reference to the model asset for the endpoint deployment. Please note MachineLearningAssetReferenceBase is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MachineLearningDataPathAssetReference, MachineLearningOutputPathAssetReference and MachineLearningIdAssetReference.
- outputAction
- Nullable<MachineLearningBatchOutputAction>
Indicates how the output will be organized.
- outputFileName
- String
Customized output file name for append_row output action.
- provisioningState
- Nullable<MachineLearningDeploymentProvisioningState>
Provisioning state for the endpoint deployment.
Indicates compute configuration for the job. If not provided, will default to the defaults defined in ResourceConfiguration.
- retrySettings
- MachineLearningBatchRetrySettings
Retry Settings for the batch inference operation. If not provided, will default to the defaults defined in BatchRetrySettings.
Returns
A new MachineLearningBatchDeploymentProperties instance for mocking.
Applies to
Azure SDK for .NET
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro