Skip to content

Commit f2a9815

Browse files
committed
doc
1 parent aba59b2 commit f2a9815

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

onnx_diagnostic/helpers/rt_helper.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,10 @@ def onnx_generate(
182182
:param input_ids: input tokens
183183
:param eos_token_ids: token representing the end of an answer
184184
:param max_new_tokens: stops after this number of generated tokens
185-
:param
185+
:param return_session: returns the instance of class
186+
:class:`InferenceSessionForTorch
187+
<onnx_diagnostic.helpers.ort_session.InferenceSessionForTorch>`
188+
created if necessary
186189
:return: input tokens concatenated with new tokens
187190
"""
188191
if not isinstance(model_or_path, InferenceSessionForTorch):

0 commit comments

Comments
 (0)