You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RULES.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ Some are applicable for different technologies.
83
83
| GCI104 | Data / AI : PyTorch - Create tensors directly from Torch | In PyTorch, prefer creating tensors directly using `torch.rand`, `torch.tensor`, or other Torch methods instead of converting from NumPy arrays. Avoid using `torch.tensor(np.random.rand(...))` or similar patterns when the same result can be achieved directly with PyTorch. || 🚫 | 🚫 | 🚫 | 🚀 | 🚫 | 🚫 | 🚫 |
| GCI106 | Avoid Square Root Operations In Loop | Using scalar `math.sqrt` (or `numpy.sqrt` on individual values) inside loops leads to inefficient code || 🚫 | 🚫 | 🚫 | ✅ | 🚫 | 🚫 | 🚫 |
86
-
| GCI107 | Data : Avoid Iterative Matrix Operations | Use vectorization by the usage of the built-in functions of TensorFlow, NumPy or Pandas || 🚫 | 🚫 | 🚫 |🚧| 🚫 | 🚫 | 🚫 |
86
+
| GCI107 | Data : Avoid Iterative Matrix Operations | Use vectorization by the usage of the built-in functions of TensorFlow, NumPy or Pandas || 🚫 | 🚫 | 🚫 |✅ | 🚫 | 🚫 | 🚫 |
87
87
| GCI108 | Prefer Append Left | When you want to insert an element at the beginning of a list, it's better to use a deques or a double linkedlist. || ❓ | ❓ | ❓ | 🚀 | ❓ | ❓ | ❓ |
88
88
| GCI203 | Detect unoptimized file formats | When it is possible, to use svg format image over other image format || 🚧 | 🚀 | 🚀 | ✅ | 🚀 | 🚀 | 🚫 |
89
89
| GCI404 | Avoid list comprehension in iterations | Use generator comprehension instead of list comprehension in for loop declaration || 🚫 | 🚫 | 🚫 | ✅ | 🚫 | 🚫 | 🚫 |
0 commit comments