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 tensor.pytorch and tensor.tensorflow methods

See original GitHub issue

🚨🚨 Feature Request

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

If your feature will improve HUB

Currently, only Datasets can be used to create PyTorch Dataloaders, TensorFlow Datasets. Need to add functionality to convert Hub tensors to PyTorch/TensorFlow compatible format.

Difficulty: Medium

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
farizrahman4ucommented, Oct 6, 2021

I think for now .pytorch() and .tensorflow() can call .numpy() underneath. @AbhinavTuli ?

0reactions
farizrahman4ucommented, Oct 6, 2021

@MoritzWillmann sounds good.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Introduction to Tensors | TensorFlow Core
The simplest and most common case is when you attempt to multiply or add a tensor to a scalar. In that case, the...
Read more >
Tensors — PyTorch Tutorials 1.13.1+cu117 documentation
Tensors are a specialized data structure that are very similar to arrays and matrices. In PyTorch, we use tensors to encode the inputs...
Read more >
Using a Dataset with PyTorch/Tensorflow
Setting a specific format allow to cast dataset examples as PyTorch/Tensorflow/Numpy/Pandas tensors, arrays or DataFrames and to filter out some columns. A ...
Read more >
Convert Images to Tensors in Pytorch and Tensorflow
convert images to tensors in both Pytorch and Tensorflow frameworks ... Pytorch. Run the following command to install both torch and torchvision packages....
Read more >
PyTorch for TensorFlow Users - A Minimal Diff
Part 1: Tensors ... Create a new tensor with torch.tensor([[1, 2]]) or from NumPy with torch.from_numpy(...) . ... or use the torch.cuda.device ...
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