question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEATURE] Add method to delete all samples from tensor

See original GitHub issue

🚨🚨 Feature Request

  • Related to an existing Issue
  • A new implementation (Improvement, Extension)

If your feature will improve HUB

Add a tensor.clear() method that deletes all data from a tensor. The tensor itself should not be deleted from the dataset.

Difficulty: Medium

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
tatevikhcommented, Mar 11, 2022

Hi @brlrb. Unfortunately, his is task has already a PR up. Please fill free to choose any other from the list

0reactions
mikayelhcommented, Mar 11, 2022

@tatevikh is this still needed? Thanks a lot @brlrb for your willingness to contribute, will get back to yu shortly. Please wait for @tatevikh 's instructions to proceed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[FEATURE] Add method to delete all samples from tensor #1165
Add a tensor.clear() method that deletes all data from a tensor. The tensor itself should not be deleted from the dataset. Difficulty: Medium....
Read more >
Delete samples from loss in a differentiable way - autograd
I would like to remove “easy” samples with negligible error from the loss, so that they do not dominate the mean loss value....
Read more >
Tensors — Deep Lake 3.1.5 documentation
Adding and deleting samples ; Tensor.append. Appends a single sample to the end of the tensor. ; Tensor.extend. Extends the end of the...
Read more >
tf.data.Dataset | TensorFlow v2.11.0
Represents a potentially large set of elements.
Read more >
How to extract data/labels back from TensorFlow dataset
In case your tf.data.Dataset is batched, the following code will retrieve all the y labels: y = np.concatenate([y for x, y in ds],...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found