MCPcopy Index your code
hub / github.com/lutzroeder/netron / size

Method size

source/python.js:3325–3327  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3323 return this.dtype.itemsize;
3324 }
3325 get size() {
3326 return (this.shape || []).reduce((a, b) => a * b, 1);
3327 }
3328 get strides() {
3329 if (!this._strides) {
3330 const shape = this.shape;

Callers 7

constructorMethod · 0.45
transformLoopMethod · 0.45
transformIfMethod · 0.45
_set_cdataMethod · 0.45
_set_from_fileMethod · 0.45
__float__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected