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

Public Member Functions | List of all members
Input Class Reference

Input parameters for the backward split layer More...

Public Member Functions

def __init__
 Default constructor.
 
def getInputLayerData
 
def setInputLayerData
 
def addInputGradient
 
def setInputFromForward
 
def check
 
def getLayout
 
- Public Member Functions inherited from Input
def __init__
 Constructor.
 
def getInput
 
def getInputLayerData
 
def setInput
 
def setInputLayerData
 
def addInputGradient
 
def setInputFromForward
 
def check
 
def getLayout
 
- Public Member Functions inherited from InputIface
def __init__
 Constructor.
 
- 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)
Deprecated:
This item will be removed in a future release.

Member Function Documentation

def addInputGradient (   self,
  igTensor,
  index 
)

Adds tensor with input gradient to the input object of the backward split layer

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

Checks an input object of the backward split layer

Parameters
parAlgorithm parameter
methodComputation method
Returns
Status of computations
Deprecated:
This item will be removed in a future release.
def getInputLayerData (   self,
  args 
)

Variant 1

Returns a tensor with a given index from the collection of input tensors

Parameters
idIdentifier of the collection of input tensors
indexIndex of the tensor to be returned
Returns
Pointer to the table with the input tensor
Deprecated:
This item will be removed in a future release.

Variant 2

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 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 setInputFromForward (   self,
  result 
)

Sets input structure retrieved from the result of the forward layer

Parameters
resultResult of the forward layer
Deprecated:
This item will be removed in a future release.
def setInputLayerData (   self,
  args 
)

Variant 1

Sets an input object for the backward split layer

Parameters
idIdentifier of the input object
valuePointer to the input object
indexIndex of the tensor to be set
Deprecated:
This item will be removed in a future release.

Variant 2

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.