Exemple #1
0
    def _assign(self, other):
        """Assign the expression of the given operand to self.

        Args:
            other (Any): Given operand.

        Returns:
            :class:`~taichi.lang.expr.Expr`: The expression after assigning."""
        return ops.assign(self, other)
Exemple #2
0
 def assign_renamed(x, y):
     return ops.assign(x, y)