Skip to content

Commit

Permalink
Clarifying the default function name field for multifunction in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Gitesh Dawer committed Jun 18, 2024
1 parent 878c937 commit d937e9d
Showing 1 changed file with 2 additions and 2 deletions.
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 is used to load the default function:

```python
import numpy as np
Expand Down

0 comments on commit d937e9d

Please sign in to comment.