def find(self, which, param):
        for i, layer in enumerate(self.layers):
            if which == i or which == layer.name:
                return layer.find(param)
        raise KeyError(which)
Format a string of Python code.
dataset/ETHPy150Open lmjohns3/theanets/theanets/graph.py/Network.find--crossover with--dataset/ETHPy150Open google/yapf/yapf/yapflib/yapf_api.py/FormatCode