Jovian
⭐️
Sign In

Title Here

Subtitle Here

An short introduction about PyTorch and about the chosen functions.

  • function 1
  • function 2
  • function 3
  • function 4
  • function 5
In [1]:
# Import torch and other required modules
import torch

Function 1 - torch.tensor (change this)

Add some explanations

In [2]:
# Example 1 - working (change this)
torch.tensor([[1, 2], [3, 4.]])
Out[2]:
tensor([[1., 2.],
        [3., 4.]])

Explanation about example

In [3]:
# Example 2 - working

Explanation about example

In [4]:
# Example 3 - breaking (to illustrate when it breaks)
torch.tensor([[1, 2], [3, 4, 5]])
--------------------------------------------------------------------------- ValueError Traceback (most recent call last) <ipython-input-4-28787d136593> in <module> 1 # Example 3 - breaking (to illustrate when it breaks) ----> 2 torch.tensor([[1, 2], [3, 4, 5]]) ValueError: expected sequence of length 2 at dim 1 (got 3)

Explanation about example

Closing comments about when to use this function

Function 2 - ???

Add some explanations

In [5]:
# Example 1 - working

Explanation about example

In [6]:
# Example 2 - working

Explanation about example

In [7]:
# Example 3 - breaking (to illustrate when it breaks)

Explanation about example

Closing comments about when to use this function

Function 3 - ???

Add some explanations

In [8]:
# Example 1 - working

Explanation about example

In [9]:
# Example 2 - working

Explanation about example

In [10]:
# Example 3 - breaking (to illustrate when it breaks)

Explanation about example

Closing comments about when to use this function

Function 4 - ???

Add some explanations

In [11]:
# Example 1 - working

Explanation about example

In [12]:
# Example 2 - working

Explanation about example

In [13]:
# Example 3 - breaking (to illustrate when it breaks)

Explanation about example

Closing comments about when to use this function

Function 5 - ???

Add some explanations

In [14]:
# Example 1 - working

Explanation about example

In [15]:
# Example 2 - working

Explanation about example

In [16]:
# Example 3 - breaking (to illustrate when it breaks)

Explanation about example

Closing comments about when to use this function

Conclusion

Summarize what was covered in this notebook, and where to go next

Reference Links

Provide links to your references and other interesting articles about tensors

In [17]:
!pip install jovian --upgrade --quiet
In [18]:
import jovian
In [ ]:
jovian.commit()
[jovian] Attempting to save notebook..
In [ ]: