MCPcopy
hub / github.com/lutzroeder/netron / __bool__

Method __bool__

source/python.js:21278–21280  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21276 this._stride = stride;
21277 }
21278 __bool__() {
21279 return true;
21280 }
21281 __int__() {
21282 const storage = this.storage();
21283 if (storage && storage.dtype.__reduce__() === 'int64' && storage.data.length === 8) {

Callers 1

constructorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected