---
title: "Discussion on \"Cheat Sheet  Deep learning_PyTorch\" | Hashnode"
description: "Discussion on \"Cheat Sheet  Deep learning_PyTorch\". torch.matmul(a, b) # multiples torch tensors a and b\n* # element-wise multiplication between two torch tensorstorch.eye(n) # creates an identity torch tensor with shape (n, n)\ntorch.zeros(n, m) # creates a torch tensor of zeros with shape (n, m)\ntorc..."
url: "https://hashnode.com/posts/cheat-sheet-deep-learningpytorch/64d35e04a59ac90f4750b561"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Cheat Sheet Deep learning\_PyTorch](https://sarashahin.hashnode.dev/cheat-sheet-deep-learningpytorch?utm_source=hashnode&utm_medium=feed)

torch.matmul(a, b) # multiples torch tensors a and b \* # element-wise multiplication between two torch tensorstorch.eye(n) # creates an identity torch tensor with shape (n, n) torch.zeros(n, m) # creates a torch tensor of zeros with shape (n, m) torc...

Aug 9, 2023 · 1 min read · sarashahin.hashnode.dev  
Read the article

-   [#deep-learning](https://hashnode.com/tag/deep-learning)
-   [#neural-networks](https://hashnode.com/tag/neural-networks)

## Written by

[Sara](https://hashnode.com/@Sarashahin)

@Sarashahin

  
[View profile](https://hashnode.com/@Sarashahin)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
