dataeval.config¶
Global configuration settings for DataEval.
Attributes¶
Type alias for types that are acceptable for specifying a torch.device. |
Functions¶
|
Returns the PyTorch device to use. |
Returns the maximum number of worker processes to use when running tasks that support parallel processing. |
|
|
Sets the default device to use when executing against a PyTorch backend. |
|
Sets the maximum number of worker processes to use when running tasks that support parallel processing. |
Module Contents¶
-
dataeval.config.DeviceLike : TypeAlias =
Union[int, str, tuple[str, int], torch.device]¶ Type alias for types that are acceptable for specifying a torch.device.
See also