56cb14754d2084f5660c8c7e16906e13d99973fd,thinc/layers/lstm.py,,forward,#Any#Any#Any#,86
Before Change
) -> Tuple[Padded, Callable]:
X = Xp.data
W = model.get_param("W")
b = model.get_param("b")
h = model.get_param("h")
c = model.get_param("c")
// Initialize hiddens and cells
hiddens = model.ops.alloc_f2d(X.shape[1], h.shape[0])
After Change
) -> Tuple[Padded, Callable]:
X = Xp.data
W = cast(Array2d, model.get_param("W"))
b = cast(Array1d, model.get_param("b"))
h = cast(Array1d, model.get_param("h"))
c = cast(Array1d, model.get_param("c"))
// Initialize hiddens and cells
hiddens = model.ops.alloc_f2d(X.shape[1], h.shape[0])
In pattern: SUPERPATTERN
Frequency: 8
Non-data size: 3
Instances Project Name: explosion/thinc
Commit Name: 56cb14754d2084f5660c8c7e16906e13d99973fd
Time: 2020-01-19
Author: honnibal+gh@gmail.com
File Name: thinc/layers/lstm.py
Class Name:
Method Name: forward
Project Name: explosion/thinc
Commit Name: ef6cd0490d7fc2d0cf85d78f3dcb6b83dd52e2f1
Time: 2020-01-23
Author: ines@ines.io
File Name: thinc/layers/softmax.py
Class Name:
Method Name: forward
Project Name: explosion/thinc
Commit Name: ef6cd0490d7fc2d0cf85d78f3dcb6b83dd52e2f1
Time: 2020-01-23
Author: ines@ines.io
File Name: thinc/layers/mish.py
Class Name:
Method Name: forward
Project Name: explosion/thinc
Commit Name: ef6cd0490d7fc2d0cf85d78f3dcb6b83dd52e2f1
Time: 2020-01-23
Author: ines@ines.io
File Name: thinc/layers/maxout.py
Class Name:
Method Name: forward
Project Name: explosion/thinc
Commit Name: ef6cd0490d7fc2d0cf85d78f3dcb6b83dd52e2f1
Time: 2020-01-23
Author: ines@ines.io
File Name: thinc/layers/relu.py
Class Name:
Method Name: forward
Project Name: explosion/thinc
Commit Name: ef6cd0490d7fc2d0cf85d78f3dcb6b83dd52e2f1
Time: 2020-01-23
Author: ines@ines.io
File Name: thinc/layers/linear.py
Class Name:
Method Name: forward
Project Name: explosion/thinc
Commit Name: ef6cd0490d7fc2d0cf85d78f3dcb6b83dd52e2f1
Time: 2020-01-23
Author: ines@ines.io
File Name: thinc/layers/staticvectors.py
Class Name:
Method Name: forward
Project Name: explosion/thinc
Commit Name: ef6cd0490d7fc2d0cf85d78f3dcb6b83dd52e2f1
Time: 2020-01-23
Author: ines@ines.io
File Name: thinc/layers/multisoftmax.py
Class Name:
Method Name: forward