Python* API Reference for Intel® Data Analytics Acceleration Library 2019 Update 5

Public Member Functions | List of all members
Input Class Reference

Input objects for the backward element-wise sum layer More...

Public Member Functions

def __init__
 
def getLayerData
 
def getLayerDataNumericTable
 
def setLayerData
 
def setLayerDataNumericTable
 
def check
 
def getNumberOfCoefficients
 
- Public Member Functions inherited from Input
def __init__
 
def getInput
 
def getInputLayerData
 
def setInput
 
def setInputLayerData
 
def addInputGradient
 
def setInputFromForward
 
def check
 
def getLayout
 
- Public Member Functions inherited from InputIface
def __init__
 
- Public Member Functions inherited from Input
def __init__
 
def check
 
- Public Member Functions inherited from Argument
def __init__
 
def __lshift__
 
def size
 

Detailed Description

Constructor & Destructor Documentation

def __init__ (   self,
  args 
)

Variant 1

Default constructor


Variant 2
Copy constructor

Member Function Documentation

def check (   self,
  par,
  method 
)

Checks an input object of the element-wise sum layer

Parameters
parParameter of layer
methodComputation method of the layer
Returns
Status of computations
def getLayerData (   self,
  id 
)

Returns an input tensor for backward element-twise sum layer

Parameters
idIdentifier of the input tensor
Returns
Input tensor that corresponds to the given identifier
def getLayerDataNumericTable (   self,
  id 
)

Returns an input numeric table for backward element-wise sum layer

Parameters
idIdentifier of the input numeric table
Returns
Input numeric table that corresponds to the given identifier
def getNumberOfCoefficients (   self)

Gets number of coefficients (or number of input tensors on the forward pass)

Returns
Number of coefficients
def setLayerData (   self,
  id,
  value 
)

Sets an input tensor for the backward element-twise sum layer

Parameters
idIdentifier of the input tensor
valueInput tensor to set
def setLayerDataNumericTable (   self,
  id,
  value 
)

Sets an input numeric table for the backward element-wise sum layer

Parameters
idIdentifier of the input numeric table
valueInput numeric table

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

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