Replies: 1 comment 1 reply
-
|
您好,可以参考这个discussion #15988 (reply in thread) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
def save_inference_model(
path_prefix: str,
feed_vars: Tensor | list[Tensor],
fetch_vars: Tensor | list[Tensor],
executor: Executor,
**kwargs: Unpack[_SaveInferenceModelKwargs],
) -> None:
if in_pir_mode():
save_inference_model_pir(
path_prefix, feed_vars, fetch_vars, executor, **kwargs
)
return
Beta Was this translation helpful? Give feedback.
All reactions