def METHOD_NAME(op):
    if topi.tag.is_broadcast(op.tag):
        if not op.same_as(output.op):
            if not op.axis:
                const_ops.append(op)
            else:
                ewise_ops.append(op)
        for tensor in op.input_tensors:
            if isinstance(tensor.op, tvm.te.PlaceholderOp):
                ewise_inputs.append((op, tensor))
            else:
                METHOD_NAME(tensor.op)
    else:
        assert op.tag == "dense_pack"
        dense_res.append(op)