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

Public Member Functions | List of all members
DistributedPartialResult Class Reference

Provides methods to access partial results obtained with the compute() method of the SVD algorithm in the second step in the distributed processing mode. More...

Public Member Functions

def serializationTag
 
def getSerializationTag
 
def __init__
 
def get
 
def getResult
 
def setCollection
 
def setResult
 
def check
 
def getCollection
 
def allocate_{Float64|Float32}
 
- Public Member Functions inherited from PartialResult
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

Constructor & Destructor Documentation

def __init__ (   self)

Default constructor

Member Function Documentation

def allocate_{Float64|Float32} (   self,
  input,
  parameter,
  method 
)

Allocates memory to store partial results of the SVD algorithm

Returns
Status of allocation
Full Names
  • allocate_Float64 is for float64
  • allocate_Float32 is for float32
def check (   self,
  args 
)

Variant 1

Checks partial results of the algorithm

Parameters
parameterPointer to parameters
methodComputation method
Returns
Errors detected while checking

Variant 2

Checks final results of the algorithm

Parameters
inputPointer to input objects
parameterPointer to parameters
methodComputation method
Returns
Errors detected while checking
def get (   self,
  id,
  idx 
)

Returns the DataCollection from outputOfStep2ForStep3 results of the SVD algorithm.

Parameters
idIdentifier of the partial result
idxIndex of the DataCollection within KeyValueDataCollcetion of the partial result
Returns
Value that corresponds to the given identifier and index
def getCollection (   self,
  args 
)

getCollection(DistributedPartialResult self, daal.algorithms.svd.DistributedPartialResultCollectionId id) -> daal.data_management.KeyValueDataCollectionPtr

def getResult (   self,
  id 
)

Returns results of the SVD algorithm with singular values and the left orthogonal matrix calculated

Parameters
idIdentifier of the parameter
Returns
Parameter that corresponds to the given identifier
def getSerializationTag (   self)

getSerializationTag(DistributedPartialResult self) -> int

def serializationTag ( )
def setCollection (   self,
  id,
  value 
)

Sets KeyValueDataCollection to store partial results of the SVD algorithm

Parameters
idIdentifier of the partial result
valueValue that corresponds to the given identifier
def setResult (   self,
  id,
  value 
)

Sets the Result object to store results of the SVD algorithm

Parameters
idIdentifier of the parameter
valuePointer to the Result object

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

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