def log(self):
        inputs = ', '.join('({0}){1.size}'.format(n, l)
                           for n, l in self._resolved_inputs.items())
        logging.info('layer %s "%s" << "%s": %s -> %s, %s, %d parameters',
                     self.__class__.__name__,
                     self.name,
                     self.partner.name,
                     inputs,
                     self.size,
                     getattr(self.activate, 'name', self.activate),
                     sum(np.prod(p.get_value().shape) for p in self.params))
Test NDC normalization.
dataset/ETHPy150Open lmjohns3/theanets/theanets/layers/feedforward.py/Tied.log--crossover with--dataset/ETHPy150Open chb/py-umls/rxnorm_tests.py/RxNormTest.test_ndc_normalization