Home
last modified time | relevance | path

Searched refs:total_elements (Results 1 – 19 of 19) 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.c260 WORD *ch_idx, WORD *channel, WORD *ele_idx_order, WORD total_elements, in ixheaacd_get_element_index_tag() argument
340 if (total_elements == 2 && total_channels == 2 && in ixheaacd_get_element_index_tag()
351 for (j = 0; j < total_elements; j++) { in ixheaacd_get_element_index_tag()
360 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()
2160 WORD total_elements = 0; in ixheaacd_dec_execute() local
2230 total_elements += 1; in ixheaacd_dec_execute()
2233 total_elements += 1; in ixheaacd_dec_execute()
2237 total_elements += 1; in ixheaacd_dec_execute()
2381 if (total_elements == 2 && total_channels == 2 && in ixheaacd_dec_execute()
2409 for (ch_idx1 = 0; ch_idx1 < total_elements; ch_idx1++) { in ixheaacd_dec_execute()
2421 total_elements, element_used, total_channels, in ixheaacd_dec_execute()
2526 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.c97 WORD total_elements, WORD ch_fac,
/external/tensorflow/tensorflow/compiler/jit/
Dclone_constants_for_better_clustering.cc78 int64 total_elements = 1; in IsSmallHostConstant() local
84 total_elements *= dim.size(); in IsSmallHostConstant()
86 return total_elements < kSmallTensorThreshold; in IsSmallHostConstant()
/external/mesa3d/src/compiler/glsl/tests/
Darray_refcount_test.cpp255 const unsigned total_elements = var->type->arrays_of_arrays_size(); in TEST_F() local
261 EXPECT_EQ(total_elements, get_num_bits(entry)); in TEST_F()
264 for (unsigned i = 0; i < total_elements; i++) in TEST_F()
274 const unsigned total_elements = var->type->arrays_of_arrays_size(); in TEST_F() local
285 for (unsigned i = 0; i < total_elements; i++) in TEST_F()
536 const unsigned total_elements = var_b->type->arrays_of_arrays_size(); in TEST_F() local
538 for (unsigned i = 0; i < total_elements; i++) in TEST_F()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Ddense_to_sparse_batch_dataset_op.cc162 int64 total_elements = 0; in GetNextInternal() local
194 total_elements += batch_element_tuple[0].NumElements(); in GetNextInternal()
232 {total_elements, row_ndims + 1}); in GetNextInternal()
236 {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/python/feature_column/
Dsequence_feature_column.py107 def _target_shape(self, input_shape, total_elements): argument
108 return (input_shape[0], input_shape[1], total_elements)
Dfeature_column_v2.py360 total_elements = 0
362 total_elements += column.variable_shape.num_elements()
363 return self._target_shape(input_shape, total_elements)
444 def _target_shape(self, input_shape, total_elements): argument
445 return (input_shape[0], total_elements)
/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.cc769 int64 total_elements = RecursiveElementCount(actual.shape()); in NearHelper() local
773 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.py506 total_elements = sum(dequeue_sizes)
508 total_elements, 0, dtypes_lib.float32, shapes=())
510 elems = [10.0 * x for x in xrange(total_elements)]
/external/tensorflow/tensorflow/python/ops/
Dnn_test.py50 total_elements = np.prod(x.shape)
52 return 1.0 - nonzeros / total_elements