leaspy.algo.algo_with_device ============================ .. py:module:: leaspy.algo.algo_with_device Classes ------- .. autoapisummary:: leaspy.algo.algo_with_device.AlgorithmWithDeviceMixin Module Contents --------------- .. py:class:: AlgorithmWithDeviceMixin(settings) Mixin class containing common attributes & methods for algorithms with a torch device. :Parameters: **settings** : :class:`.AlgorithmSettings` The specifications of the algorithm as a :class:`.AlgorithmSettings` instance. :Attributes: **algorithm_device** : :obj:`str` Valid torch device .. !! processed by numpydoc !! .. py:attribute:: algorithm_device