setModelProvider

public final void setModelProvider(String model, ExecutionProvider provider)

Sets the execution provider of one model, by the capacity name its GPU choice is made for.

Parameters

model

The capacity name, such as "InferencePicture", matched without regard to case.

provider

The provider the model uses instead of .