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

Public Member Functions | List of all members
DistributedPartialResultStep4 Class Reference

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

Public Member Functions

def serializationTag
 
def getSerializationTag
 
def __init__
 
def get
 
def set
 
def check
 
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 a partial result of the implicit ALS training algorithm

Parameters
inputPointer to the input object
parameterPointer to the parameter
methodAlgorithm computation method
Full Names
  • allocate_Float64 is for float64
  • allocate_Float32 is for float32
def check (   self,
  input,
  parameter,
  method 
)

Checks a partial result of the implicit ALS training algorithm

Parameters
inputPointer to the structure of input objects
parameterPointer to the structure of algorithm parameters
methodComputation method
def get (   self,
  id 
)

Returns a partial result of the implicit ALS training algorithm

Parameters
idIdentifier of the partial result
Returns
Value that corresponds to the given identifier
def getSerializationTag (   self)

getSerializationTag(DistributedPartialResultStep4 self) -> int

def serializationTag ( )
def set (   self,
  id,
  ptr 
)

Sets a partial result of the implicit ALS training algorithm

Parameters
idIdentifier of the partial result
ptrPointer to the partial result

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

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