LearningModelSessionOptions.CloseModelOnSessionCreation Property


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

 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


Indicates whether the model should be closed upon session creation.

Applies to

See also