39 from .
import config_setter_utils
as csu
50 self.
__devices = np.array([0], dtype=np.int32)
53 """ Get the list of GPU devices used
55 :return: (np.ndarray[ndim=1, dtype=np.int32_t]) : list of GPU devices
60 """ Set the list of GPU devices used
63 devices: (np.ndarray[ndim=1, dtype=np.int32_t]) : list of GPU devices
65 self.
__devices = csu.enforce_array(devices, len(devices), dtype=np.int32,
68 devices = property(get_devices, set_devices)
71 """ Get the number of iteration
73 :return: (long) : number of iteration
78 """ Set the number of iteration
81 n: (long) : number of iteration
83 self.
__niter = csu.enforce_int(n)
85 niter = property(get_niter, set_niter)
88 """ Get iteration time
90 :return: (float) :iteration time
95 """ Set iteration time
98 t: (float) :iteration time
100 self.
__ittime = csu.enforce_float(t)
102 ittime = property(get_ittime, set_ittime)