readme: onnx final outputs
#68
by
jupyterjazz
- opened
README.md
CHANGED
@@ -25227,7 +25227,9 @@ inputs = {
|
|
25227 |
}
|
25228 |
|
25229 |
# Run model
|
25230 |
-
outputs = session.run(None, inputs)
|
|
|
|
|
25231 |
```
|
25232 |
|
25233 |
</p>
|
|
|
25227 |
}
|
25228 |
|
25229 |
# Run model
|
25230 |
+
outputs = session.run(None, inputs)[0]
|
25231 |
+
|
25232 |
+
# Apply mean pooling to 'outputs' to get a single representation of each text
|
25233 |
```
|
25234 |
|
25235 |
</p>
|