We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 674074b commit 633e73dCopy full SHA for 633e73d
llvm/docs/MLGO.rst
@@ -86,8 +86,9 @@ for input features and the ``TensorSpec`` of the output (e.g.
86
a 0-based indexing array-like container. Given a ``TensorSpec`` at index "I" in
87
the input list, that has a name "N", shape "D1 x D2x ... Dn", and scalar type
88
"T", the implementer must:
89
+
90
- set up a contiguous buffer sized ``sizeof(T) * D1 * D2 * ... * Dn``. This
- buffer's lifetime must be the same as the lifetime of the implementer object;
91
+ buffer's lifetime must be the same as the lifetime of the implementer object.
92
- call ``MLModelRunner::setUpBufferForTensor`` passing I, the ``TensorSpec``,
93
and the buffer above.
94
0 commit comments