Lines Matching refs:param
551 Conv2dParam param; in prepare() local
552 NN_RET_CHECK(param.initialize(context)); in prepare()
555 uint32_t height = getSizeOfDimension(input, param.useNchw ? 2 : 1); in prepare()
556 uint32_t width = getSizeOfDimension(input, param.useNchw ? 3 : 2); in prepare()
557 uint32_t channels_in = getSizeOfDimension(input, param.useNchw ? 1 : 3); in prepare()
569 int32_t effectiveFilterWidth = (filterWidth - 1) * param.dilation_width_factor + 1; in prepare()
570 int32_t effectiveFilterHeight = (filterHeight - 1) * param.dilation_height_factor + 1; in prepare()
571 NN_RET_CHECK_GT(effectiveFilterWidth, param.padding_left); in prepare()
572 NN_RET_CHECK_GT(effectiveFilterWidth, param.padding_right); in prepare()
573 NN_RET_CHECK_GT(effectiveFilterHeight, param.padding_top); in prepare()
574 NN_RET_CHECK_GT(effectiveFilterHeight, param.padding_bottom); in prepare()
577 computeOutSize(width, filterWidth, param.stride_width, param.dilation_width_factor, in prepare()
578 param.padding_left, param.padding_right); in prepare()
580 computeOutSize(height, filterHeight, param.stride_height, param.dilation_height_factor, in prepare()
581 param.padding_top, param.padding_bottom); in prepare()
585 if (param.useNchw) { in prepare()
596 Conv2dParam param; in execute() local
597 NN_RET_CHECK(param.initialize(context)); in execute()
605 context->getInputShape(kBiasTensor), param.padding_left, in execute()
606 param.padding_right, param.padding_top, param.padding_bottom, in execute()
607 param.stride_width, param.stride_height, param.dilation_width_factor, in execute()
608 param.dilation_height_factor, param.activation, param.useNchw, in execute()
617 context->getInputShape(kBiasTensor), param.padding_left, in execute()
618 param.padding_right, param.padding_top, param.padding_bottom, in execute()
619 param.stride_width, param.stride_height, param.dilation_width_factor, in execute()
620 param.dilation_height_factor, param.activation, param.useNchw, in execute()
635 context->getInputShape(kBiasTensor), param.padding_left, in execute()
636 param.padding_right, param.padding_top, param.padding_bottom, in execute()
637 param.stride_width, param.stride_height, param.dilation_width_factor, in execute()
638 param.dilation_height_factor, param.activation, param.useNchw, in execute()
647 context->getInputShape(kBiasTensor), param.padding_left, in execute()
648 param.padding_right, param.padding_top, param.padding_bottom, in execute()
649 param.stride_width, param.stride_height, param.dilation_width_factor, in execute()
650 param.dilation_height_factor, param.activation, param.useNchw, in execute()
668 context->getInputShape(kBiasTensor), param.padding_left, in execute()
669 param.padding_right, param.padding_top, param.padding_bottom, in execute()
670 param.stride_width, param.stride_height, param.dilation_width_factor, in execute()
671 param.dilation_height_factor, param.activation, param.useNchw, in execute()
681 context->getInputShape(kBiasTensor), param.padding_left, in execute()
682 param.padding_right, param.padding_top, param.padding_bottom, in execute()
683 param.stride_width, param.stride_height, param.dilation_width_factor, in execute()
684 param.dilation_height_factor, param.activation, param.useNchw, in execute()