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: src/tensor_array/core/__init__.py
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,9 @@
1
+
"""
2
+
# src/tensor_array/core/__init__.py
3
+
# This module provides core functionalities for the TensorArray library, including tensor creation, random tensor generation, and data type definitions.
4
+
# It includes functions to create tensors filled with zeros or random values, and defines the DataTypes enumeration for various data types supported by the library.
# This module provides core functionalities for the TensorArray library, including tensor creation, random tensor generation, and data type definitions.
4
+
# It includes functions to create tensors filled with zeros or random values, and defines the DataTypes enumeration for various data types supported by the library.
Copy file name to clipboardExpand all lines: src/tensor_array/core/operator.py
+70-12Lines changed: 70 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,80 @@
1
+
"""
2
+
# src/tensor_array/core/operator.py
3
+
# This module provides various mathematical operations for tensors, including addition, division, multiplication, power, matrix multiplication, and conditional selection.
4
+
# Each operation is implemented as a function that takes two tensors as input and returns a new tensor representing the result of the operation.
0 commit comments