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

Public Member Functions | List of all members
Input Class Reference

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

Public Member Functions

def __init__
 
def get
 
def setInput
 
def getLayerData
 
def setLayerData
 
def addData
 
def eraseInputData
 
def check
 
- 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

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

Constructor & Destructor Documentation

def __init__ (   self,
  args 
)

Variant 1

Default constructo

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

Variant 2

Copy constructor

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

Member Function Documentation

def addData (   self,
  dataTensor,
  index 
)

Adds tensor with data to the input object of the forward element-wise sum layer

Parameters
dataTensorTensor with data
indexIndex of the tensor with data
Returns
Status of computations
Deprecated:
This item will be removed in a future release.
def check (   self,
  parameter,
  method 
)

Checks input object of the forward element-wise sum layer

Parameters
parameterParameter of layer
methodComputation method of the layer
Returns
Status of computations
Deprecated:
This item will be removed in a future release.
def eraseInputData (   self)

Erases input data tensor from the input of the forward layer

Returns
Status of computations
Deprecated:
This item will be removed in a future release.
def get (   self,
  id 
)

Returns an input tensor of the forward element-wise sum layer

Parameters
idIdentifier of the input tensor
Returns
Input tensor that corresponds to the given identifier
Deprecated:
This item will be removed in a future release.
def getLayerData (   self,
  id,
  index 
)

Returns an input tensor of the forward element-wise sum layer

Parameters
idIdentifier of the input tensor
indexIndex of the input tensor
Returns
Input tensor that corresponds to the given identifier
Deprecated:
This item will be removed in a future release.
def setInput (   self,
  id,
  value 
)

Sets an input tensor of the forward element-wise sum layer

Parameters
idIdentifier of the input tensor
valuePointer to the tensor
Deprecated:
This item will be removed in a future release.
def setLayerData (   self,
  id,
  value,
  index 
)

Sets an input tensor for the forward element-wise sum layer

Parameters
idIdentifier of the input tensor
valuePointer to the tensor
indexIndex of the input tensor
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.