Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/
Dconv.cc234 auto dst_depth = DivideRoundUp(ctx.output_shapes[0][3], 4); in GenerateCode() local
237 if (dst_depth >= 2) { in GenerateCode()
240 if (dst_depth >= 4) { in GenerateCode()
243 if (dst_depth >= 8) { in GenerateCode()
246 if (dst_depth >= 32) { in GenerateCode()
249 if (dst_depth >= 64) { in GenerateCode()
253 if (dst_depth >= 2) { in GenerateCode()
256 if (dst_depth >= 4) { in GenerateCode()
259 if (dst_depth >= 8) { in GenerateCode()
262 if (dst_depth >= 32) { in GenerateCode()
[all …]
Dfully_connected.cc43 const int dst_depth = DivideRoundUp(attr.weights.shape.o, 4); in GenerateCode() local
53 {"dst_depth", dst_depth}, in GenerateCode()
110 /*workload=*/uint3(dst_depth, kWorkgroupHintY, 1), in GenerateCode()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/
Dconv_buffer_1x1.cc83 int dst_depth) { in GetBestParams() argument
103 int task_size = shape.w * shape.b * shape.h * dst_depth; in GetBestParams()
117 if (definition.precision == CalculationsPrecision::F32 && dst_depth < 32) { in GetBestParams()
123 if (dst_depth >= 32) { in GetBestParams()
135 int src_depth, int dst_depth) { in GetBestParams() argument
348 const int dst_depth = DivideRoundUp(attr.weights.shape.o, 4); in CreateConvBuffer1x1() local
353 GetBestParams(gpu_info, definition, *shape, src_depth, dst_depth); in CreateConvBuffer1x1()
355 conv_params = GetBestParams(gpu_info, definition, src_depth, dst_depth); in CreateConvBuffer1x1()
366 const int dst_depth = DivideRoundUp(attr.weights.shape.o, 4); in CreateConvBuffer1x1() local
371 GetBestParams(gpu_info, definition, *shape, src_depth, dst_depth); in CreateConvBuffer1x1()
[all …]
Dconv_powervr.cc1060 int dst_depth, bool x_kernel_is_1, bool y_kernel_is_1, in GuessBestParams() argument
1085 if (dst_depth % 4 == 0 || dst_depth >= 8) { in GuessBestParams()
1087 } else if (dst_depth % 2 == 0 || dst_depth >= 4) { in GuessBestParams()
1090 conv_params.block_size.w = dst_depth; in GuessBestParams()
1093 int task_size = dst_shape->w * dst_shape->b * dst_shape->h * dst_depth; in GuessBestParams()
1134 if (dst_depth % 8 == 0 || dst_depth >= 32) { in GuessBestParams()
1136 } else if (dst_depth % 4 == 0 || dst_depth >= 8) { in GuessBestParams()
1138 } else if (dst_depth % 2 == 0 || dst_depth >= 4) { in GuessBestParams()
1141 conv_params.block_size.w = dst_depth; in GuessBestParams()
1181 if (dst_depth % 8 == 0 || dst_depth >= 32) { in GuessBestParams()
[all …]
Dadd.cc29 int dst_depth = DivideRoundUp(dst_channels, 4); in CreateAdd() local
32 add.linkable_ = dst_depth == src0_depth; in CreateAdd()
33 if (src0_depth < dst_depth) { in CreateAdd()
Dconv_constants.h36 const int dst_depth = DivideRoundUp(weights.shape.o, 4); in RearrangeWeightsForConvConstants() local
45 for (int d = 0; d < dst_depth; ++d) { in RearrangeWeightsForConvConstants()
73 const int dst_depth = DivideRoundUp(weights.shape.o, 4); in RearrangeWeightsForConvConstantsDot() local
82 for (int d = 0; d < dst_depth; ++d) { in RearrangeWeightsForConvConstantsDot()
112 const int dst_depth = DivideRoundUp(weights.shape.o, 4); in UploadWeightsForConvConstants() local
119 : weights.shape.i * dst_depth * 4; in UploadWeightsForConvConstants()
Dfully_connected.h96 const int dst_depth = DivideRoundUp(dst_channels, 4); in RearrangeFCWeightsToOIO4I4() local
99 for (int d = 0; d < dst_depth; ++d) { in RearrangeFCWeightsToOIO4I4()
151 const int dst_depth = DivideRoundUp(weights.shape.o, 4); in UploadWeights() local
153 const int elements_count = src_depth * dst_depth * 4; in UploadWeights()
178 desc.size = int2(src_depth * 4, dst_depth); in UploadWeights()
Dconvolution_transposed.h119 const int dst_depth = in UploadWeights() local
124 int texture_width = dst_depth; in UploadWeights()
143 const int dst_depth = in UploadWeights() local
151 kernel_x * kernel_y * kernel_z * src_depth * dst_depth * 4; in UploadWeights()
186 int texture_width = dst_depth; in UploadWeights()
Dconvolution_transposed_3x3_thin.cc42 const OperationDef& op_def, int src_depth, int dst_depth) { in GenerateConvolutionTransposedCode() argument
99 for (int d = 0; d < dst_depth; ++d) { in GenerateConvolutionTransposedCode()
147 for (int d = 0; d < dst_depth; ++d) { in GenerateConvolutionTransposedCode()
169 for (int d = 0; d < dst_depth; ++d) { in GenerateConvolutionTransposedCode()
Dconv_constants.cc234 const int dst_depth = DivideRoundUp(dst_channels, 4); in IsDotConvBetter() local
235 return dst_channels * src_depth < src_channels * dst_depth; in IsDotConvBetter()
253 const int dst_depth = DivideRoundUp(w_shape.o, 4); in IsConvConstantsSupported() local
255 use_dot_conv ? w_shape.o * src_depth * 4 : w_shape.i * dst_depth * 4; in IsConvConstantsSupported()
Dconvolution_transposed.cc59 const int dst_depth = DivideRoundUp(attr.weights.shape.o, 4); in ConvolutionTransposed() local
60 if (dst_depth == 1 || dst_depth == 3) { in ConvolutionTransposed()
105 const int dst_depth = DivideRoundUp(attr.weights.shape.o, 4); in ConvolutionTransposed() local
106 if (dst_depth == 1 || dst_depth == 3) { in ConvolutionTransposed()
Dconvolution_transposed_3x3_thin.h77 int src_depth, int dst_depth);
Dconv_buffer_1x1.h127 const int dst_depth = DivideRoundUp(weights.shape.o, 4); in UploadWeights() local
133 const int dst_depth_aligned = AlignByN(dst_depth, conv_params_.block_size.z); in UploadWeights()
Ddepthwise_conv.h40 const int dst_depth = DivideRoundUp(dst_channels, 4); in RearrangeWeightsForDWConv2D() local
45 for (int d = 0; d < dst_depth; ++d) { in RearrangeWeightsForDWConv2D()
Dconv_powervr.h189 int dst_depth, bool x_kernel_is_1,
277 const int dst_depth = in UploadWeights() local
282 int texture_width = dst_depth; in UploadWeights()
Dconv_weights_converter_test_util.cc63 const int dst_depth = AlignByN(DivideRoundUp(weights.shape.o, 4), in ConvolutionWeightsConverterTest() local
68 int texture_width = dst_depth; in ConvolutionWeightsConverterTest()
Dconv_metal.cc44 const int dst_depth = DivideRoundUp(dst_channels, 4); in GetNumOutputSlices() local
45 if (dst_depth % 4 == 0 || dst_depth >= 16) { in GetNumOutputSlices()
47 } else if (dst_depth % 2 == 0 || dst_depth >= 4) { in GetNumOutputSlices()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/special/
Dfc_fc_add.h72 const int dst_depth = DivideRoundUp(dst_channels, 4); in RearrangeFCWeightsToOIO4I4() local
75 for (int d = 0; d < dst_depth; ++d) { in RearrangeFCWeightsToOIO4I4()
128 const int dst_depth = DivideRoundUp(weights.shape.o, 4); in UploadWeights() local
130 const int elements_count = src_depth * dst_depth * 4; in UploadWeights()
158 desc.size = int2(src_depth * 4, dst_depth); in UploadWeights()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dutil.h41 const int dst_depth = dst.size(); in CopyLinearFLT4() local
42 for (int d = 0; d < dst_depth; ++d) { in CopyLinearFLT4()
/external/deqp/external/openglcts/modules/gl/
Dgl4cStencilTexturingTests.cpp1163 GLfloat dst_depth = 0.0f; in verifyTexture() local
1167 memcpy(&dst_depth, dst_pixel_data, 4); in verifyTexture()
1172 if (de::abs(src_depth_f - dst_depth) > 0.0001f) in verifyTexture()
1175 << "], got: " << dst_depth << " expected: " << src_depth_f in verifyTexture()
1183 GLfloat dst_depth = 0.0f; in verifyTexture() local
1186 memcpy(&dst_depth, dst_pixel_data, 4); in verifyTexture()
1189 if (de::abs(src_depth - dst_depth) > 0.0001f) in verifyTexture()
1192 << "], got: " << dst_depth << " expected: " << src_depth in verifyTexture()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/selectors/
Doperation_selector.cc50 const int dst_depth = DivideRoundUp(attr.weights.shape.o, 4); in IsRecommendedForWinograd4x4To6x6() local
74 src_depth >= min_depth && dst_depth >= min_depth; in IsRecommendedForWinograd4x4To6x6()
353 const int dst_depth = AlignByN(DivideRoundUp(weights_shape.o, 4), in GPUOperationFromNode() local
364 int texture_width = dst_depth; in GPUOperationFromNode()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dconvert.cc135 const int dst_depth = DivideRoundUp(shape.o, 4); in ConvertToPHWO4I4() local
139 for (int f = 0; f < dst_depth; ++f) { in ConvertToPHWO4I4()
/external/mesa3d/src/intel/compiler/
Dbrw_fs_visitor.cpp442 const fs_reg dst_depth = fetch_payload_reg(bld, payload.dest_depth_reg); in emit_single_fb_write() local
456 color0, color1, src0_alpha, src_depth, dst_depth, src_stencil, in emit_single_fb_write()
Dbrw_fs.cpp4369 const fs_reg &dst_depth = inst->src[FB_WRITE_LOGICAL_SRC_DST_DEPTH]; in lower_fb_write_logical_send() local
4534 if (dst_depth.file != BAD_FILE) { in lower_fb_write_logical_send()
4535 sources[length] = dst_depth; in lower_fb_write_logical_send()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_texture.c2326 unsigned dst_depth = 1; in fallback_copy_texsubimage() local
2357 dst_width, dst_height, dst_depth, in fallback_copy_texsubimage()