(module)
| 154 | raise NotImplementedError(type(model)) |
| 155 | |
| 156 | def get_named_linears(module): |
| 157 | return {name: m for name, m in module.named_modules() if isinstance(m, nn.Linear)} |
| 158 | |
| 159 | def get_op_by_name(module, op_name): |
| 160 | # get the op by its name relative to the module |
nothing calls this directly
no outgoing calls
no test coverage detected