Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarifying the default function name field for multifunction in the docs #2246

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs-guides/source/multifunction-models.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ desc.default_function_name = "adapter_1"
ct.utils.save_multifunction(desc, "combined_adpater_models.mlpackage")
```

When loading the multifunction model, you can specify the
`function_name` to load the specific function and then do the prediction:
When loading the multifunction model, you can specify the optional
`function_name` to load a specific function and then do the prediction. If `function_name` is not provided, the `default_function_name` field of the serialized multifunction model asset gets used to load the default function:

```python
import numpy as np
Expand Down