/dports/games/d2x/d2x-0.2.5/main/ |
H A D | texmerge.c | 329 ubyte * top_data, *bottom_data; in merge_textures_new() local 340 bottom_data = bottom_bmp->bm_data; in merge_textures_new() 350 gr_merge_textures( bottom_data, top_data, dest_data ); in merge_textures_new() 353 gr_merge_textures_1( bottom_data, top_data, dest_data ); in merge_textures_new() 356 gr_merge_textures_2( bottom_data, top_data, dest_data ); in merge_textures_new() 369 ubyte * top_data, *bottom_data; in merge_textures_super_xparent() local 380 bottom_data = bottom_bmp->bm_data; in merge_textures_super_xparent() 394 c = bottom_data[ 64*y+x ]; in merge_textures_super_xparent() 406 c = bottom_data[ 64*y+x ]; in merge_textures_super_xparent() 418 c = bottom_data[ 64*y+x ]; in merge_textures_super_xparent() [all …]
|
/dports/misc/mnn/MNN-1.2.0/source/backend/tensorrt/execution/plugin/ |
H A D | UnaryPlugin.cu | 117 …t UnaryPlugin::UnaryExecute(nvinfer1::DataType dataType, const int count, const float* bottom_data, in UnaryExecute() argument 121 … SIGN<float><<<CAFFE_GET_BLOCKS(count), CUDA_NUM_THREADS>>>(count, bottom_data, top_data); in UnaryExecute() 123 …><<<CAFFE_GET_BLOCKS(count), CUDA_NUM_THREADS>>>(count, (const __half*)bottom_data, (__half*)top_d… in UnaryExecute() 127 ERF<float><<<CAFFE_GET_BLOCKS(count), CUDA_NUM_THREADS>>>(count, bottom_data, top_data); in UnaryExecute() 129 …><<<CAFFE_GET_BLOCKS(count), CUDA_NUM_THREADS>>>(count, (const __half*)bottom_data, (__half*)top_d… in UnaryExecute() 133 … HARDSWISH<float><<<CAFFE_GET_BLOCKS(count), CUDA_NUM_THREADS>>>(count, bottom_data, top_data); in UnaryExecute() 135 …><<<CAFFE_GET_BLOCKS(count), CUDA_NUM_THREADS>>>(count, (const __half*)bottom_data, (__half*)top_d… in UnaryExecute()
|
H A D | InterpPlugin.cu | 49 … const int outputHeight, const int outputWidth, const float* bottom_data, float* top_data, in InterpExecute() argument 55 (const float*)bottom_data, (float*)top_data); in InterpExecute() 59 (const __half*)bottom_data, (__half*)top_data); in InterpExecute() 65 heightOffset, widthOffset, (const float*)bottom_data, (float*)top_data); in InterpExecute() 69 heightOffset, widthOffset, (const __half*)bottom_data, (__half*)top_data); in InterpExecute()
|
H A D | GatherPlugin.cu | 26 …therExecute(nvinfer1::DataType dataType, const int count, const float* bottom_data, const float* i… in GatherExecute() argument 29 … mOutputOutsideStride, mInputOutsideStride, mN, mLimit, mInsideStride, bottom_data, indices, top_d… in GatherExecute() 31 …Stride, mInputOutsideStride, mN, mLimit, mInsideStride, (const __half*)bottom_data, (const __half*… in GatherExecute()
|
H A D | ScalePlugin.cu | 26 …1::DataType dataType, const int count, const int channels, const int dim, const float* bottom_data, in ScaleExecute() argument 29 …<float><<<CAFFE_GET_BLOCKS(count), CUDA_NUM_THREADS>>>(count, channels, dim, bottom_data, top_data, in ScaleExecute() 32 …LOCKS(count), CUDA_NUM_THREADS>>>(count, channels, dim, (const __half*)bottom_data, (__half*)top_d… in ScaleExecute()
|
H A D | PreluPlugin.cu | 28 …1::DataType dataType, const int count, const int channels, const int dim, const float* bottom_data, in PReLUExecute() argument 32 …count, channels, dim, bottom_data, top_data, static_cast<const float*>(mDeviceKernel), div_factor); in PReLUExecute() 35 …count, channels, dim, (const __half*)bottom_data, (__half*)top_data, static_cast<const float*>(mDe… in PReLUExecute()
|
H A D | LayerNormPlugin.cu | 59 …infer1::DataType dataType, const int outter_size_, const int inner_size_, const float* bottom_data, in LayerNormExecute() argument 63 …OCKS(outter_size_), CUDA_NUM_THREADS>>>(outter_size_, inner_size_, mEpsilon, bottom_data, top_data, in LayerNormExecute() 66 …UDA_NUM_THREADS>>>(outter_size_, inner_size_, mEpsilon, (const __half*)bottom_data, (__half*)top_d… in LayerNormExecute()
|
H A D | UnaryPlugin.cpp | 28 const float *bottom_data = reinterpret_cast<const float *>(inputs[0]); in onEnqueue() local 30 return UnaryExecute(dataType, mCount, bottom_data, top_data, stream); in onEnqueue()
|
H A D | GatherPlugin.cpp | 29 const float *bottom_data = reinterpret_cast<const float *>(inputs[0]); in onEnqueue() local 38 return GatherExecute(dataType, mCount, bottom_data, indices, top_data, stream); in onEnqueue()
|
/dports/graphics/opencv/opencv-4.5.3/modules/dnn/src/opencl/ |
H A D | pooling.cl | 28 __global T* bottom_data, const int num, const int channels, const int height, const int width, 52 bottom_data = 53 bottom_data + (n * channels + c) * height * width; 56 if (bottom_data[h * width + w] > maxval) { 58 maxval = bottom_data[maxidx]; 72 __global T* bottom_data, const int num, const int channels, const int height, const int width, 96 bottom_data = 97 bottom_data + (n * channels + c) * height * width; 100 aveval += bottom_data[h * width + w];
|
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/similar/main/ |
H A D | texmerge.cpp | 123 …const unsigned wh, const uint8_t *const top_data, const uint8_t *const bottom_data, uint8_t *dest_… in merge_textures_case() argument 136 ? bottom_data[wh * y + x] in merge_textures_case() 149 const auto &bottom_data = expanded_bottom_bmp.bm_data; in merge_textures() local 154 merge_textures_case<texture_transform, merge_texture_0>(wh, top_data, bottom_data, dest_data); in merge_textures() 157 merge_textures_case<texture_transform, merge_texture_1>(wh, top_data, bottom_data, dest_data); in merge_textures() 160 merge_textures_case<texture_transform, merge_texture_2>(wh, top_data, bottom_data, dest_data); in merge_textures() 163 merge_textures_case<texture_transform, merge_texture_3>(wh, top_data, bottom_data, dest_data); in merge_textures()
|
/dports/science/py-chainer/chainer-7.8.0/chainer/functions/pooling/ |
H A D | roi_average_pooling_2d.py | 93 bottom_data, bottom_rois, bottom_roi_indices = inputs 94 channels, height, width = bottom_data.shape[1:] 97 dtype=bottom_data.dtype) 121 roi_data = bottom_data[int(idx), :, sliceh, slicew]\ 132 bottom_data, bottom_rois, bottom_roi_indices = inputs 133 channels, height, width = bottom_data.shape[1:] 136 self.outw), dtype=bottom_data.dtype) 193 )(bottom_data, bottom_rois, bottom_roi_indices, self.spatial_scale,
|
H A D | roi_max_pooling_2d.py | 93 bottom_data, bottom_rois, bottom_roi_indices = inputs 94 channels, height, width = bottom_data.shape[1:] 98 - numpy.inf, dtype=bottom_data.dtype) 123 roi_data = bottom_data[int(idx), :, sliceh, slicew]\ 141 bottom_data, bottom_rois, bottom_roi_indices = inputs 142 channels, height, width = bottom_data.shape[1:] 145 self.outw), dtype=bottom_data.dtype) 207 )(bottom_data, bottom_rois, bottom_roi_indices,
|
H A D | roi_average_align_2d.py | 152 bottom_data, bottom_rois, bottom_roi_indices = inputs 153 channels, height, width = bottom_data.shape[1:] 156 self.outw), dtype=bottom_data.dtype) 208 v1 = bottom_data[roi_batch_ind, c, y_low, x_low] 212 v2 = bottom_data[roi_batch_ind, c, y_low, x_high] 216 v3 = bottom_data[roi_batch_ind, c, y_high, x_low] 220 v4 = bottom_data[roi_batch_ind, c, y_high, x_high] 234 bottom_data, bottom_rois, bottom_roi_indices = inputs 235 channels, height, width = bottom_data.shape[1:] 238 self.outw), dtype=bottom_data.dtype) [all …]
|
H A D | roi_max_align_2d.py | 91 bottom_data, bottom_rois, bottom_roi_indices = inputs 92 channels, height, width = bottom_data.shape[1:] 95 self.outw), dtype=bottom_data.dtype) 148 v1 = bottom_data[roi_batch_ind, c, y_low, x_low] 152 v2 = bottom_data[roi_batch_ind, c, y_low, x_high] 156 v3 = bottom_data[roi_batch_ind, c, y_high, x_low] 160 v4 = bottom_data[roi_batch_ind, c, y_high, x_high] 178 bottom_data, bottom_rois, bottom_roi_indices = inputs 179 channels, height, width = bottom_data.shape[1:] 182 self.outw), dtype=bottom_data.dtype) [all …]
|
H A D | roi_pooling_2d.py | 73 bottom_data, bottom_rois = inputs 74 channels, height, width = bottom_data.shape[1:] 79 dtype=bottom_data.dtype) 103 roi_data = bottom_data[int(idx), :, sliceh, slicew]\ 121 bottom_data, bottom_rois = inputs 122 channels, height, width = bottom_data.shape[1:] 125 self.outw), dtype=bottom_data.dtype) 188 )(bottom_data, self.spatial_scale, channels, height, width,
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/ |
H A D | roi_pooling.cu | 35 __global__ void ROIPoolForwardKernel(const int count, const Dtype* bottom_data, in ROIPoolForwardKernel() argument 93 bottom_data += offset_bottom_data; in ROIPoolForwardKernel() 97 if (bottom_data[bottom_index] > maxval) { in ROIPoolForwardKernel() 98 maxval = bottom_data[bottom_index]; in ROIPoolForwardKernel() 114 const Dtype *bottom_data = data.dptr_; in ROIPoolForward() local 131 count, bottom_data, spatial_scale, batch_size, channels, height, width, in ROIPoolForward()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/ |
H A D | roi_pooling.cu | 35 __global__ void ROIPoolForwardKernel(const int count, const Dtype* bottom_data, in ROIPoolForwardKernel() argument 93 bottom_data += offset_bottom_data; in ROIPoolForwardKernel() 97 if (bottom_data[bottom_index] > maxval) { in ROIPoolForwardKernel() 98 maxval = bottom_data[bottom_index]; in ROIPoolForwardKernel() 114 const Dtype *bottom_data = data.dptr_; in ROIPoolForward() local 131 count, bottom_data, spatial_scale, batch_size, channels, height, width, in ROIPoolForward()
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/contrib/ |
H A D | roi_align.cu | 52 const T* bottom_data, in bilinear_interpolate() argument 94 T v1 = bottom_data[y_low * width + x_low]; in bilinear_interpolate() 95 T v2 = bottom_data[y_low * width + x_high]; in bilinear_interpolate() 96 T v3 = bottom_data[y_high * width + x_low]; in bilinear_interpolate() 97 T v4 = bottom_data[y_high * width + x_high]; in bilinear_interpolate() 108 const T* bottom_data, in RoIAlignForwardKernel() argument 159 bottom_data + (roi_batch_ind * channels_unpooled + c_unpooled) in RoIAlignForwardKernel() 391 const DType *bottom_data = in_data[roialign::kData].dptr<DType>(); in ROIAlignForwardCompute() 400 bottom_data, in ROIAlignForwardCompute()
|
H A D | deformable_psroi_pooling.cc | 45 inline void DeformablePSROIPoolForwardCPU(const index_t count, const DType* bottom_data, in DeformablePSROIPoolForwardCPU() argument 108 const DType* offset_bottom_data = bottom_data + (roi_batch_ind * channels) * height * width; in DeformablePSROIPoolForwardCPU() 141 const DType *bottom_data = data.dptr_; in DeformablePSROIPoolForward() local 154 DeformablePSROIPoolForwardCPU<DType>(count, bottom_data, spatial_scale, in DeformablePSROIPoolForward() 175 const DType* bottom_data, in DeformablePSROIPoolBackwardAccCPU() argument 232 const DType* offset_bottom_data = bottom_data + roi_batch_ind * channels * height * width; in DeformablePSROIPoolBackwardAccCPU() 300 const DType *bottom_data = data.dptr_; in DeformablePSROIPoolBackwardAcc() local 319 bottom_data, bottom_rois, bottom_trans, in DeformablePSROIPoolBackwardAcc()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/contrib/ |
H A D | roi_align.cu | 52 const T* bottom_data, in bilinear_interpolate() argument 94 T v1 = bottom_data[y_low * width + x_low]; in bilinear_interpolate() 95 T v2 = bottom_data[y_low * width + x_high]; in bilinear_interpolate() 96 T v3 = bottom_data[y_high * width + x_low]; in bilinear_interpolate() 97 T v4 = bottom_data[y_high * width + x_high]; in bilinear_interpolate() 108 const T* bottom_data, in RoIAlignForwardKernel() argument 159 bottom_data + (roi_batch_ind * channels_unpooled + c_unpooled) in RoIAlignForwardKernel() 391 const DType *bottom_data = in_data[roialign::kData].dptr<DType>(); in ROIAlignForwardCompute() 400 bottom_data, in ROIAlignForwardCompute()
|
H A D | deformable_psroi_pooling.cc | 45 inline void DeformablePSROIPoolForwardCPU(const index_t count, const DType* bottom_data, in DeformablePSROIPoolForwardCPU() argument 108 const DType* offset_bottom_data = bottom_data + (roi_batch_ind * channels) * height * width; in DeformablePSROIPoolForwardCPU() 141 const DType *bottom_data = data.dptr_; in DeformablePSROIPoolForward() local 154 DeformablePSROIPoolForwardCPU<DType>(count, bottom_data, spatial_scale, in DeformablePSROIPoolForward() 175 const DType* bottom_data, in DeformablePSROIPoolBackwardAccCPU() argument 232 const DType* offset_bottom_data = bottom_data + roi_batch_ind * channels * height * width; in DeformablePSROIPoolBackwardAccCPU() 300 const DType *bottom_data = data.dptr_; in DeformablePSROIPoolBackwardAcc() local 319 bottom_data, bottom_rois, bottom_trans, in DeformablePSROIPoolBackwardAcc()
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/contrib/nn/ |
H A D | modulated_deformable_im2col.h | 75 inline DType dmcn_im2col_bilinear_cpu(const DType* bottom_data, const int data_width, in dmcn_im2col_bilinear_cpu() argument 88 v1 = bottom_data[h_low * data_width + w_low]; in dmcn_im2col_bilinear_cpu() 91 v2 = bottom_data[h_low * data_width + w_high]; in dmcn_im2col_bilinear_cpu() 94 v3 = bottom_data[h_high * data_width + w_low]; in dmcn_im2col_bilinear_cpu() 97 v4 = bottom_data[h_high * data_width + w_high]; in dmcn_im2col_bilinear_cpu()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/contrib/nn/ |
H A D | modulated_deformable_im2col.h | 75 inline DType dmcn_im2col_bilinear_cpu(const DType* bottom_data, const int data_width, in dmcn_im2col_bilinear_cpu() argument 88 v1 = bottom_data[h_low * data_width + w_low]; in dmcn_im2col_bilinear_cpu() 91 v2 = bottom_data[h_low * data_width + w_high]; in dmcn_im2col_bilinear_cpu() 94 v3 = bottom_data[h_high * data_width + w_low]; in dmcn_im2col_bilinear_cpu() 97 v4 = bottom_data[h_high * data_width + w_high]; in dmcn_im2col_bilinear_cpu()
|
/dports/graphics/opencv/opencv-4.5.3/modules/dnn/src/ocl4dnn/include/ |
H A D | ocl4dnn.hpp | 91 bool Forward(const UMat& bottom_data, 377 bool Forward(const UMat& bottom_data, 428 bool Forward(const UMat& bottom_data, 479 bool Forward(const UMat& bottom_data, UMat& top_data); 482 bool crossChannelForward(const UMat& bottom_data, UMat& top_data); 514 bool Forward(const UMat& bottom_data, UMat& top_data);
|