MCPcopy
hub / github.com/gpujs/gpu.js / setOutput

Method setOutput

src/backend/kernel.js:463–466  ·  view source on GitHub ↗

* @desc Set output dimensions of the kernel function * @param {Array|Object} output - The output array to set the kernel output size to * @return {this}

(output)

Source from the content-addressed store, hash-verified

461 * @return {this}
462 */
463 setOutput(output) {
464 this.output = this.toKernelOutput(output);
465 return this;
466 }
467
468 /**
469 * @desc Toggle debug mode

Callers 15

mergeSettingsMethod · 0.95
benchmark.jsFile · 0.45
index.jsFile · 0.45
inputXFunction · 0.45
inputXYFunction · 0.45
inputYXFunction · 0.45
inputYXOffsetFunction · 0.45
inputYXOffsetPlus1Function · 0.45
inputZYXFunction · 0.45
inputZYXVariablesFunction · 0.45
inputInt32ArrayXFunction · 0.45

Calls 1

toKernelOutputMethod · 0.95

Tested by

no test coverage detected