Skip to content

Commit 154b311

Browse files
fixed lint and format
1 parent 36d68b8 commit 154b311

File tree

1 file changed

+1
-1
lines changed
  • content/pytorch/concepts/tensor-operations/terms/addcmul

1 file changed

+1
-1
lines changed

content/pytorch/concepts/tensor-operations/terms/addcmul/addcmul.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ CatalogContent:
1313
- 'paths/machine-learning'
1414
---
1515

16-
**`.addcmul()`** is a PyTorch [tensor]((https://www.codecademy.com/resources/docs/pytorch/tensors)) operation that performs element-wise multiplication of two tensors and then adds a third tensor to the result, optionally scaled by a value. This operation combines multiplication and addition in a single efficient function call.
16+
**`.addcmul()`** is a PyTorch [tensor](<(https://www.codecademy.com/resources/docs/pytorch/tensors)>) operation that performs element-wise multiplication of two tensors and then adds a third tensor to the result, optionally scaled by a value. This operation combines multiplication and addition in a single efficient function call.
1717

1818
The function is particularly useful in tensor operations where there is a need to perform element-wise multiplication and addition in sequence. It provides a concise way to perform these operations without creating intermediate tensors, which can help optimize memory usage in PyTorch applications.
1919

0 commit comments

Comments
 (0)