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

Public Member Functions | List of all members
Input Class Reference

Input objects for the forward concat layer More...

Public Member Functions

def __init__
 Default constructor. More...
 
def getLayerData
 
def setLayerData
 
def addData
 
def eraseInputData
 
def check
 
def getLayout
 
- Public Member Functions inherited from Input
def __init__
 
def getInput
 
def setInput
 
def getInputLayerData
 
def setInputLayerData
 
def check
 
def getLayout
 
def getWeightsSizes
 
def getBiasesSizes
 
def addData
 
def eraseInputData
 
- 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

Variant 2
Copy constructor

Member Function Documentation

def addData (   self,
  dataTensor,
  index 
)

Adds tensor with data to the input object of the forward concat layer

Parameters
dataTensorTensor with data
indexIndex of the tensor with data
Returns
Status of computations
def check (   self,
  par,
  method 
)

Checks an input object for the forward concat layer

Parameters
parParameter of algorithm
methodComputation method of the algorithm
Returns
Status of computations
def eraseInputData (   self)

Erases input data tensor from the input of the forward layer

Returns
Status of computations
def getLayerData (   self,
  args 
)

Variant 1

Returns input Tensor of the forward concat layer

Parameters
idIdentifier of the input object
indexIndex of the input object
Returns
Input tensor that corresponds to the given identifier

Variant 2

Returns input LayerData of the forward concat layer

Parameters
idIdentifier of the input object
Returns
Input InputLayerData that corresponds to the given identifier
def getLayout (   self)

Returns the layout of the input object for the layer algorithm

Returns
Layout of the input object for the layer algorithm
def setLayerData (   self,
  args 
)

Variant 1

Sets input for the forward concat layer

Parameters
idIdentifier of the input object
valuePointer to the object

Variant 2

Sets input for the forward concat layer

Parameters
idIdentifier of the input object
valuePointer to the object
indexIndex of the input object

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

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