@property
    def params(self):
        return [p for l in self.layers for p in l.params]
Replace vars and copy.
dataset/ETHPy150Open lmjohns3/theanets/theanets/graph.py/Network.params--crossover with--dataset/ETHPy150Open hustlzp/Flask-Boost/flask_boost/cli.py/_rewrite_and_copy