Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
Signed-off-by: Krzysztof Lecki <[email protected]>
  • Loading branch information
klecki committed Mar 9, 2022
1 parent 071b16c commit 6cfdc88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dali/pipeline/data/tensor_vector.cc
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ void TensorVector<Backend>::UnsafeSetSample(int dst, const TensorVector<Backend>

template <typename Backend>
void TensorVector<Backend>::UnsafeSetSample(int dst, const Tensor<Backend> &owner) {
// TODO checks
// TODO(klecki) consistency checks, breaking into non-contiguous
// DALI_ENFORCE(owner.shape().sample_dim() == shape().sample_dim(), "Sample must have the same
// dim");
// if (type() == DALI_NO_TYPE && owner.type() != DALI_NO_TYPE) {
Expand Down

0 comments on commit 6cfdc88

Please sign in to comment.