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 the result obtained with the compute() method of the forward spatial pyramid stochastic 2D pooling layer. More...

Public Member Functions

def serializationTag
 
def getSerializationTag
 
def __init__
 
def getLayerData
 
def get
 
def setLayerData
 
def set
 
def check
 
def allocate_{Float64|Float32}
 
- Public Member Functions inherited from Result
def __init__
 
def getValueSize
 
def check
 
def allocate_{Float64|Float32}
 
- Public Member Functions inherited from Result
def getValueSize
 
def getValueCollectionSize
 
def getResult
 
def getResultLayerData
 
def setResult
 
def setResultLayerData
 
def getSerializationTag
 
def check
 
def getLayout
 
def setResultForBackward
 
def getValue
 
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)

Default constructor

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

Member Function Documentation

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

Allocates memory to store the result of the forward spatial pyramid stochastic 2D pooling layer

Parameters
inputPointer to an object containing the input data
parameterParameter of the forward spatial pyramid stochastic 2D pooling layer
methodComputation method for the layer
Returns
Status of computations
Full Names
  • allocate_Float64 is for float64
  • allocate_Float32 is for float32
def check (   self,
  input,
  parameter,
  method 
)

Checks the result of the forward spatial pyramid stochastic 2D pooling layer

Parameters
inputInput of the layer
parameterParameter of the layer
methodComputation method of the layer
Returns
Status of computations
def get (   self,
  id 
)

Returns the result of the forward spatial pyramid stochastic 2D pooling layer

Parameters
idIdentifier of the result
Returns
Result that corresponds to the given identifier
def getLayerData (   self,
  id 
)

Returns the result of the forward spatial pyramid stochastic 2D pooling layer

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

getSerializationTag(Result self) -> int

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

Sets the result of the forward spatial pyramid stochastic 2D pooling layer

Parameters
idIdentifier of the result
ptrResult
def setLayerData (   self,
  id,
  ptr 
)

Sets the result of the forward spatial pyramid stochastic 2D pooling layer

Parameters
idIdentifier of the result
ptrResult

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

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