tvm_tirx.tirx.tile.views.BinaryChain#

class tvm_tirx.tirx.tile.views.BinaryChain#

Bases: TensorCall

Chain multiple binary operations together.

binary_chain(output, data, operand0, operand1, op0, op1, reverse1)

if not reverse1:

output = (operand0 op0 data) op1 operand1

else:

output = operand1 op1 (operand0 op0 data)

kind = 'binary_chain'#
output#
data#
operand0#
operand1#
op0#
op1#
reverse1#
property srcs: list[Expr]#

Get the source expressions (inputs) of the operator.

property dsts: list[Expr]#

Get the destination expressions (outputs) of the operator.