File: fail_no_plugin.py

package info (click to toggle)
python-thinc 8.1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,804 kB
  • sloc: python: 15,818; javascript: 1,554; ansic: 342; makefile: 20; sh: 13
file content (5 lines) | stat: -rw-r--r-- 167 bytes parent folder | download
1
2
3
4
5
from thinc.api import chain, Relu, reduce_max, Softmax, add

bad_model = chain(Relu(10), reduce_max(), Softmax())

bad_model2 = add(Relu(10), reduce_max(), Softmax())