Represents the static functionality for tensors implemented by a dfx backend.
| Constructor |
Description
|
|
|
| Instance member |
Description
|
|
|
Full Usage:
this.GetDevices
Parameters:
DeviceType
Returns: Device list
Modifiers: abstract |
|
Full Usage:
this.IsDeviceTypeAvailable
Parameters:
DeviceType
Returns: bool
Modifiers: abstract |
|
|
|
|
|
|
|
Full Usage:
this.Seed
Parameters:
int
Modifiers: abstract |
Sets the seed for the default random number generator of the backend
|
|
| Static member |
Description
|
Full Usage:
BackendTensorStatics.Get(?backend)
Parameters:
Backend
Returns: BackendTensorStatics
|
Get the backend implementation for the given tensor element type and backend.
|
Full Usage:
BackendTensorStatics.Seed(?seed)
Parameters:
int
|
Seed all backends with the given random seed, or a new seed based on the current time if no seed is specified.
|
© Copyright 2021, DiffSharp and dfx Contributors.