Skip to content
#

tensor

Here are 324 public repositories matching this topic...

tugsbayasgalan
tugsbayasgalan commented Apr 8, 2021

🐛 Bug

During our hackathon today, I ran into this weird error highlighting.

import torch
from typing import Dict

@torch.jit.script
def missing_index(x: Dict[str, int]) -> int:
    return x['dne']

missing_index({'item': 20, 'other_item': 120})

This code outputs:

     9 
     10 
---> 11 missing_index({'item': 20, 'other_item': 120})

RuntimeError: The fo
momohatt
momohatt commented Aug 12, 2020

Tests for following standard libraries seem to be missing. Although some libraries might be difficult to test (such as random.egi or io.egi), it'd be nice to have some tests that make sure all the functions in these libraries can be (at least) executed without dynamic errors.

  • lib/core/io.egi
  • lib/core/random.egi
  • lib/core/shell.egi
  • lib/core/sort.egi
  • Every

Improve this page

Add a description, image, and links to the tensor topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the tensor topic, visit your repo's landing page and select "manage topics."

Learn more