(basename)
| 16471 | } |
| 16472 | } |
| 16473 | find_method(basename) { |
| 16474 | for (const fn of this.type().methods()) { |
| 16475 | if (fn.name() === basename) { |
| 16476 | return new torch.ScriptMethod(this /* _value() */, fn); |
| 16477 | } |
| 16478 | } |
| 16479 | return null; |
| 16480 | } |
| 16481 | _get_method(name) { |
| 16482 | const method = this.find_method(name); |
| 16483 | if (method) { |
no test coverage detected