def __init__(self, v1, template_id, ps_replicas, worker_replicas, training_step, batch_size, interval, task_id, rtimes, tag, channel1, channel2, channel3, channel4, channel5, num_layer1, num_layer2, num_layer3, num_layer4, num_layer5):
    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.channel5 = channel5
    self.num_layer1 = num_layer1
    self.num_layer2 = num_layer2
    self.num_layer3 = num_layer3
    self.num_layer4 = num_layer4
    self.num_layer5 = num_layer5
    self.num_layers = (((((num_layer1 + num_layer2) + num_layer3) + num_layer4) + num_layer5) + 3)
    self.template = TaskTemplate.VGG
    self.v1 = v1
    self.name = ((('vgg-' + str(self.task_id)) + '-') + str(self.rtimes))
def __init__(self, v1, template_id, ps_replicas, worker_replicas, training_step, batch_size, interval, task_id, rtimes, tag, channel1, channel2, channel3, channel4, channel5, num_layer1, num_layer2, num_layer3, num_layer4, num_layer5):
    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.channel5 = channel5
    self.num_layer1 = num_layer1
    self.num_layer2 = num_layer2
    self.num_layer3 = num_layer3
    self.num_layer4 = num_layer4
    self.num_layer5 = num_layer5
    self.num_layers = (((((num_layer1 + num_layer2) + num_layer3) + num_layer4) + num_layer5) + 3)
    self.template = TaskTemplate.VGG
    self.v1 = v1
    self.name = ((('vgg-' + str(self.task_id)) + '-') + str(self.rtimes))