SamLowe commited on
Commit
5dde3eb
1 Parent(s): f5ede76

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -87,8 +87,8 @@ input_feed_dict = {
87
  logits = model.run(output_names=output_names, input_feed=input_feed_dict)[0]
88
  # produces a numpy array, one row per input item, one col per label
89
 
90
- def sigmoid(_outputs):
91
- return 1.0 / (1.0 + np.exp(-_outputs))
92
 
93
  # Post-processing. Gets the scores per label in range.
94
  # Auto done by Transformers' pipeline, but we must do it manually with ORT.
 
87
  logits = model.run(output_names=output_names, input_feed=input_feed_dict)[0]
88
  # produces a numpy array, one row per input item, one col per label
89
 
90
+ def sigmoid(x):
91
+ return 1.0 / (1.0 + np.exp(-x))
92
 
93
  # Post-processing. Gets the scores per label in range.
94
  # Auto done by Transformers' pipeline, but we must do it manually with ORT.