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

Public Member Functions | Static Public Attributes | List of all members
Batch Class Reference

Provides methods for backward 2D locally connected layer computations in the batch processing mode. More...

Public Member Functions

def __init__
 
def getMethod
 
def getLayerInput
 
def getLayerParameter
 
def getLayerResult
 
def getResult
 
def setResult
 
def clone
 
def allocateResult
 
def compute
 
- Public Member Functions inherited from LayerIface
def getLayerResult
 
def getLayerInput
 
def getLayerParameter
 
def clone
 
def allocateResult
 
def addInput
 
- Public Member Functions inherited from AlgorithmImpl
def computeNoThrow
 
def compute
 
def checkComputeParams
 
def checkResult
 
def setupCompute
 
def resetCompute
 
def enableResetOnCompute
 
def hostApp
 
def setHostApp
 
- Public Member Functions inherited from Algorithm
def checkComputeParams
 
def getBaseParameter
 
- Public Member Functions inherited from AlgorithmIfaceImpl
def enableChecks
 
def isChecksEnabled
 
- Public Member Functions inherited from AlgorithmIface
def checkComputeParams
 
def checkResult
 
def getMethod
 

Static Public Attributes

 parameter = ...
 
 input = ...
 

Detailed Description

Parameters
fptypeData type to use in intermediate computations of backward 2D locally connected layer, double or float
methodComputation method of the layer, Method
Enumerations
  • Method Computation methods for the backward 2D locally connected layer
  • LayerDataId Identifiers of input objects for the backward 2D locally connected layer
References
Deprecated:
This item will be removed in a future release.
Aliases
  • Batch_Float64DefaultDense is an alias of Batch(fptype=float64, method=daal.algorithms.neural_networks.layers.locallyconnected2d.defaultDense)
  • Batch_Float32DefaultDense is an alias of Batch(fptype=float32, method=daal.algorithms.neural_networks.layers.locallyconnected2d.defaultDense)

Constructor & Destructor Documentation

def __init__ (   self,
  args 
)

Variant 1

Default constructor

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

Variant 2

Constructs a backward 2D locally connected layer in the batch processing mode and initializes its parameter with the provided parameter

Parameters
parameterParameter to initialize the parameter of the layer
Deprecated:
This item will be removed in a future release.

Variant 3

Constructs a backward 2D locally connected layer by copying input objects and parameters of another 2D locally connected layer

Parameters
otherA layer to be used as the source to initialize the input objects and parameters of this layer
Deprecated:
This item will be removed in a future release.

Member Function Documentation

def allocateResult (   self)

allocateResult(Batch self) -> Status

def clone (   self)

Returns a pointer to the newly allocated 2D locally connected layer with a copy of input objects and parameters of this 2D locally connected layer

Returns
Pointer to the newly allocated layer
Deprecated:
This item will be removed in a future release.
def compute (   self)

Invokes computations

def getLayerInput (   self)

Returns the structure that contains input objects of 2D locally connected layer

Returns
Structure that contains input objects of 2D locally connected layer
Deprecated:
This item will be removed in a future release.
def getLayerParameter (   self)

Returns the structure that contains parameters of the 2D locally connected layer

Returns
Structure that contains parameters of the 2D locally connected layer
Deprecated:
This item will be removed in a future release.
def getLayerResult (   self)

Returns the structure that contains results of 2D locally connected layer

Returns
Structure that contains results of 2D locally connected layer
Deprecated:
This item will be removed in a future release.
def getMethod (   self)

Returns computation method of the layer

Returns
Computation method of the layer
Deprecated:
This item will be removed in a future release.
def getResult (   self)

Returns the structure that contains results of 2D locally connected layer

Returns
Structure that contains results of 2D locally connected layer
Deprecated:
This item will be removed in a future release.
def setResult (   self,
  result 
)

Registers user-allocated memory to store results of 2D locally connected layer

Parameters
resultStructure to store results of 2D locally connected layer
Returns
Status of computations
Deprecated:
This item will be removed in a future release.

Member Data Documentation

input = ...
static

Input objects of the layer

parameter = ...
static

Parameters of the layer


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

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