You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
565 B
21 lines
565 B
|
1 week ago
|
from thinc.api import Relu, Softmax, add, chain, concatenate, reduce_max
|
||
|
|
|
||
|
|
bad_model = chain(Relu(10), reduce_max(), Softmax())
|
||
|
|
|
||
|
|
bad_model2 = add(Relu(10), reduce_max(), Softmax())
|
||
|
|
|
||
|
|
bad_model_only_plugin = chain(
|
||
|
|
Relu(10), Relu(10), Relu(10), Relu(10), reduce_max(), Softmax()
|
||
|
|
)
|
||
|
|
|
||
|
|
bad_model_only_plugin2 = add(
|
||
|
|
Relu(10), Relu(10), Relu(10), Relu(10), reduce_max(), Softmax()
|
||
|
|
)
|
||
|
|
reveal_type(bad_model_only_plugin2)
|
||
|
|
|
||
|
|
bad_model_only_plugin3 = concatenate(
|
||
|
|
Relu(10), Relu(10), Relu(10), Relu(10), reduce_max(), Softmax()
|
||
|
|
)
|
||
|
|
|
||
|
|
reveal_type(bad_model_only_plugin3)
|