Search Results for

    Show / Hide Table of Contents

    Interface ISharedVariable

    Interface for shared variables

    Namespace: Microsoft.ML.Probabilistic.Models
    Assembly: Microsoft.ML.Probabilistic.Compiler.dll
    Syntax
    public interface ISharedVariable

    Properties

    IsEvidenceVariable

    Whether this shared variable is an evidence variable

    Declaration
    bool IsEvidenceVariable { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    GetEvidenceCorrection()

    Gets the evidence correction for this shared variable

    Declaration
    double GetEvidenceCorrection()
    Returns
    Type Description
    Double

    InferOutput(IGeneratedAlgorithm, Model, Int32)

    Infers the shared variable's output message for a given model and batch number

    Declaration
    void InferOutput(IGeneratedAlgorithm ca, Model modelNumber, int batchNumber)
    Parameters
    Type Name Description
    IGeneratedAlgorithm ca

    Compiled algorithm

    Model modelNumber

    Model id

    Int32 batchNumber

    Batch number

    InferOutput(InferenceEngine, Model, Int32)

    Infers the shared variable's output message for a given model and batch number

    Declaration
    void InferOutput(InferenceEngine engine, Model modelNumber, int batchNumber)
    Parameters
    Type Name Description
    InferenceEngine engine

    Inference engine

    Model modelNumber

    Model id

    Int32 batchNumber

    Batch number

    SetInput(Model, Int32)

    Sets the shared variable's inbox for a given model and batch number

    Declaration
    void SetInput(Model modelNumber, int batchNumber)
    Parameters
    Type Name Description
    Model modelNumber

    Model id

    Int32 batchNumber

    Batch number

    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.