Home
last modified time | relevance | path

Searched refs:total_elements (Results 1 – 20 of 20) sorted by relevance

/external/libhevc/encoder/
Dihevce_stasino_helpers.c142 WORD32 total_elements; in ihevce_calc_variance() local
150 total_elements = u1_block_height * u1_block_width; in ihevce_calc_variance()
174 mean = sum / total_elements; in ihevce_calc_variance()
176 ((total_elements * sq_sum) - (sum * sum)) / (total_elements * (total_elements)); in ihevce_calc_variance()
181 variance = ((total_elements * sq_sum) - (sum * sum)); in ihevce_calc_variance()
235 WORD32 total_elements; in ihevce_calc_variance_signed() local
243 total_elements = u1_block_height * u1_block_width; in ihevce_calc_variance_signed()
261 variance = ((total_elements * sq_sum) - (sum * sum)); // / (total_elements * (total_elements) ) in ihevce_calc_variance_signed()
320 WORD32 total_elements; in ihevce_calc_chroma_variance() local
328 total_elements = u1_block_height * u1_block_width; in ihevce_calc_chroma_variance()
[all …]
/external/tensorflow/tensorflow/core/util/
Dwork_sharder_test.cc81 const int64 total_elements = 1LL << 32; in TEST() local
84 Shard(workers, &threads, total_elements, cost_per_unit, in TEST()
88 EXPECT_EQ(num_elements.load(), total_elements); in TEST()
/external/libxaac/decoder/
Dixheaacd_common_lpfuncs.c256 WORD *ch_idx, WORD *channel, WORD *ele_idx_order, WORD total_elements, in ixheaacd_get_element_index_tag() argument
336 if (total_elements == 2 && total_channels == 2 && in ixheaacd_get_element_index_tag()
347 for (j = 0; j < total_elements; j++) { in ixheaacd_get_element_index_tag()
356 if (j == total_elements) { in ixheaacd_get_element_index_tag()
Dixheaacd_multichannel.h37 WORD total_elements, WORD16 *ptr_time_data, WORD total_channels);
Dixheaacd_api.c279 WORD total_elements, WORD ch_fac, in ixheaacd_allocate_sbr_scr() argument
285 if (total_elements > 1) { in ixheaacd_allocate_sbr_scr()
2229 WORD total_elements = 0; in ixheaacd_dec_execute() local
2329 total_elements += 1; in ixheaacd_dec_execute()
2332 total_elements += 1; in ixheaacd_dec_execute()
2336 total_elements += 1; in ixheaacd_dec_execute()
2480 if (total_elements == 2 && total_channels == 2 && in ixheaacd_dec_execute()
2508 for (ch_idx1 = 0; ch_idx1 < total_elements; ch_idx1++) { in ixheaacd_dec_execute()
2520 total_elements, element_used, total_channels, in ixheaacd_dec_execute()
2622 if ((error_code == 0) && ((ch_idx1 + 1) == total_elements) && in ixheaacd_dec_execute()
[all …]
Dixheaacd_headerdecode.h58 WORD *ch_idx, WORD *channel, WORD *element_index_order, WORD total_elements,
Dixheaacd_multichannel.c349 WORD total_elements, WORD16 *ptr_time_data, WORD total_channels) { in ixheaacd_dec_downmix_to_stereo() argument
359 for (i = 0; i < total_elements; i++) { in ixheaacd_dec_downmix_to_stereo()
Dixheaacd_process.c96 WORD total_elements, WORD ch_fac,
/external/tensorflow/tensorflow/compiler/jit/
Dclone_constants_for_better_clustering.cc77 int64 total_elements = 1; in IsConstantSmall() local
83 total_elements *= dim.size(); in IsConstantSmall()
85 return total_elements < kSmallTensorThreshold; in IsConstantSmall()
/external/tensorflow/tensorflow/python/feature_column/
Ddense_features.py115 def _target_shape(self, input_shape, total_elements): argument
116 return (input_shape[0], total_elements)
Dsequence_feature_column.py112 def _target_shape(self, input_shape, total_elements): argument
113 return (input_shape[0], input_shape[1], total_elements)
Dfeature_column_v2.py429 total_elements = 0
431 total_elements += column.variable_shape.num_elements()
432 return self._target_shape(input_shape, total_elements)
/external/mesa3d/src/compiler/glsl/tests/
Darray_refcount_test.cpp258 const unsigned total_elements = var->type->arrays_of_arrays_size(); in TEST_F() local
264 EXPECT_EQ(total_elements, get_num_bits(entry)); in TEST_F()
267 for (unsigned i = 0; i < total_elements; i++) in TEST_F()
277 const unsigned total_elements = var->type->arrays_of_arrays_size(); in TEST_F() local
289 for (unsigned i = 0; i < total_elements; i++) in TEST_F()
544 const unsigned total_elements = var_b->type->arrays_of_arrays_size(); in TEST_F() local
546 for (unsigned i = 0; i < total_elements; i++) in TEST_F()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Ddense_to_sparse_batch_dataset_op.cc164 int64 total_elements = 0; in GetNextInternal() local
196 total_elements += batch_element_tuple[0].NumElements(); in GetNextInternal()
234 {total_elements, row_ndims + 1}); in GetNextInternal()
238 {total_elements}); in GetNextInternal()
/external/tensorflow/tensorflow/python/debug/cli/
Dtensor_format.py174 total_elements = np.size(tensor)
177 else "", len(indices_list), total_elements,
178 len(indices_list) / float(total_elements) * 100.0)
/external/tensorflow/tensorflow/core/kernels/
Dconv_ops_fused_image_transform.cc88 const int64 total_elements = end - begin; in FusedConvParallelFor()
93 total_elements, element_cost, in FusedConvParallelFor()
/external/tensorflow/tensorflow/compiler/xla/
Dliteral_comparison.cc815 int64 total_elements = RecursiveElementCount(actual.shape()); in NearHelper() local
819 total_elements, return_status.error_message()); in NearHelper()
/external/tensorflow/tensorflow/python/training/
Dinput_test.py1696 total_elements = num_batches * batch_size + extra_elements
1697 counter = examples.count_up_to(total_elements)
1737 self.assertItemsEqual(all_counts, range(total_elements))
1801 total_elements = num_batches * batch_size + extra_elements
1802 counter = examples.count_up_to(total_elements)
1844 self.assertItemsEqual(all_counts, range(total_elements))
/external/tensorflow/tensorflow/python/kernel_tests/random/
Drandom_shuffle_queue_test.py510 total_elements = sum(dequeue_sizes)
512 total_elements, 0, dtypes_lib.float32, shapes=())
514 elems = [10.0 * x for x in xrange(total_elements)]
/external/tensorflow/tensorflow/python/ops/
Dnn_test.py52 total_elements = np.prod(x.shape)
54 return 1.0 - nonzeros / total_elements