Home
last modified time | relevance | path

Searched refs:bottom_data (Results 1 – 25 of 60) sorted by relevance

123

/dports/games/d2x/d2x-0.2.5/main/
H A Dtexmerge.c329 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 DUnaryPlugin.cu117 …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 DInterpPlugin.cu49 … 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 DGatherPlugin.cu26 …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 DScalePlugin.cu26 …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 DPreluPlugin.cu28 …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 DLayerNormPlugin.cu59 …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 DUnaryPlugin.cpp28 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 DGatherPlugin.cpp29 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 Dpooling.cl28 __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 Dtexmerge.cpp123 …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 Droi_average_pooling_2d.py93 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 Droi_max_pooling_2d.py93 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 Droi_average_align_2d.py152 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 Droi_max_align_2d.py91 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 Droi_pooling_2d.py73 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 Droi_pooling.cu35 __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 Droi_pooling.cu35 __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 Droi_align.cu52 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 Ddeformable_psroi_pooling.cc45 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 Droi_align.cu52 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 Ddeformable_psroi_pooling.cc45 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 Dmodulated_deformable_im2col.h75 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 Dmodulated_deformable_im2col.h75 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 Docl4dnn.hpp91 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);

123