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 layer algorithm More...

Public Member Functions

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 
)

__init__(daal.algorithms.neural_networks.layers.forward.Input self, size_t nElements) -> Input

Member Function Documentation

def addData (   self,
  dataTensor,
  index 
)

Adds tensor with data to the input object of the layer algorithm

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,
  par,
  method 
)

Checks an input object for the layer algorithm

Parameters
parParameter of algorithm
methodComputation method of the algorithm
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 getBiasesSizes (   self,
  parameter 
)

Returns dimensions of biases tensor

Returns
Dimensions of biases tensor
Deprecated:
This item will be removed in a future release.
def getInput (   self,
  id 
)

Returns input Tensor of the layer algorithm

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 getInputLayerData (   self,
  id 
)

Returns input InputLayerData of the layer algorithm

Parameters
idIdentifier of the input object
Returns
Input InputLayerData that corresponds to the given identifier
Deprecated:
This item will be removed in a future release.
def getLayout (   self)

Returns the layout of the input object for the layer algorithm

Returns
Layout of the input object for the layer algorithm
Deprecated:
This item will be removed in a future release.
def getWeightsSizes (   self,
  parameter 
)

Returns dimensions of weights tensor

Returns
Dimensions of weights tensor
Deprecated:
This item will be removed in a future release.
def setInput (   self,
  id,
  ptr 
)

Sets input for the layer algorithm

Parameters
idIdentifier of the input object
ptrPointer to the object
Deprecated:
This item will be removed in a future release.
def setInputLayerData (   self,
  id,
  ptr 
)

Sets input for the layer algorithm

Parameters
idIdentifier of the input object
ptrPointer to the object
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.