(self, other: Variable)
| 90 | return result |
| 91 | |
| 92 | def __truediv__(self, other: Variable) -> Variable: |
| 93 | result = Variable(self.value / other.value) |
| 94 | |
| 95 | with GradientTracker() as tracker: |
| 96 | # if tracker is enabled, computation graph will be updated |
| 97 | if tracker.enabled: |
| 98 | tracker.append(OpType.DIV, params=[self, other], output=result) |
| 99 | return result |
| 100 | |
| 101 | def __matmul__(self, other: Variable) -> Variable: |
| 102 | result = Variable(self.value @ other.value) |
nothing calls this directly
no test coverage detected