(self, c_var)
| 41 | |
| 42 | # g-net |
| 43 | def generate_condition(self, c_var): |
| 44 | conditions =\ |
| 45 | (pt.wrap(c_var). |
| 46 | flatten(). |
| 47 | custom_fully_connected(self.ef_dim * 2). |
| 48 | apply(leaky_rectify, leakiness=0.2)) |
| 49 | mean = conditions[:, :self.ef_dim] |
| 50 | log_sigma = conditions[:, self.ef_dim:] |
| 51 | return [mean, log_sigma] |
| 52 | |
| 53 | def generator(self, z_var): |
| 54 | node1_0 =\ |
no outgoing calls
no test coverage detected