Python* API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

Public Member Functions | Static Public Attributes | List of all members
Online Class Reference

Computes moments of low order in the online processing mode. More...

Public Member Functions

def __init__
 
def getMethod
 
def getResult
 
def setResult
 
def getPartialResult
 
def setPartialResult
 
def clone
 
def compute
 
def finalizeCompute
 

Static Public Attributes

 input = ...
 
 parameter = ...
 

Detailed Description

Parameters
methodComputation method for the low order moments algorithm, daal.algorithms.low_order_moments.Method
fptypeData type to use in intermediate computations of low order moments, double or float
Enumerations
  • Method Computation methods for the low order moments algorithm
  • InputId Identifiers of input objects for the low order moments algorithm
  • PartialResultId Identifiers of partial result of the low order moments algorithm
  • ResultId Identifiers of the results of the low order moments algorithm
Aliases
  • Online_Float64DefaultDense is an alias of Online(fptype=float64, method=daal.algorithms.low_order_moments.defaultDense)
  • Online_Float64SinglePassDense is an alias of Online(fptype=float64, method=daal.algorithms.low_order_moments.singlePassDense)
  • Online_Float64SumDense is an alias of Online(fptype=float64, method=daal.algorithms.low_order_moments.sumDense)
  • Online_Float64FastCSR is an alias of Online(fptype=float64, method=daal.algorithms.low_order_moments.fastCSR)
  • Online_Float64SinglePassCSR is an alias of Online(fptype=float64, method=daal.algorithms.low_order_moments.singlePassCSR)
  • Online_Float64SumCSR is an alias of Online(fptype=float64, method=daal.algorithms.low_order_moments.sumCSR)
  • Online_Float32DefaultDense is an alias of Online(fptype=float32, method=daal.algorithms.low_order_moments.defaultDense)
  • Online_Float32SinglePassDense is an alias of Online(fptype=float32, method=daal.algorithms.low_order_moments.singlePassDense)
  • Online_Float32SumDense is an alias of Online(fptype=float32, method=daal.algorithms.low_order_moments.sumDense)
  • Online_Float32FastCSR is an alias of Online(fptype=float32, method=daal.algorithms.low_order_moments.fastCSR)
  • Online_Float32SinglePassCSR is an alias of Online(fptype=float32, method=daal.algorithms.low_order_moments.singlePassCSR)
  • Online_Float32SumCSR is an alias of Online(fptype=float32, method=daal.algorithms.low_order_moments.sumCSR)

Constructor & Destructor Documentation

def __init__ (   self,
  args 
)

Variant 1
Default constructor

Variant 2

Constructs and algorithm that computes moments of low order by copying input objects and parameters of another algorithm that computes moments of low order

Parameters
otherAn algorithm to be used as the source to initialize the input objects and parameters of the algorithm

Member Function Documentation

def clone (   self)

Returns a pointer to the newly allocated algorithm that computes moments of low order with a copy of input objects of this algorithm

Returns
Pointer to the newly allocated algorithm
def compute (   self)

Invokes computations and returns partial result

def finalizeCompute (   self)

Finalizes computations and returns (final) result

def getMethod (   self)

Returns method of the algorithm

Returns
Method of the algorithm
def getPartialResult (   self)

Returns the structure that contains partial results of the low order moments algorithm

Returns
Structure that contains partial results
def getResult (   self)

Returns the structure that contains the results of the low order moments algorithm

Returns
Structure that contains the results
def setPartialResult (   self,
  partialResult,
  initFlag = False 
)

Variant 1

Registers user-allocated memory to store partial results of the low order momemnts algorithm

Parameters
partialResultStructure for storing partial results of the low order moments algorithm
initFlagFlag that specifies whether the partial results are initialized

Variant 2

Registers user-allocated memory to store partial results of the low order momemnts algorithm

Parameters
partialResultStructure for storing partial results of the low order moments algorithm
initFlagFlag that specifies whether the partial results are initialized
def setResult (   self,
  result 
)

Registers user-allocated memory to store final results of the low order moments algorithm

Parameters
resultStructure for storing the results of the low order moments algorithm

Member Data Documentation

input = ...
static

Input data structure

parameter = ...
static

Parameters structure


The documentation for this class was generated from the following file:

For more complete information about compiler optimizations, see our Optimization Notice.