Python* API Reference for Intel® Data Analytics Acceleration Library 2019 Update 5
Provides methods to access the result obtained with the compute() method of the forward 2D spatial layer. More...
Public Member Functions | |
| def | __init__ |
| def | getValueSize |
| def | check |
| def | computeValueDimensions |
| def | createAuxInputDimensions |
| def | allocate_{Float64|Float32} |
Public Member Functions inherited from Result | |
| def | getValueSize |
| def | getValueCollectionSize |
| def | getResult |
| def | getResultLayerData |
| def | setResult |
| def | setResultLayerData |
| def | getSerializationTag |
| def | check |
| def | getLayout |
| def | setResultForBackward |
| def | getValue |
| def | allocate_{Float64|Float32} |
Public Member Functions inherited from Result | |
| def | __init__ |
| def | getSerializationTag |
| def | check |
Public Member Functions inherited from SerializationIface | |
| def | serialize |
| def | deserialize |
| def | getSerializationTag |
Public Member Functions inherited from Base | |
| def | __init__ |
Public Member Functions inherited from Argument | |
| def | __init__ |
| def | __lshift__ |
| def | size |
| def __init__ | ( | self | ) |
Default constructor
| def allocate_{Float64|Float32} | ( | self, | |
| input, | |||
| parameter, | |||
| method | |||
| ) |
Allocates memory to store the result of the forward 2D pooling layer
| input | Pointer to an object containing the input data |
| method | Computation method for the layer |
| parameter | Parameter of the forward 2D pooling layer |
allocate_Float64 is for float64allocate_Float32 is for float32 | def check | ( | self, | |
| input, | |||
| parameter, | |||
| method | |||
| ) |
Checks the result of the forward 2D pooling layer
| input | Input object for the layer |
| parameter | Parameter of the layer |
| method | Computation method |
| def computeValueDimensions | ( | inputDims, | |
| param | |||
| ) |
computeValueDimensions(daal.services.Collection< size_t > const & inputDims, Parameter param) -> daal.services.Collection< size_t >
| def createAuxInputDimensions | ( | self, | |
| dataDims | |||
| ) |
createAuxInputDimensions(Result self, daal.services.Collection< size_t > const & dataDims) -> daal.data_management.NumericTablePtr
| def getValueSize | ( | self, | |
| inputSize, | |||
| par, | |||
| method | |||
| ) |
Returns dimensions of value tensor
For more complete information about compiler optimizations, see our Optimization Notice.