Home
last modified time | relevance | path

Searched refs:dims (Results 1 - 25 of 162) sorted by relevance

1234567

/third_party/skia/tests/
H A DAndroidCodecTest.cpp71 const auto dims = codec->getInfo().dimensions(); in DEF_TEST() local
73 plus(dims, -1), in DEF_TEST()
74 times(dims, .15f), in DEF_TEST()
75 times(dims, .6f), in DEF_TEST()
76 { (int32_t) (dims.width() * .25f), (int32_t) (dims.height() * .75f ) }, in DEF_TEST()
81 { dims.width(), dims.height() - 1 }, in DEF_TEST()
91 REPORTER_ASSERT(r, size == dims); in DEF_TEST()
94 if (size.width() >= dims in DEF_TEST()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/
H A DvktComputeCooperativeMatrixTests.cpp311 } dims[4]; in initPrograms() local
316 dims[0].rows = "M"; in initPrograms()
317 dims[0].cols = "K"; in initPrograms()
318 dims[1].rows = "K"; in initPrograms()
319 dims[1].cols = "N"; in initPrograms()
320 dims[2].rows = "M"; in initPrograms()
321 dims[2].cols = "N"; in initPrograms()
322 dims[3].rows = "M"; in initPrograms()
323 dims[3].cols = "N"; in initPrograms()
327 dims[ in initPrograms()
755 } dims[4]; iterate() local
[all...]
/third_party/ffmpeg/libavfilter/tests/
H A Ddnn-layer-mathbinary.c67 operands[0].dims[0] = 1; in test_broadcast_input0()
68 operands[0].dims[1] = 1; in test_broadcast_input0()
69 operands[0].dims[2] = 2; in test_broadcast_input0()
70 operands[0].dims[3] = 3; in test_broadcast_input0()
107 operands[0].dims[0] = 1; in test_broadcast_input1()
108 operands[0].dims[1] = 1; in test_broadcast_input1()
109 operands[0].dims[2] = 2; in test_broadcast_input1()
110 operands[0].dims[3] = 3; in test_broadcast_input1()
149 operands[0].dims[0] = 1; in test_no_broadcast()
150 operands[0].dims[ in test_no_broadcast()
[all...]
H A Ddnn-layer-pad.c75 operands[0].dims[0] = 1; in test_with_mode_symmetric()
76 operands[0].dims[1] = 4; in test_with_mode_symmetric()
77 operands[0].dims[2] = 4; in test_with_mode_symmetric()
78 operands[0].dims[3] = 3; in test_with_mode_symmetric()
140 operands[0].dims[0] = 3; in test_with_mode_reflect()
141 operands[0].dims[1] = 2; in test_with_mode_reflect()
142 operands[0].dims[2] = 2; in test_with_mode_reflect()
143 operands[0].dims[3] = 3; in test_with_mode_reflect()
206 operands[0].dims[0] = 1; in test_with_mode_constant()
207 operands[0].dims[ in test_with_mode_constant()
[all...]
H A Ddnn-layer-avgpool.c87 operands[0].dims[0] = 1; in test_with_same()
88 operands[0].dims[1] = 5; in test_with_same()
89 operands[0].dims[2] = 6; in test_with_same()
90 operands[0].dims[3] = 3; in test_with_same()
167 operands[0].dims[0] = 1; in test_with_valid()
168 operands[0].dims[1] = 5; in test_with_valid()
169 operands[0].dims[2] = 6; in test_with_valid()
170 operands[0].dims[3] = 3; in test_with_valid()
H A Ddnn-layer-conv2d.c114 operands[0].dims[0] = 1; in test_with_same_dilate()
115 operands[0].dims[1] = 5; in test_with_same_dilate()
116 operands[0].dims[2] = 6; in test_with_same_dilate()
117 operands[0].dims[3] = 3; in test_with_same_dilate()
218 operands[0].dims[0] = 1; in test_with_valid()
219 operands[0].dims[1] = 5; in test_with_valid()
220 operands[0].dims[2] = 6; in test_with_valid()
221 operands[0].dims[3] = 3; in test_with_valid()
H A Ddnn-layer-dense.c103 operands[0].dims[0] = 1; in test()
104 operands[0].dims[1] = 5; in test()
105 operands[0].dims[2] = 6; in test()
106 operands[0].dims[3] = 3; in test()
H A Ddnn-layer-depth2space.c76 operands[0].dims[0] = 1; in test()
77 operands[0].dims[1] = 5; in test()
78 operands[0].dims[2] = 3; in test()
79 operands[0].dims[3] = 4; in test()
H A Ddnn-layer-maximum.c41 operands[0].dims[0] = 1; in test()
42 operands[0].dims[1] = 1; in test()
43 operands[0].dims[2] = 2; in test()
44 operands[0].dims[3] = 3; in test()
/third_party/ffmpeg/tests/dnn/
H A Ddnn-layer-mathbinary-test.c67 operands[0].dims[0] = 1; in test_broadcast_input0()
68 operands[0].dims[1] = 1; in test_broadcast_input0()
69 operands[0].dims[2] = 2; in test_broadcast_input0()
70 operands[0].dims[3] = 3; in test_broadcast_input0()
107 operands[0].dims[0] = 1; in test_broadcast_input1()
108 operands[0].dims[1] = 1; in test_broadcast_input1()
109 operands[0].dims[2] = 2; in test_broadcast_input1()
110 operands[0].dims[3] = 3; in test_broadcast_input1()
149 operands[0].dims[0] = 1; in test_no_broadcast()
150 operands[0].dims[ in test_no_broadcast()
[all...]
H A Ddnn-layer-pad-test.c75 operands[0].dims[0] = 1; in test_with_mode_symmetric()
76 operands[0].dims[1] = 4; in test_with_mode_symmetric()
77 operands[0].dims[2] = 4; in test_with_mode_symmetric()
78 operands[0].dims[3] = 3; in test_with_mode_symmetric()
140 operands[0].dims[0] = 3; in test_with_mode_reflect()
141 operands[0].dims[1] = 2; in test_with_mode_reflect()
142 operands[0].dims[2] = 2; in test_with_mode_reflect()
143 operands[0].dims[3] = 3; in test_with_mode_reflect()
206 operands[0].dims[0] = 1; in test_with_mode_constant()
207 operands[0].dims[ in test_with_mode_constant()
[all...]
H A Ddnn-layer-avgpool-test.c87 operands[0].dims[0] = 1; in test_with_same()
88 operands[0].dims[1] = 5; in test_with_same()
89 operands[0].dims[2] = 6; in test_with_same()
90 operands[0].dims[3] = 3; in test_with_same()
167 operands[0].dims[0] = 1; in test_with_valid()
168 operands[0].dims[1] = 5; in test_with_valid()
169 operands[0].dims[2] = 6; in test_with_valid()
170 operands[0].dims[3] = 3; in test_with_valid()
H A Ddnn-layer-conv2d-test.c114 operands[0].dims[0] = 1; in test_with_same_dilate()
115 operands[0].dims[1] = 5; in test_with_same_dilate()
116 operands[0].dims[2] = 6; in test_with_same_dilate()
117 operands[0].dims[3] = 3; in test_with_same_dilate()
218 operands[0].dims[0] = 1; in test_with_valid()
219 operands[0].dims[1] = 5; in test_with_valid()
220 operands[0].dims[2] = 6; in test_with_valid()
221 operands[0].dims[3] = 3; in test_with_valid()
/third_party/mesa3d/src/mesa/main/
H A Dtexstorage.c55 GLuint dims, GLenum target) in _mesa_is_legal_tex_storage_target()
57 if (dims < 1 || dims > 3) { in _mesa_is_legal_tex_storage_target()
58 _mesa_problem(ctx, "invalid dims=%u in _mesa_is_legal_tex_storage_target()", dims); in _mesa_is_legal_tex_storage_target()
62 switch (dims) { in _mesa_is_legal_tex_storage_target()
85 switch (dims) { in _mesa_is_legal_tex_storage_target()
274 GLuint dims, GLenum target, in tex_storage_error_check()
289 suffix, dims); in tex_storage_error_check()
297 "glTex%sStorage%dD(internalformat = %s)", suffix, dims, in tex_storage_error_check()
54 _mesa_is_legal_tex_storage_target(const struct gl_context *ctx, GLuint dims, GLenum target) _mesa_is_legal_tex_storage_target() argument
271 tex_storage_error_check(struct gl_context *ctx, struct gl_texture_object *texObj, struct gl_memory_object *memObj, GLuint dims, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, bool dsa) tex_storage_error_check() argument
353 _mesa_sparse_texture_error_check(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, mesa_format format, GLenum target, GLsizei levels, GLsizei width, GLsizei height, GLsizei depth, const char *func) _mesa_sparse_texture_error_check() argument
436 texture_storage(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, struct gl_memory_object *memObj, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLuint64 offset, bool dsa, bool no_error) texture_storage() argument
548 texture_storage_error(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, bool dsa) texture_storage_error() argument
560 texture_storage_no_error(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, bool dsa) texture_storage_no_error() argument
575 texstorage_error(GLuint dims, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, const char *caller) texstorage_error() argument
616 texstorage_no_error(GLuint dims, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) texstorage_no_error() argument
632 texturestorage_error(GLuint dims, GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, const char *caller) texturestorage_error() argument
673 texturestorage_no_error(GLuint dims, GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) texturestorage_no_error() argument
845 _mesa_texture_storage_memory(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, struct gl_memory_object *memObj, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLuint64 offset, bool dsa) _mesa_texture_storage_memory() argument
[all...]
H A Dtexstore.c154 (void) dims; in _mesa_texstore_z32()
170 const GLvoid *src = _mesa_image_address(dims, srcPacking, in _mesa_texstore_z32()
191 (void) dims; in _mesa_texstore_x8_z24()
200 const GLvoid *src = _mesa_image_address(dims, srcPacking, in _mesa_texstore_x8_z24()
221 (void) dims; in _mesa_texstore_z24_x8()
230 const GLvoid *src = _mesa_image_address(dims, srcPacking, in _mesa_texstore_z24_x8()
254 (void) dims; in _mesa_texstore_z16()
264 const GLvoid *src = _mesa_image_address(dims, srcPacking, in _mesa_texstore_z16()
284 (void) ctx; (void) dims; (void) baseInternalFormat; in _mesa_texstore_ycbcr()
296 _mesa_memcpy_texture(ctx, dims, in _mesa_texstore_ycbcr()
986 GLuint dims, slice, numSlices = 1, sliceOffset = 0; store_texsubimage() local
1111 _mesa_store_teximage(struct gl_context *ctx, GLuint dims, struct gl_texture_image *texImage, GLenum format, GLenum type, const GLvoid *pixels, const struct gl_pixelstore_attrib *packing) _mesa_store_teximage() argument
1138 _mesa_store_texsubimage(struct gl_context *ctx, GLuint dims, struct gl_texture_image *texImage, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, GLint depth, GLenum format, GLenum type, const void *pixels, const struct gl_pixelstore_attrib *packing) _mesa_store_texsubimage() argument
1227 _mesa_store_compressed_teximage(struct gl_context *ctx, GLuint dims, struct gl_texture_image *texImage, GLsizei imageSize, const GLvoid *data) _mesa_store_compressed_teximage() argument
1270 _mesa_compute_compressed_pixelstore(GLuint dims, mesa_format texFormat, GLsizei width, GLsizei height, GLsizei depth, const struct gl_pixelstore_attrib *packing, struct compressed_pixelstore *store) _mesa_compute_compressed_pixelstore() argument
1329 _mesa_store_compressed_texsubimage(struct gl_context *ctx, GLuint dims, struct gl_texture_image *texImage, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) _mesa_store_compressed_texsubimage() argument
[all...]
H A Dtexstore.h49 * \param dims either 1 or 2 or 3
62 struct gl_context *ctx, GLuint dims, \
77 UNUSED struct gl_context *ctx, UNUSED GLuint dims, \
115 GLuint dims,
122 _mesa_store_texsubimage(struct gl_context *ctx, GLuint dims,
138 _mesa_store_compressed_teximage(struct gl_context *ctx, GLuint dims,
144 _mesa_store_compressed_texsubimage(struct gl_context *ctx, GLuint dims,
163 _mesa_compute_compressed_pixelstore(GLuint dims, mesa_format texFormat,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/
H A DvktComputeCooperativeMatrixTests.cpp503 } dims[4]; in initPrograms() local
507 dims[0].rows = "M"; in initPrograms()
508 dims[0].cols = "K"; in initPrograms()
509 dims[1].rows = "K"; in initPrograms()
510 dims[1].cols = "N"; in initPrograms()
511 dims[2].rows = "M"; in initPrograms()
512 dims[2].cols = "N"; in initPrograms()
513 dims[3].rows = "M"; in initPrograms()
514 dims[3].cols = "N"; in initPrograms()
518 dims[ in initPrograms()
1078 } dims[4]; iterate() local
[all...]
/third_party/skia/third_party/externals/tint/src/reader/spirv/
H A Dparser_type.cc84 return utils::Hash(t.dims, t.type); in operator ()()
90 return utils::Hash(t.dims, t.type); in operator ()()
96 return utils::Hash(t.dims, t.format, t.access); in operator ()()
123 return a.dims == b.dims && a.type == b.type; in operator ==()
127 return a.dims == b.dims && a.type == b.type; in operator ==()
131 return a.dims == b.dims && a.format == b.format; in operator ==()
204 Texture::Texture(ast::TextureDimension d) : dims(
[all...]
/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/
H A Dnnrt_utils.h98 extern TfLiteStatus TransposeDims(TfLiteContext* context, const int32_t* dims, uint32_t dimCount,
102 // Calculate Tesnorsize by mul all dimension in dims.
104 extern TfLiteStatus GetTensorSize(TfLiteContext* context, const int32_t* dims, int32_t dimCount, int64_t& tensorSize);
110 TfLiteStatus TransposeTensor(TfLiteContext* context, int32_t tensorIndex, const int32_t* dims, in TransposeTensor() argument
113 TF_LITE_ENSURE_EQ(context, dims != nullptr, true); in TransposeTensor()
118 const int32_t batch = dims[DEPTHWISE_WEIGHT_BATCH_DIMENSION]; in TransposeTensor()
119 const int32_t height = dims[DEPTHWISE_WEIGHT_HEIGHT_DIMENSION]; in TransposeTensor()
120 const int32_t width = dims[DEPTHWISE_WEIGHT_WIDTH_DIMENSION]; in TransposeTensor()
121 const int32_t channel = dims[DEPTHWISE_WEIGHT_CHANNEL_DIMENSION]; in TransposeTensor()
/third_party/ffmpeg/libavfilter/dnn/
H A Ddnn_backend_native_layer_depth2space.c58 int number = operands[input_operand_index].dims[0]; in ff_dnn_execute_layer_depth2space()
59 int height = operands[input_operand_index].dims[1]; in ff_dnn_execute_layer_depth2space()
60 int width = operands[input_operand_index].dims[2]; in ff_dnn_execute_layer_depth2space()
61 int channels = operands[input_operand_index].dims[3]; in ff_dnn_execute_layer_depth2space()
71 output_operand->dims[0] = number; in ff_dnn_execute_layer_depth2space()
72 output_operand->dims[1] = height * block_size; in ff_dnn_execute_layer_depth2space()
73 output_operand->dims[2] = width * block_size; in ff_dnn_execute_layer_depth2space()
74 output_operand->dims[3] = new_channels; in ff_dnn_execute_layer_depth2space()
H A Ddnn_backend_openvino.c117 dimensions_t dims; in fill_model_input_ov() local
137 status |= ie_blob_get_dims(input_blob, &dims); in fill_model_input_ov()
141 av_log(ctx, AV_LOG_ERROR, "Failed to get input blob dims/precision\n"); in fill_model_input_ov()
152 input.height = dims.dims[2]; in fill_model_input_ov()
153 input.width = dims.dims[3]; in fill_model_input_ov()
154 input.channels = dims.dims[1]; in fill_model_input_ov()
199 dimensions_t dims; in infer_completion_callback() local
511 dimensions_t dims; get_input_ov() local
[all...]
H A Ddnn_backend_native_layer_avgpool.c64 int number = operands[input_operand_index].dims[0]; in ff_dnn_execute_layer_avg_pool()
65 int height = operands[input_operand_index].dims[1]; in ff_dnn_execute_layer_avg_pool()
66 int width = operands[input_operand_index].dims[2]; in ff_dnn_execute_layer_avg_pool()
67 int channel = operands[input_operand_index].dims[3]; in ff_dnn_execute_layer_avg_pool()
103 output_operand->dims[0] = number; in ff_dnn_execute_layer_avg_pool()
104 output_operand->dims[1] = output_height; in ff_dnn_execute_layer_avg_pool()
105 output_operand->dims[2] = output_width; in ff_dnn_execute_layer_avg_pool()
107 output_operand->dims[3] = channel; in ff_dnn_execute_layer_avg_pool()
H A Ddnn_backend_native_layer_dense.c90 int number = operands[input_operand_index].dims[0]; in ff_dnn_execute_layer_dense()
91 int height = operands[input_operand_index].dims[1]; in ff_dnn_execute_layer_dense()
92 int width = operands[input_operand_index].dims[2]; in ff_dnn_execute_layer_dense()
93 int channel = operands[input_operand_index].dims[3]; in ff_dnn_execute_layer_dense()
99 output_operand->dims[0] = number; in ff_dnn_execute_layer_dense()
100 output_operand->dims[1] = height; in ff_dnn_execute_layer_dense()
101 output_operand->dims[2] = width; in ff_dnn_execute_layer_dense()
102 output_operand->dims[3] = dense_params->output_num; in ff_dnn_execute_layer_dense()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_sample_aos.c450 const unsigned dims = bld->dims; in lp_build_sample_image_nearest() local
486 if (dims >= 2) in lp_build_sample_image_nearest()
488 if (dims >= 3) in lp_build_sample_image_nearest()
494 if (dims >= 2) { in lp_build_sample_image_nearest()
496 if (dims >= 3) { in lp_build_sample_image_nearest()
516 if (dims >= 2) { in lp_build_sample_image_nearest()
526 if (dims >= 3) { in lp_build_sample_image_nearest()
569 const unsigned dims = bld->dims; in lp_build_sample_fetch_image_linear() local
751 const unsigned dims = bld->dims; lp_build_sample_image_linear() local
1125 const unsigned dims = bld->dims; lp_build_sample_aos() local
[all...]
/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/tools/
H A Dutils.cpp135 TfLiteIntArray* outputsDims = interpreter->tensor(output_index)->dims; in PrintResult()
174 TfLiteIntArray* outputDims = interpreter->tensor(output)->dims; in AnalysisResults()
175 // assume output dims to be something like (1, 1, ... ,size) in AnalysisResults()
226 TfLiteIntArray* dims = interpreter->tensor(input)->dims; in ImportData() local
228 wantedimageInfo.height = dims->data[1]; in ImportData()
229 wantedimageInfo.width = dims->data[WEIGHT_DIMENSION]; in ImportData()
230 wantedimageInfo.channels = (dims->size > CHANNEL_DIMENSION) ? dims->data[CHANNEL_DIMENSION] : 1; in ImportData()
256 bool IsEqualShape(int tensorIndex, const std::vector<int>& dims, st argument
[all...]

Completed in 19 milliseconds

1234567