LearningModelSessionOptions.CloseModelOnSessionCreation Property

Definition

Specifies whether a LearningModelSession should close the associated learning model when it is created.

public:
 property bool CloseModelOnSessionCreation { bool get(); void set(bool value); };
bool CloseModelOnSessionCreation();

void CloseModelOnSessionCreation(bool value);
public bool CloseModelOnSessionCreation { get; set; }
var boolean = learningModelSessionOptions.closeModelOnSessionCreation;
learningModelSessionOptions.closeModelOnSessionCreation = boolean;
Public Property CloseModelOnSessionCreation As Boolean

Property Value

Boolean

Indicates whether the model should be closed upon session creation.

Applies to

See also