Class ScalarTypeConverter
Represents a type converter for data types that are currently supported between .NET types and torch TorchSharp.torch.ScalarType.
public class ScalarTypeConverter : TypeConverter
- Inheritance
-
ScalarTypeConverter
- Inherited Members
Methods
- CanConvertFrom(ITypeDescriptorContext, Type)
Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.
- CanConvertTo(ITypeDescriptorContext, Type)
Returns whether this converter can convert the object to the specified type, using the specified context.
- ConvertFrom(ITypeDescriptorContext, CultureInfo, object)
Converts the given object to the type of this converter, using the specified context and culture information.
- ConvertTo(ITypeDescriptorContext, CultureInfo, object, Type)
Converts the given value object to the specified type, using the specified context and culture information.
- GetStandardValues(ITypeDescriptorContext)
Returns a collection of standard values for the data type this type converter is designed for when provided with a format context.
- GetStandardValuesExclusive(ITypeDescriptorContext)
Returns whether the collection of standard values returned from GetStandardValues() is an exclusive list of possible values, using the specified context.
- GetStandardValuesSupported(ITypeDescriptorContext)
Returns whether this object supports a standard set of values that can be picked from a list, using the specified context.