612fb894d89d3d47ebecb8f7959a1a152acba894,thinc/layers/uniqued.py,,init,#,54
Before Change
layer = model.layers[0]
layer.initialize(X=X, Y=Y)
model.set_dim("nI", layer.get_dim("nI"))
model.set_dim("nO", layer.get_dim("nO"))
After Change
layer.initialize(X=X, Y=Y)
if layer.has_dim("nI"):
model.set_dim("nI", layer.get_dim("nI"))
if layer.has_dim("nO"):
model.set_dim("nO", layer.get_dim("nO"))
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 4
Instances
Project Name: explosion/thinc
Commit Name: 612fb894d89d3d47ebecb8f7959a1a152acba894
Time: 2020-01-08
Author: svlandeg@users.noreply.github.com
File Name: thinc/layers/uniqued.py
Class Name:
Method Name: init
Project Name: explosion/thinc
Commit Name: c9e922c0f16ace10b60df275c2add5fde54e11cf
Time: 2020-01-12
Author: honnibal+gh@gmail.com
File Name: thinc/layers/with_reshape.py
Class Name:
Method Name: init
Project Name: explosion/thinc
Commit Name: aadc687d0a7e2cfa10675471314e8977079d0344
Time: 2020-01-20
Author: svlandeg@users.noreply.github.com
File Name: thinc/layers/concatenate.py
Class Name:
Method Name: init