Opted to remove the device parameter from DataProcessor constructor and let device management take place through nn.Module. Sampling rate can now be passed in constructor, and an initial set of CQT kernels are computed. These are updated, with device persisting, whenever sampling rate is changed.
Closes #17
Opted to remove the
device
parameter fromDataProcessor
constructor and let device management take place throughnn.Module
. Sampling rate can now be passed in constructor, and an initial set of CQT kernels are computed. These are updated, with device persisting, whenever sampling rate is changed.