Lines Matching refs:param
650 Conv2dParam param; in prepare() local
651 NN_RET_CHECK(param.initialize(context)); in prepare()
654 uint32_t height = getSizeOfDimension(input, param.useNchw ? 2 : 1); in prepare()
655 uint32_t width = getSizeOfDimension(input, param.useNchw ? 3 : 2); in prepare()
656 uint32_t channels_in = getSizeOfDimension(input, param.useNchw ? 1 : 3); in prepare()
668 int32_t effectiveFilterWidth = (filterWidth - 1) * param.dilation_width_factor + 1; in prepare()
669 int32_t effectiveFilterHeight = (filterHeight - 1) * param.dilation_height_factor + 1; in prepare()
670 NN_RET_CHECK_GT(effectiveFilterWidth, param.padding_left); in prepare()
671 NN_RET_CHECK_GT(effectiveFilterWidth, param.padding_right); in prepare()
672 NN_RET_CHECK_GT(effectiveFilterHeight, param.padding_top); in prepare()
673 NN_RET_CHECK_GT(effectiveFilterHeight, param.padding_bottom); in prepare()
676 computeOutSize(width, filterWidth, param.stride_width, param.dilation_width_factor, in prepare()
677 param.padding_left, param.padding_right); in prepare()
679 computeOutSize(height, filterHeight, param.stride_height, param.dilation_height_factor, in prepare()
680 param.padding_top, param.padding_bottom); in prepare()
684 if (param.useNchw) { in prepare()
695 Conv2dParam param; in execute() local
696 NN_RET_CHECK(param.initialize(context)); in execute()
704 context->getInputShape(kBiasTensor), param.padding_left, in execute()
705 param.padding_right, param.padding_top, param.padding_bottom, in execute()
706 param.stride_width, param.stride_height, param.dilation_width_factor, in execute()
707 param.dilation_height_factor, param.activation, param.useNchw, in execute()
716 context->getInputShape(kBiasTensor), param.padding_left, in execute()
717 param.padding_right, param.padding_top, param.padding_bottom, in execute()
718 param.stride_width, param.stride_height, param.dilation_width_factor, in execute()
719 param.dilation_height_factor, param.activation, param.useNchw, in execute()
732 context->getInputShape(kBiasTensor), param.padding_left, in execute()
733 param.padding_right, param.padding_top, param.padding_bottom, in execute()
734 param.stride_width, param.stride_height, param.dilation_width_factor, in execute()
735 param.dilation_height_factor, param.activation, param.useNchw, in execute()
744 context->getInputShape(kBiasTensor), param.padding_left, in execute()
745 param.padding_right, param.padding_top, param.padding_bottom, in execute()
746 param.stride_width, param.stride_height, param.dilation_width_factor, in execute()
747 param.dilation_height_factor, param.activation, param.useNchw, in execute()
763 context->getInputShape(kBiasTensor), param.padding_left, in execute()
764 param.padding_right, param.padding_top, param.padding_bottom, in execute()
765 param.stride_width, param.stride_height, param.dilation_width_factor, in execute()
766 param.dilation_height_factor, param.activation, param.useNchw, in execute()
776 context->getInputShape(kBiasTensor), param.padding_left, in execute()
777 param.padding_right, param.padding_top, param.padding_bottom, in execute()
778 param.stride_width, param.stride_height, param.dilation_width_factor, in execute()
779 param.dilation_height_factor, param.activation, param.useNchw, in execute()