def __init__(self,
                 input_size,
                 splice,
                 num_stack,
                 parameter_init,
                 name='cnn_student_xe_encoder'):

        assert input_size % 3 == 0

        self.num_channels = (input_size // 3) // num_stack // splice
        self.splice = splice
        self.num_stack = num_stack
        self.parameter_init = parameter_init
        self.name = name