MCPcopy Create free account
hub / github.com/CodingBeard/tfkg / LeakyReLU

Function LeakyReLU

layer/LeakyReLU.go:15–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

UniqueNameFunction · 0.70

Tested by

no test coverage detected