'Relational printer for Equality and Unequality'

def _print_Relational(self, expr):

    op = {'==': 'equal', '!=': 'not_equal', '<': 'less', '<=': 'less_equal', '>': 'greater', '>=': 'greater_equal'}
    if (expr.rel_op in op):
        lhs = self._print(expr.lhs)
        rhs = self._print(expr.rhs)
        return '{op}({lhs},    {rhs})'.format(op=op[expr.rel_op], lhs=lhs, rhs=rhs)
    return super(TensorflowPrinter, self)._print_Relational(expr)
