def __init__(self, rec_layers_setting, hidden_dim, input_dim, cls_in_input, rel_in_input):
    super(MaskSketchRecModel, self).__init__()
    self.re_fcs = []
    (rec_layers_setting.append(input_dim), rec_layers_setting.insert(0, hidden_dim))
    for i in range((len(rec_layers_setting) - 1)):
        self.re_fcs.append(nn.Linear(rec_layers_setting[i], rec_layers_setting[(i + 1)]))
    self.re_fcs = nn.ModuleList(self.re_fcs)
    self.cls_in_input = cls_in_input
    self.rel_in_input = rel_in_input
def __init__(self, rec_layers_setting, hidden_dim, input_dim, cls_in_input, rel_in_input):
    super(MaskSketchRecModel, self).__init__()
    self.re_fcs = []
    (rec_layers_setting.append(input_dim), rec_layers_setting.insert(0, hidden_dim))
    for i in range((len(rec_layers_setting) - 1)):
        self.re_fcs.append(nn.Linear(rec_layers_setting[i], rec_layers_setting[(i + 1)]))
    self.re_fcs = nn.ModuleList(self.re_fcs)
    self.cls_in_input = cls_in_input
    self.rel_in_input = rel_in_input