Conditions | 2 |
Total Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | #!/usr/bin/env python |
||
14 | def __init__(self, input_dim, target_tensor=2, clip_value=None, input_tensor=None): |
||
15 | self.target_tensor = dim_to_var(target_tensor, "k") if type(target_tensor) == int else target_tensor |
||
16 | self.clip_value = clip_value |
||
17 | super(NeuralRegressor, self).__init__(input_dim, input_tensor=input_tensor) |
||
18 | |||
35 | return self._cost_func(self.test_output) |