Python* API Reference for Intel® Data Analytics Acceleration Library 2018 Update 2

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

Computes the results of the backward concat layer 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
 
def getErrors
 
- Public Member Functions inherited from AlgorithmIface
def checkComputeParams
 
def checkResult
 
def getMethod
 
def getErrors
 

Static Public Attributes

 parameter = ...
 
 input = ...
 

Detailed Description

Parameters
fptypeData type to use in intermediate computations for the backward concat layer, double or float
methodThe backward concat layer computation method, Method
Enumerations
  • Method Computation methods for the backward concat layer
  • backward.InputId Identifiers of input objects for the backward concat layer
  • LayerDataId Identifiers of collection in input objects for the concat layer
  • backward.InputLayerDataId Identifiers of extra results computed by the backward concat layer
  • backward.ResultId Identifiers of result objects for the backward concat layer
References
Aliases
  • Batch_Float64DefaultDense is an alias of Batch(fptype=float64, method=daal.algorithms.neural_networks.layers.concat.defaultDense)
  • Batch_Float32DefaultDense is an alias of Batch(fptype=float32, method=daal.algorithms.neural_networks.layers.concat.defaultDense)

Constructor & Destructor Documentation

def __init__ (   self,
  args 
)

Variant 1

Constructs backward concat layer

Parameters
concatDimensionIndex of dimension along which concatenation is implemented

Variant 2

Constructs backward concat layer

Parameters
concatDimensionIndex of dimension along which concatenation is implemented

Variant 3

Constructs a backward concat layer in the batch processing mode and initializes its parameter with the provided parameter

Parameters
parameterParameter to initialize the parameter of the layer

Variant 4

Constructs the backward concat layer by copying input objects of another backward concat layer in the batch processing mode

Parameters
otherAn algorithm to be used as the source to initialize the input objects of the backward concat layer

Member Function Documentation

def allocateResult (   self)

Allocates memory to store the result of the backward concat layer

Returns
Status of computations
def clone (   self)

Returns a pointer to a newly allocated backward concat layer with a copy of input objects of this backward concat layer

Returns
Pointer to the newly allocated algorithm
def compute (   self)

Invokes computations

def getLayerInput (   self)

Returns the structure that contains input objects of concat layer

Returns
Structure that contains input objects of concat layer
def getLayerParameter (   self)

Returns the structure that contains parameters of the backward concat layer

Returns
Structure that contains parameters of the backward concat layer
def getLayerResult (   self)

Returns the structure that contains the result of the backward concat layer

Returns
Structure that contains the result of the backward concat layer
def getMethod (   self)

Returns method of the backward concat layer

Returns
Method of the backward concat layer
def getResult (   self)

Returns the structure that contains the result of the backward concat layer

Returns
Structure that contains the result of backward concat layer
def setResult (   self,
  result 
)

Registers user-allocated memory to store results of the backward concat layer

Parameters
resultStructure to store results of the backward concat layer
Returns
Status of computations

Member Data Documentation

input = ...
static

Input data structure

parameter = ...
static

Parameters of the algorithm


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

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