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

Public Member Functions | List of all members
PartialResult Class Reference

Base class to represent partial results of the computation. More...

Public Member Functions

def __init__
 
def getSerializationTag
 
def getInitFlag
 
def setInitFlag
 
def check
 
- Public Member Functions inherited from SerializationIface
def serialize
 
def deserialize
 
def getSerializationTag
 
- Public Member Functions inherited from Base
def __init__
 
- Public Member Functions inherited from Argument
def __init__
 
def __lshift__
 
def size
 

Detailed Description

Algorithm-specific partial results are represented as derivative classes of the PartialResult class.

Constructor & Destructor Documentation

def __init__ (   self,
  args 
)

Variant 1
Default constructor. Constructs empty partial results

Variant 2

Constructs partial results with n elements

Parameters
nNumber of elements in the partial results

Member Function Documentation

def check (   self,
  args 
)

Variant 1

Checks the correctness of the partial results structure

Parameters
inputPointer to the input arguments of the algorithm
parameterPointer to the parameters of the algorithm
methodComputation method

Variant 2

Checks the correctness of the partial results structure

Parameters
parameterPointer to the parameters of the algorithm
methodComputation method
def getInitFlag (   self)

Retrieves the initialization flag

Returns
Initialization flag. True, if the partial results are already initialized; false - otherwise.
def getSerializationTag (   self)
def setInitFlag (   self,
  flag 
)

Sets the initialization flag

Parameters
flagInitialization flag. True, if the partial results are already initialized; false - otherwise.

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

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