MCPcopy Create free account
hub / github.com/DamRsn/NeuralNote / _concat

Method _concat

Lib/Model/BasicPitchCNN.cpp:131–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131void BasicPitchCNN::_concat()
132{
133 auto concat2_index = (size_t) _wrapIndex(mConcat2Idx + 1, mNumConcat2Stored);
134
135 for (size_t i = 0; i < NUM_FREQ_OUT; i++) {
136 mConcatArray[i * 33] = mCNNNote.getOutputs()[i];
137 std::copy(mConcat2CircularBuffer[concat2_index].begin() + i * 32,
138 mConcat2CircularBuffer[concat2_index].begin() + (i + 1) * 32,
139 mConcatArray.begin() + i * 33 + 1);
140 }
141}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected