@classmethod
def build(cls, net_type):
    '\n        Build the CNN topology.\n        :param str net_type: the network type, CNN or LSTM.\n        :return keras.Sequential(): CNN topology.\n        '
    if (net_type == 'cnn'):
        qrs_detector = cls._cnn_net()
    else:
        raise NotImplementedError('Only the CNN network was implemented.')
    return qrs_detector
Build the CNN topology.
:param str net_type: the network type, CNN or LSTM.
:return keras.Sequential(): CNN topology.
@classmethod
def build(cls, net_type):
    '\n        Build the CNN topology.\n        :param str net_type: the network type, CNN or LSTM.\n        :return keras.Sequential(): CNN topology.\n        '
    if (net_type == 'cnn'):
        qrs_detector = cls._cnn_net()
    else:
        raise NotImplementedError('Only the CNN network was implemented.')
    return qrs_detector