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 batch normalization layer. More...

Public Member Functions

def __init__
 
def getWeightsSizes
 
def getBiasesSizes
 
def getInputLayerData
 
def setInputLayerData
 
def check
 
def allocate_{Float64|Float32}
 
- 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 constructor

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 allocate_{Float64|Float32} (   self,
  parameter,
  method 
)

Allocates memory to store input objects of forward batch normalization layer

Parameters
parameterParameter of forward batch normalization layer
methodComputation method for the layer
Returns
Status of computations
Deprecated:
This item will be removed in a future release.
Full Names
  • allocate_Float64 is for float64
  • allocate_Float32 is for float32
def check (   self,
  parameter,
  method 
)

Checks input object of the forward batch normalization 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 getBiasesSizes (   self,
  parameter 
)

Returns dimensions of biases tensor

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

Returns an input object for forward batch normalization layer

Parameters
idIdentifier of the input object
Returns
Input object that corresponds to the given identifier
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 setInputLayerData (   self,
  id,
  ptr 
)

Sets input for the forward batch normalization layer

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