[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:
- Created 2 years ago
- Comments:8 (3 by maintainers)
Top 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 >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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @brlrb. Unfortunately, his is task has already a PR up. Please fill free to choose any other from the list
@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.