umd/core/src/compiler/engine-ast/PDPNode.cpp
void engine_ast::PDPNode::captureCanonicalParams()
{
    params().setPoolingType(canonicalNode()->params().poolType());
    params().setTopLeftPadding(canonicalNode()->params().topLeftPadding());
    params().setBottomRightPadding(canonicalNode()->params().bottomRightPadding());
    params().setPaddingValue(0);
    params().setStride(canonicalNode()->params().stride());
    params().setPoolingWindow(canonicalNode()->params().kernelDims());
}
/* TODO: If in future PDP engine could run >1 operation,
 * strip them into separate files and just keep the common stuff here
 */
If in future PDP engine could run >1 operation,
strip them into separate files and just keep the common stuff here
If in future PDP engine could run > 1 operation strip them into separate files and just keep the common stuff here
void engine_ast::PDPNode::captureCanonicalParams()
{
    params().setPoolingType(canonicalNode()->params().poolType());
    params().setTopLeftPadding(canonicalNode()->params().topLeftPadding());
    params().setBottomRightPadding(canonicalNode()->params().bottomRightPadding());
    params().setPaddingValue(0);
    params().setStride(canonicalNode()->params().stride());
    params().setPoolingWindow(canonicalNode()->params().kernelDims());
}
void engine_ast :: PDPNode :: captureCanonicalParams ( ) { params ( ) . setPoolingType ( canonicalNode ( ) -> params ( ) . poolType ( ) ) ; params ( ) . setTopLeftPadding ( canonicalNode ( ) -> params ( ) . topLeftPadding ( ) ) ; params ( ) . setBottomRightPadding ( canonicalNode ( ) -> params ( ) . bottomRightPadding ( ) ) ; params ( ) . setPaddingValue ( 0 ) ; params ( ) . setStride ( canonicalNode ( ) -> params ( ) . stride ( ) ) ; params ( ) . setPoolingWindow ( canonicalNode ( ) -> params ( ) . kernelDims ( ) ) ; }
TODO: If in future PDP engine could run >1 operation,
 strip them into separate files and just keep the common stuff here
TODO : If in future PDP engine could run > 1 operation strip them into separate files and just keep the common stuff here