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

Public Member Functions | List of all members
Result Class Reference

Provides methods to access result obtained with the compute() method of the neural networks prediction algorithm. More...

Public Member Functions

def serializationTag
 
def getSerializationTag
 
def __init__
 
def getResult
 
def getResultCollection
 
def get
 
def setResult
 
def setResultCollection
 
def add
 
def check
 
def allocate_{Float64|Float32}
 
- Public Member Functions inherited from Result
def __init__
 
def getSerializationTag
 
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

Deprecated:
This item will be removed in a future release.

Constructor & Destructor Documentation

def __init__ (   self)

Member Function Documentation

def add (   self,
  id,
  key,
  value 
)

Add the value to the key-value data collection of partial results

Parameters
idIdentifier of the result
keyKey to use to retrieve data
valueResult
Deprecated:
This item will be removed in a future release.
def allocate_{Float64|Float32} (   self,
  input,
  parameter,
  method 
)

Registers user-allocated memory to store partial results of the neural networks model based prediction

Parameters
inputPointer to an object containing input data
methodComputation method for the algorithm
parameterParameter of the neural networks prediction
Returns
Status of computations
Deprecated:
This item will be removed in a future release.
Full Names
  • allocate_Float64 is for float64
  • allocate_Float32 is for float32
def check (   self,
  input,
  par,
  method 
)

Checks result of the neural networks algorithm

Parameters
inputInput object of algorithm
parParameter of algorithm
methodComputation method
Returns
Status of computations
Deprecated:
This item will be removed in a future release.
def get (   self,
  id,
  key 
)

Returns the result of the neural networks model based prediction

Parameters
idIdentifier of the result
keyIndex of the tensor with partial results in the key-value data collection
Returns
Result that corresponds to the given identifier
Deprecated:
This item will be removed in a future release.
def getResult (   self,
  id 
)

Returns the result of the neural networks model based prediction

Parameters
idIdentifier of the result
Returns
Result that corresponds to the given identifier
Deprecated:
This item will be removed in a future release.
def getResultCollection (   self,
  id 
)

Returns the result of the neural networks model based prediction

Parameters
idIdentifier of the result
Returns
Result that corresponds to the given identifier
Deprecated:
This item will be removed in a future release.
def getSerializationTag (   self)

getSerializationTag(Result self) -> int

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

Sets the result of neural networks model based prediction

Parameters
idIdentifier of the result
valueResult
Deprecated:
This item will be removed in a future release.
def setResultCollection (   self,
  id,
  value 
)

Sets the result of neural networks model based prediction

Parameters
idIdentifier of the result
valueResult
Deprecated:
This item will be removed in a future release.

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

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