Contains global functions and settings related to tensor element types, used when writing backends.
Function or value | Description |
|
Raise an exception indicating the given operation is not supported for the given tensor element type.
|
|
Raise an exception indicating the given binary operation is not supported for the two given tensor element types.
|
Full Usage:
opNotSupportedOnDeviceType msg dtype deviceType
Parameters:
string
dtype : Dtype
deviceType : DeviceType
Returns: 'a
|
Raise an exception indicating the given operation is not supported for the given tensor device type.
|
Type extension | Description |
Full Usage:
this.IsFloatingPoint
Parameters:
unit
Returns: bool
|
Extended Type:
|
Full Usage:
this.IsFloatingPoint
Returns: bool
|
Extended Type:
|
Full Usage:
this.IsIntegral
Parameters:
unit
Returns: bool
|
Extended Type:
|
Full Usage:
this.IsIntegral
Returns: bool
|
Extended Type:
|
© Copyright 2021, DiffSharp Contributors.