Home
last modified time | relevance | path

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

123456

/external/libaom/libaom/av1/encoder/
Dml.c38 const int num_layers = nn_config->num_hidden_layers; in av1_nn_predict_c() local
39 assert(num_layers <= NN_MAX_HIDDEN_LAYERS); in av1_nn_predict_c()
40 for (int layer = 0; layer < num_layers; ++layer) { in av1_nn_predict_c()
60 const float *layer_weights = nn_config->weights[num_layers]; in av1_nn_predict_c()
61 const float *layer_bias = nn_config->bias[num_layers]; in av1_nn_predict_c()
125 const int num_layers = nn_config->num_hidden_layers; in av1_nn_predict_v2() local
126 assert(num_layers <= NN_MAX_HIDDEN_LAYERS); in av1_nn_predict_v2()
127 for (int i = 0; i < num_layers; ++i) { in av1_nn_predict_v2()
134 input_nodes = nn_fc_forward(input_nodes, nn_config->layer + num_layers); in av1_nn_predict_v2()
135 assert(nn_config->layer[num_layers].num_outputs == nn_config->num_logits); in av1_nn_predict_v2()
/external/mesa3d/src/gallium/drivers/iris/
Diris_resolve.c138 unsigned num_layers = in resolve_image_views() local
146 pview->u.tex.first_layer, num_layers, in resolve_image_views()
200 unsigned num_layers = in iris_predraw_resolve_framebuffer() local
207 num_layers); in iris_predraw_resolve_framebuffer()
291 unsigned num_layers = in iris_postdraw_update_resolve_tracking() local
297 zs_surf->u.tex.first_layer, num_layers, in iris_postdraw_update_resolve_tracking()
305 zs_surf->u.tex.first_layer, num_layers, in iris_postdraw_update_resolve_tracking()
324 unsigned num_layers = in iris_postdraw_update_resolve_tracking() local
327 desc->tex.first_layer, num_layers, in iris_postdraw_update_resolve_tracking()
440 uint32_t num_layers) in iris_mcs_partial_resolve() argument
[all …]
Diris_resource.h345 unsigned int num_layers, enum isl_aux_op op,
378 uint32_t start_layer, uint32_t num_layers,
406 uint32_t start_layer, uint32_t num_layers,
426 uint32_t start_layer, uint32_t num_layers,
440 uint32_t num_layers, in iris_resource_access_raw() argument
443 iris_resource_prepare_access(ice, res, level, 1, layer, num_layers, in iris_resource_access_raw()
446 iris_resource_finish_write(ice, res, level, layer, num_layers, in iris_resource_access_raw()
465 uint32_t start_layer, uint32_t num_layers);
485 unsigned start_layer, unsigned num_layers);
498 unsigned start_layer, unsigned num_layers);
/external/mesa3d/src/intel/blorp/
Dblorp_clear.c341 uint32_t level, uint32_t start_layer, uint32_t num_layers, in blorp_fast_clear() argument
346 params.num_layers = num_layers; in blorp_fast_clear()
379 uint32_t level, uint32_t start_layer, uint32_t num_layers, in blorp_clear() argument
454 while (num_layers > 0) { in blorp_clear()
466 assert(num_layers == 1); in blorp_clear()
511 params.num_layers = MIN2(params.dst.view.array_len, num_layers); in blorp_clear()
553 start_layer += params.num_layers; in blorp_clear()
554 num_layers -= params.num_layers; in blorp_clear()
562 uint32_t num_layers, in blorp_clear_stencil_as_rgba() argument
627 for (uint32_t a = 0; a < num_layers; a++) { in blorp_clear_stencil_as_rgba()
[all …]
Dblorp.h168 uint32_t level, uint32_t start_layer, uint32_t num_layers,
175 uint32_t level, uint32_t start_layer, uint32_t num_layers,
185 uint32_t num_layers,
200 uint32_t start_layer, uint32_t num_layers,
219 uint32_t start_layer, uint32_t num_layers,
228 uint32_t start_layer, uint32_t num_layers,
241 uint32_t start_layer, uint32_t num_layers);
245 uint32_t level, uint32_t start_layer, uint32_t num_layers,
251 uint32_t num_layers, enum isl_aux_op op);
/external/tensorflow/tensorflow/core/ops/
Dcudnn_rnn_ops_test.cc45 int num_layers = 5; in TEST() local
48 std::vector<int> input_h_shape = {num_layers * dir_count, batch_size, in TEST()
77 int num_layers = 5; in TEST() local
80 std::vector<int> input_h_shape = {num_layers * dir_count, batch_size, in TEST()
109 int num_layers = 5; in TEST() local
112 std::vector<int> input_h_shape = {num_layers * dir_count, batch_size, in TEST()
114 std::vector<int> input_c_shape = {num_layers * dir_count, batch_size, in TEST()
/external/libhevc/encoder/
Dihevce_coarse_me_pass.c526 coarse_layer_id = ps_thrd0_ctxt->num_layers - 1; in ihevce_coarse_me_frame_end()
975 for(ctr = 1; ctr < ps_thrd0_ctxt->num_layers; ctr++) in ihevce_coarse_me_frame_init()
1012 for(i = 1; i < ps_thrd0_ctxt->num_layers; i++) in ihevce_coarse_me_frame_init()
1022 ps_thrd0_ctxt->num_layers, in ihevce_coarse_me_frame_init()
1047 layer_id = ps_thrd0_ctxt->num_layers - 1; in ihevce_coarse_me_frame_init()
1091 ps_thrd0_ctxt->num_layers, in ihevce_coarse_me_frame_init()
1146 for(lyr_no = 1; lyr_no < ps_thrd0_ctxt->num_layers; lyr_no++) in ihevce_coarse_me_get_lyr_buf_desc()
1216 S32 ctb_size = 64, num_layers, i, j, k; in ihevce_coarse_me_get_lyr_prms_job_que() local
1223 num_layers = ps_ctxt->num_layers; in ihevce_coarse_me_get_lyr_prms_job_que()
1224 *pi4_num_hme_lyrs = num_layers; in ihevce_coarse_me_get_lyr_prms_job_que()
[all …]
/external/harfbuzz_ng/src/
Dtest-ot-color.cc144 unsigned int num_layers = hb_ot_color_glyph_get_layers (face, gid, 0, nullptr, nullptr); in layered_glyph_dump() local
145 if (!num_layers) in layered_glyph_dump()
148 …hb_ot_color_layer_t *layers = (hb_ot_color_layer_t*) malloc (num_layers * sizeof (hb_ot_color_laye… in layered_glyph_dump()
150 hb_ot_color_glyph_get_layers (face, gid, 0, &num_layers, layers); in layered_glyph_dump()
151 if (num_layers) in layered_glyph_dump()
161 cairo_glyph_t *glyphs = (cairo_glyph_t *) calloc (num_layers, sizeof (cairo_glyph_t)); in layered_glyph_dump()
162 for (unsigned int j = 0; j < num_layers; ++j) in layered_glyph_dump()
164 cairo_glyph_extents (cr, glyphs, num_layers, &extents); in layered_glyph_dump()
196 for (unsigned int layer = 0; layer < num_layers; ++layer) in layered_glyph_dump()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_blorp.c125 unsigned start_layer, unsigned num_layers) in blorp_surf_for_miptree() argument
131 for (unsigned i = 0; i < num_layers; i++) { in blorp_surf_for_miptree()
138 for (unsigned i = 0; i < num_layers; i++) in blorp_surf_for_miptree()
1261 const unsigned num_layers = fb->MaxNumLayers ? irb->layer_count : 1; in do_single_blorp_clear() local
1289 irb->mt, irb->mt_level, irb->mt_layer, num_layers); in do_single_blorp_clear()
1294 &level, irb->mt_layer, num_layers); in do_single_blorp_clear()
1314 level, irb->mt_layer, num_layers, x0, y0, x1, y1); in do_single_blorp_clear()
1324 irb->mt_layer, num_layers, in do_single_blorp_clear()
1328 irb->mt, irb->mt_level, irb->mt_layer, num_layers); in do_single_blorp_clear()
1334 num_layers, aux_usage); in do_single_blorp_clear()
[all …]
Dbrw_clear.c175 const uint32_t num_layers = depth_att->Layered ? depth_irb->layer_count : 1; in brw_fast_clear_depth() local
190 layer < depth_irb->mt_layer + num_layers) { in brw_fast_clear_depth()
221 for (unsigned a = 0; a < num_layers; a++) { in brw_fast_clear_depth()
234 depth_irb->mt_layer, num_layers, in brw_fast_clear_depth()
Dintel_mipmap_tree.h511 unsigned start_layer, unsigned num_layers);
546 uint32_t start_layer, uint32_t num_layers,
573 uint32_t start_layer, uint32_t num_layers,
592 uint32_t start_layer, uint32_t num_layers,
624 uint32_t start_layer, uint32_t num_layers,
/external/freetype/src/sfnt/
Dttcolr.c51 FT_UShort num_layers; member
60 FT_UShort num_layers; member
131 colr->num_layers = FT_NEXT_USHORT( p ); in tt_face_load_colr()
135 if ( colr->num_layers * LAYER_SIZE > table_size - layer_offset ) in tt_face_load_colr()
201 record->num_layers = FT_NEXT_USHORT( p ); in find_base_glyph_record()
239 if ( glyph_record.num_layers ) in tt_face_get_colr_layer()
240 iterator->num_layers = glyph_record.num_layers; in tt_face_get_colr_layer()
245 if ( offset + LAYER_SIZE * glyph_record.num_layers > colr->table_size ) in tt_face_get_colr_layer()
251 if ( iterator->layer >= iterator->num_layers ) in tt_face_get_colr_layer()
/external/mesa3d/src/gallium/auxiliary/util/
Du_framebuffer.c184 unsigned i, num_layers = 0; in util_framebuffer_get_num_layers() local
198 num_layers = MAX2(num_layers, num); in util_framebuffer_get_num_layers()
204 num_layers = MAX2(num_layers, num); in util_framebuffer_get_num_layers()
206 return num_layers; in util_framebuffer_get_num_layers()
/external/webrtc/modules/video_coding/utility/
Dsimulcast_rate_allocator.cc48 int num_layers, in GetTemporalRateAllocation() argument
51 RTC_CHECK_GT(num_layers, 0); in GetTemporalRateAllocation()
52 RTC_CHECK_LE(num_layers, kMaxTemporalStreams); in GetTemporalRateAllocation()
54 RTC_CHECK_LT(temporal_id, num_layers); in GetTemporalRateAllocation()
55 if (num_layers == 3 && base_heavy_tl3_alloc) { in GetTemporalRateAllocation()
58 return kLayerRateAllocation[num_layers - 1][temporal_id]; in GetTemporalRateAllocation()
/external/tensorflow/tensorflow/python/ops/
Dbatch_norm_benchmark.py68 def build_graph(device, input_shape, axes, num_layers, mode, scale, train): argument
97 for _ in range(num_layers):
126 def _run_graph(self, device, input_shape, axes, num_layers, mode, scale, argument
145 outputs = build_graph(device, input_shape, axes, num_layers, mode, scale,
155 (device, len(input_shape), len(axes), num_layers, mode, scale, train,
167 num_layers=num_layers,
/external/mesa3d/src/mesa/state_tracker/
Dst_draw_feedback.c312 unsigned num_layers = res->depth0; in st_feedback_draw_vbo() local
324 num_layers = view->u.tex.last_layer - view->u.tex.first_layer + 1; in st_feedback_draw_vbo()
329 util_num_layers(res, j) : num_layers; in st_feedback_draw_vbo()
372 res->height0, num_layers, first_level, in st_feedback_draw_vbo()
391 unsigned width, height, num_layers, row_stride, img_stride; in st_feedback_draw_vbo() local
397 num_layers = img->u.tex.last_layer - img->u.tex.first_layer + 1; in st_feedback_draw_vbo()
402 width, height, num_layers, in st_feedback_draw_vbo()
412 height = num_layers = 1; in st_feedback_draw_vbo()
420 num_layers, addr, row_stride, img_stride, 0, 0); in st_feedback_draw_vbo()
/external/webrtc/media/base/
Dstream_params.cc148 void StreamParams::GenerateSsrcs(int num_layers, in GenerateSsrcs() argument
152 RTC_DCHECK_GE(num_layers, 0); in GenerateSsrcs()
155 for (int i = 0; i < num_layers; ++i) { in GenerateSsrcs()
161 if (num_layers > 1) { in GenerateSsrcs()
/external/webrtc/modules/video_coding/codecs/vp8/
Ddefault_temporal_layers.cc54 std::vector<unsigned int> GetTemporalIds(size_t num_layers) { in GetTemporalIds() argument
55 switch (num_layers) { in GetTemporalIds()
102 DefaultTemporalLayers::GetDependencyInfo(size_t num_layers) { in GetDependencyInfo() argument
117 switch (num_layers) { in GetDependencyInfo()
604 int num_layers) const { in GetTemplateStructure()
605 RTC_CHECK_LT(num_layers, 5); in GetTemplateStructure()
606 RTC_CHECK_GT(num_layers, 0); in GetTemplateStructure()
609 template_structure.num_decode_targets = num_layers; in GetTemplateStructure()
611 switch (num_layers) { in GetTemplateStructure()
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dgradients_test.py53 def __init__(self, activation_size, num_layers): argument
56 for _ in range(num_layers)
66 def fully_connected_model_fn(batch_size, activation_size, num_layers): argument
67 model = FullyConnectedModel(activation_size, num_layers)
103 def create_fc_batch_jacobian(batch_size, activation_size, num_layers): argument
105 num_layers)
161 def create_fc_per_eg_grad(batch_size, activation_size, num_layers): argument
165 for _ in range(num_layers)
332 def create_fc_per_eg_jacobians(batch_size, activation_size, num_layers): argument
334 num_layers=num_layers)
[all …]
/external/webrtc/modules/video_coding/codecs/vp9/
Dsvc_rate_allocator.cc92 static std::vector<DataRate> SplitBitrate(size_t num_layers, in SplitBitrate() argument
98 for (size_t layer_idx = 0; layer_idx < num_layers; ++layer_idx) { in SplitBitrate()
102 double numerator = std::pow(rate_scaling_factor, num_layers - 1); in SplitBitrate()
103 for (size_t layer_idx = 0; layer_idx < num_layers; ++layer_idx) { in SplitBitrate()
416 const size_t num_layers = GetNumActiveSpatialLayers(codec); in GetLayerStartBitrates() local
418 for (size_t i = 1; i <= num_layers; ++i) { in GetLayerStartBitrates()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_sampler.c280 unsigned num_layers = tex->depth0; in prepare_shader_sampling() local
309 num_layers = view->u.tex.last_layer - view->u.tex.first_layer + 1; in prepare_shader_sampling()
316 assert(num_layers % 6 == 0); in prepare_shader_sampling()
353 width0, tex->height0, num_layers, in prepare_shader_sampling()
437 unsigned num_layers = img->depth0; in prepare_shader_images() local
453 num_layers = view->u.tex.last_layer - view->u.tex.first_layer + 1; in prepare_shader_images()
494 width, height, num_layers, in prepare_shader_images()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_surface.c271 unsigned num_layers; in si_compute_cmask() local
273 num_layers = config->info.depth; in si_compute_cmask()
275 num_layers = 6; in si_compute_cmask()
277 num_layers = config->info.array_size; in si_compute_cmask()
280 surf->cmask_size = align(slice_bytes, base_align) * num_layers; in si_compute_cmask()
284 struct radeon_surf *surf, unsigned num_layers) in si_compute_htile() argument
346 surf->htile_size = num_layers * align(slice_bytes, base_align); in si_compute_htile()
/external/llvm-project/openmp/runtime/src/
Dkmp_dispatch_hier.h609 int num_layers; member
616 for (int i = 0; i < num_layers; ++i) in deallocate()
628 num_layers = 0; in deallocate()
636 traits_t<T>::type_size != type_size || n != num_layers) in need_to_reallocate()
670 num_layers = n; in allocate_hier()
852 KMP_DEBUG_ASSERT(level < num_layers); in get_type()
858 KMP_DEBUG_ASSERT(level < num_layers); in get_sched()
864 KMP_DEBUG_ASSERT(level < num_layers); in get_chunk()
870 KMP_DEBUG_ASSERT(level < num_layers); in get_num_active()
876 KMP_DEBUG_ASSERT(level < num_layers); in get_length()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dcudnn_rnn_ops.cc150 CudnnRnnParameters(int num_layers, int input_size, int num_units, in CudnnRnnParameters() argument
154 : num_layers_(num_layers), in CudnnRnnParameters()
166 HashList({num_layers, input_size, num_units, max_seq_length, batch_size, in CudnnRnnParameters()
496 int num_layers; member
512 return num_layers == rhs.num_layers && input_size == rhs.input_size && in IsCompatibleWith()
521 num_layers, input_size, num_units, dir_count, max_seq_length, in DebugString()
536 HashList({shapes.num_layers, shapes.input_size, shapes.num_units, in operator ()()
599 model_shapes->num_layers = in ExtractForwardInput()
602 model_shapes->num_layers = in ExtractForwardInput()
609 TensorShape({model_shapes->dir_count * model_shapes->num_layers, in ExtractForwardInput()
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_sampler.c192 unsigned num_layers = tex->depth0; in prepare_shader_sampling() local
222 num_layers = view->u.tex.last_layer - view->u.tex.first_layer + 1; in prepare_shader_sampling()
229 assert(num_layers % 6 == 0); in prepare_shader_sampling()
266 width0, tex->height0, num_layers, in prepare_shader_sampling()

123456