def __init__(self, name, shape, op, input_name):
    self.name = name
    self.op = op
    self.input_name = input_name
    self.disp_name = name
    try:
        shape_str = (('(' + ', '.join(map(str, shape))) + ')')
        self.shape_str = shape_str
        self.reshape = []
    except:
        self.shape_str = ''
        self.reshape = []
def __init__(self, name, shape, op, input_name):
    self.name = name
    self.op = op
    self.input_name = input_name
    self.disp_name = name
    try:
        shape_str = (('(' + ', '.join(map(str, shape))) + ')')
        self.shape_str = shape_str
        self.reshape = []
    except:
        self.shape_str = 
        self.reshape = []