@@ -15,7 +15,7 @@ def add(value_1 : Tensor, value_2 : Tensor) -> Tensor:
1515 Returns:
1616 Tensor: A tensor that is the element-wise sum of value_1 and value_2
1717 """
18- from .tensor2 import add as _add
18+ from .. tensor2 import add as _add
1919 return _add (value_1 , value_2 )
2020
2121def divide (value_1 : Tensor , value_2 : Tensor ) -> Tensor :
@@ -27,7 +27,7 @@ def divide(value_1 : Tensor, value_2 : Tensor) -> Tensor:
2727 Returns:
2828 Tensor: A tensor that is the element-wise division of value_1 by value_2
2929 """
30- from .tensor2 import divide as _divide
30+ from .. tensor2 import divide as _divide
3131 return _divide (value_1 , value_2 )
3232
3333def multiply (value_1 : Tensor , value_2 : Tensor ) -> Tensor :
@@ -39,7 +39,7 @@ def multiply(value_1 : Tensor, value_2 : Tensor) -> Tensor:
3939 Returns:
4040 Tensor: A tensor that is the element-wise product of value_1 and value_2
4141 """
42- from .tensor2 import multiply as _multiply
42+ from .. tensor2 import multiply as _multiply
4343 return _multiply (value_1 , value_2 )
4444
4545def power (value_1 : Tensor , value_2 : Tensor ) -> Tensor :
@@ -51,7 +51,7 @@ def power(value_1 : Tensor, value_2 : Tensor) -> Tensor:
5151 Returns:
5252 Tensor: A tensor that is the element-wise result of value_1 raised to the power of value_2
5353 """
54- from .tensor2 import power as _power
54+ from .. tensor2 import power as _power
5555 return _power (value_1 , value_2 )
5656
5757def matmul (value_1 : Tensor , value_2 : Tensor ) -> Tensor :
@@ -63,7 +63,7 @@ def matmul(value_1 : Tensor, value_2 : Tensor) -> Tensor:
6363 Returns:
6464 Tensor: A tensor that is the result of matrix multiplication between value_1 and value_2
6565 """
66- from .._ext . tensor2 import matmul as _matmul
66+ from ..tensor2 import matmul as _matmul
6767 return _matmul (value_1 , value_2 )
6868
6969def condition (condition_value : Tensor , value_if_true : Tensor , value_if_false : Tensor ) -> Tensor :
@@ -76,5 +76,5 @@ def condition(condition_value : Tensor, value_if_true : Tensor, value_if_false :
7676 Returns:
7777 Tensor: A tensor that is either value_if_true or value_if_false, depending on the condition.
7878 """
79- from .._ext . tensor2 import condition as _condition
79+ from ..tensor2 import condition as _condition
8080 return _condition (condition_value , value_if_true , value_if_false )
0 commit comments