MCPcopy
hub / github.com/tensorflow/tfjs / isExponentOf2

Function isExponentOf2

tfjs-backend-cpu/src/utils/fft_utils.ts:165–167  ·  view source on GitHub ↗
(size: number)

Source from the content-addressed store, hash-verified

163}
164
165function isExponentOf2(size: number): boolean {
166 return (size & size - 1) === 0;
167}
168
169// FFT using Cooley-Tukey algorithm on radix 2 dimensional input.
170function fftRadix2(

Callers 1

fftImplFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…