()
| 13 | } |
| 14 | |
| 15 | func LeakyReLU() *LLeakyReLU { |
| 16 | return &LLeakyReLU{ |
| 17 | alpha: 0.3, |
| 18 | dtype: Float32, |
| 19 | name: UniqueName("leaky_re_lu"), |
| 20 | trainable: true, |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | func (l *LLeakyReLU) SetAlpha(alpha float64) *LLeakyReLU { |
| 25 | l.alpha = alpha |
nothing calls this directly
no test coverage detected