(method)
| 10488 | return this._attributes[slot].is_buffer === true; |
| 10489 | } |
| 10490 | addMethod(method) { |
| 10491 | torch._C.TORCH_CHECK(this.findMethod(method.name()) === null); |
| 10492 | this._methods.push(method); |
| 10493 | } |
| 10494 | findMethod(name) { |
| 10495 | for (const method of this._methods) { |
| 10496 | if (name === method.name()) { |
no test coverage detected