5e430fd001c839b4f35cb0ceeba467687449a455,thinc/layers/mish.py,,Mish,#,17
Before Change
Dense layer with mish activation.
https://arxiv.org/pdf/1908.08681.pdf
model: Model[InT, OutT] = Model(
"mish",
forward,
init=create_init({"W": init_W, "b": init_b}),
dims={"nO": nO, "nI": nI},
params={"W": None, "b": None},
)
After Change
Dense layer with mish activation.
https://arxiv.org/pdf/1908.08681.pdf
model: Model[InT, OutT] = Model(
"mish",
forward,
init=partial(init, init_W, init_b),
dims={"nO": nO, "nI": nI},
params={"W": None, "b": None},
)
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 10
Instances
Project Name: explosion/thinc
Commit Name: 5e430fd001c839b4f35cb0ceeba467687449a455
Time: 2020-01-19
Author: ines@ines.io
File Name: thinc/layers/mish.py
Class Name:
Method Name: Mish
Project Name: explosion/thinc
Commit Name: 5e430fd001c839b4f35cb0ceeba467687449a455
Time: 2020-01-19
Author: ines@ines.io
File Name: thinc/layers/relu.py
Class Name:
Method Name: ReLu
Project Name: explosion/thinc
Commit Name: 5e430fd001c839b4f35cb0ceeba467687449a455
Time: 2020-01-19
Author: ines@ines.io
File Name: thinc/layers/linear.py
Class Name:
Method Name: Linear
Project Name: explosion/thinc
Commit Name: 5e430fd001c839b4f35cb0ceeba467687449a455
Time: 2020-01-19
Author: ines@ines.io
File Name: thinc/layers/maxout.py
Class Name:
Method Name: Maxout
Project Name: explosion/thinc
Commit Name: 5e430fd001c839b4f35cb0ceeba467687449a455
Time: 2020-01-19
Author: ines@ines.io
File Name: thinc/layers/softmax.py
Class Name:
Method Name: Softmax