| Conditions | 2 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | import theano.tensor as T |
||
| 11 | def __init__(self, axis=2): |
||
| 12 | """ |
||
| 13 | :type layer1: NeuralLayer |
||
| 14 | :type layer2: NeuralLayer |
||
| 15 | """ |
||
| 16 | super(Concatenate, self).__init__("concate") |
||
| 17 | self.axis = axis |
||
| 18 | if axis < 0: |
||
| 19 | raise Exception("There are some bugs in T.concatenate, that axis can not lower than 0") |
||
| 20 | |||
| 29 |