Struct windows::AI::MachineLearning::LearningModelSession
#[repr(transparent)]pub struct LearningModelSession(_);
Expand description
Required features: "AI_MachineLearning"
Implementations§
§impl LearningModelSession
impl LearningModelSession
pub fn Model(&self) -> Result<LearningModel>
pub fn Device(&self) -> Result<LearningModelDevice>
pub fn EvaluationProperties(&self) -> Result<IPropertySet>
pub fn EvaluationProperties(&self) -> Result<IPropertySet>
Required features: "Foundation_Collections"
pub fn EvaluateAsync(
&self,
bindings: &LearningModelBinding,
correlationid: &HSTRING
) -> Result<IAsyncOperation<LearningModelEvaluationResult>>
pub fn EvaluateAsync( &self, bindings: &LearningModelBinding, correlationid: &HSTRING ) -> Result<IAsyncOperation<LearningModelEvaluationResult>>
Required features: "Foundation"
pub fn EvaluateFeaturesAsync<P0>(
&self,
features: P0,
correlationid: &HSTRING
) -> Result<IAsyncOperation<LearningModelEvaluationResult>>where
P0: TryIntoParam<IMap<HSTRING, IInspectable>>,
pub fn EvaluateFeaturesAsync<P0>( &self, features: P0, correlationid: &HSTRING ) -> Result<IAsyncOperation<LearningModelEvaluationResult>>where P0: TryIntoParam<IMap<HSTRING, IInspectable>>,
Required features: "Foundation_Collections"
pub fn Evaluate( &self, bindings: &LearningModelBinding, correlationid: &HSTRING ) -> Result<LearningModelEvaluationResult>
pub fn EvaluateFeatures<P0>(
&self,
features: P0,
correlationid: &HSTRING
) -> Result<LearningModelEvaluationResult>where
P0: TryIntoParam<IMap<HSTRING, IInspectable>>,
pub fn EvaluateFeatures<P0>( &self, features: P0, correlationid: &HSTRING ) -> Result<LearningModelEvaluationResult>where P0: TryIntoParam<IMap<HSTRING, IInspectable>>,
Required features: "Foundation_Collections"