MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Initialize

Method Initialize

tensorflow/lite/kernels/internal/spectrogram.cc:40–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38} // namespace
39
40bool Spectrogram::Initialize(int window_length, int step_length) {
41 std::vector<double> window;
42 GetPeriodicHann(window_length, &window);
43 return Initialize(window, step_length);
44}
45
46inline int Log2Floor(uint32_t n) {
47 if (n == 0) return -1;

Callers

nothing calls this directly

Calls 7

GetPeriodicHannFunction · 0.70
NextPowerOfTwoFunction · 0.70
InitializeFunction · 0.50
sqrtFunction · 0.50
sizeMethod · 0.45
assignMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected