Represents the static functionality for tensors implemented by a DiffSharp backend.
Constructor | Description |
|
|
Instance member | Description |
Create a tensor of appropriate dtype from a scalar or array of appropriate values. A backend type is delivered consistent with in-memory data - a type for dtype Int32 gets int32 data etc.
|
|
|
|
|
|
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 |
|
|
|
|
|
Static member | Description |
Full Usage:
BackendTensorStatics.Get(?backend)
Parameters:
Backend
Returns: BackendTensorStatics
|
|
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 Contributors.