PyTorch Class
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.
PyTorch distribution configuration.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.PyTorchTypeConverter))]
public class PyTorch : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IPyTorch, Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.PyTorchTypeConverter))>]
type PyTorch = class
interface IPyTorch
interface IJsonSerializable
interface IDistributionConfiguration
interface IValidates
Public Class PyTorch
Implements IPyTorch, IValidates
- Inheritance
-
PyTorch
- Attributes
- Implements
Constructors
PyTorch() |
Creates an new PyTorch instance. |
Properties
DistributionType |
[Required] Specifies the type of distribution framework. |
ProcessCountPerInstance |
Number of processes per node. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of PyTorch. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IPyTorch. |
FromJsonString(String) |
Creates a new instance of PyTorch, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() | |
Validate(IEventListener) |
Validates that this object meets the validation criteria. |