def __init__(self, v1, template_id, ps_replicas, worker_replicas, training_step, batch_size, interval, task_id, rtimes, tag, stack, channel1, channel2, channel3, channel4):
    SubTask.__init__(self, template_id, ps_replicas, worker_replicas, training_step, batch_size, interval, task_id, rtimes, tag)
    self.channel1 = channel1
    self.channel2 = channel2
    self.channel3 = channel3
    self.channel4 = channel4
    self.stack = stack
    self.num_layers = ((6 * self.stack) + 2)
    self.template = TaskTemplate.RE
    self.name = ((('re-' + str(self.task_id)) + '-') + str(self.rtimes))
    self.v1 = v1
def __init__(self, v1, template_id, ps_replicas, worker_replicas, training_step, batch_size, interval, task_id, rtimes, tag, stack, channel1, channel2, channel3, channel4):
    SubTask.__init__(self, template_id, ps_replicas, worker_replicas, training_step, batch_size, interval, task_id, rtimes, tag)
    self.channel1 = channel1
    self.channel2 = channel2
    self.channel3 = channel3
    self.channel4 = channel4
    self.stack = stack
    self.num_layers = ((6 * self.stack) + 2)
    self.template = TaskTemplate.RE
    self.name = ((('re-' + str(self.task_id)) + '-') + str(self.rtimes))
    self.v1 = v1