Skip to content

Commit 11ca202

Browse files
committed
Lint
Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
1 parent 662838e commit 11ca202

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

dali/operators/signal/fft/spectrogram.cc

-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ bool SpectrogramImplCpu<time_major>::SetupImpl(std::vector<OutputDesc> &out_desc
227227

228228
auto view_window_fn = make_tensor_cpu<1>(window_fn_.data(), window_length_);
229229
for (int i = 0; i < nsamples; i++) {
230-
231230
// TODO(klecki): Can we use view<const InputType, 1>(input[i])?
232231
auto view_signal_1d = make_tensor_cpu<1>(input[i].template _data<const InputType>(),
233232
{input[i].shape().num_elements()});

dali/pipeline/executor/executor.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class DLL_PUBLIC Executor : public ExecutorBase, public QueuePolicy {
161161
max_out_size = in.nbytes() / in.shape().num_samples();
162162
max_reserved_size = in.capacity() / in.shape().num_samples();
163163
for (size_t j = 0; j < in.num_samples(); ++j) {
164-
// TODO fixme
164+
// TODO(klecki): fixme
165165
// max_out_size = std::max(in[j].nbytes(), max_out_size);
166166
// max_reserved_size = std::max(in[j].capacity(), max_reserved_size);
167167
}

0 commit comments

Comments
 (0)