Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/contrib/metrics/python/ops/
Dhistogram_ops.py42 nbins=100, argument
88 score_range, nbins)
91 nbins,
93 auc = _auc_convert_hist_to_auc(hist_true_acc, hist_false_acc, nbins)
127 def _make_auc_histograms(boolean_labels, scores, score_range, nbins): argument
131 None, 'make_auc_histograms', [boolean_labels, scores, nbins]):
136 nbins=nbins,
143 nbins=nbins,
149 def _auc_hist_accumulate(hist_true, hist_false, nbins, collections): argument
156 shape=[nbins],
[all …]
/external/tensorflow/tensorflow/python/ops/
Dhistogram_ops.py35 nbins=100, argument
73 [values, value_range, nbins]):
79 nbins = ops.convert_to_tensor(nbins, dtype=dtypes.int32, name='nbins')
80 nbins_float = math_ops.cast(nbins, values.dtype)
101 nbins=100, argument
137 [values, value_range, nbins]) as name:
140 values, value_range, nbins, dtype=dtype, name=name)
Dhistogram_ops_test.py41 values, value_range, nbins=5)
53 values, value_range, nbins=5, dtype=dtypes.int64)
65 values, value_range, nbins=5)
78 values, value_range, nbins=5)
102 histogram_ops.histogram_fixed_width(values, [1.0, 5.0], nbins=[1, 2])
105 histogram_ops.histogram_fixed_width(values, [1.0, 5.0], nbins=-5)
114 hist = histogram_ops.histogram_fixed_width(values, value_range, nbins=5)
126 values, value_range, nbins=5, dtype=dtypes.int64)
137 hist = histogram_ops.histogram_fixed_width(values, value_range, nbins=5)
148 hist = histogram_ops.histogram_fixed_width(values, value_range, nbins=5)
[all …]
/external/tensorflow/tensorflow/contrib/metrics/python/kernel_tests/
Dhistogram_ops_test.py73 nbins=100,
83 nbins=100,
92 for nbins in [50]:
98 nbins=nbins,
111 nbins=100,
122 nbins=1000,
131 nbins=100, argument
162 labels, scores, score_range, nbins=nbins)
176 'num_records: %s, frac_true: %s, num_updates: %s') % (nbins,
/external/tensorflow/tensorflow/core/kernels/
Dhistogram_op.cc39 int32 nbins, typename TTypes<Tout, 1>::Tensor& out) { in Compute()
50 static_cast<double>(nbins); in Compute()
62 .cwiseMin(nbins - 1); in Compute()
94 const auto nbins = nbins_tensor.scalar<int32>()(); in Compute() local
102 ctx, (nbins > 0), in Compute()
104 nbins, "'")); in Compute()
108 ctx->allocate_output(0, TensorShape({nbins}), &out_tensor)); in Compute()
113 ctx, values, value_range, nbins, out)); in Compute()
Dhistogram_op_gpu.cu.cc43 int32 nbins, typename TTypes<Tout, 1>::Tensor& out) { in Compute()
50 DataTypeToEnum<T>::value, TensorShape({nbins + 1}), &levels_tensor, in Compute()
55 static_cast<double>(nbins); in Compute()
57 for (int i = 1; i < nbins; i++) { in Compute()
61 levels(nbins) = std::numeric_limits<T>::max(); in Compute()
Dbincount_op_test.cc27 static Graph* Bincount(int arr_size, int nbins) { in Bincount() argument
34 size.flat<int32>()(0) = static_cast<int32>(nbins); in Bincount()
Dhistogram_op.h32 int32 nbins, typename TTypes<Tout, 1>::Tensor& out);
/external/jemalloc/test/unit/
Drun_quantize.c5 unsigned nbins, i; in TEST_BEGIN() local
16 assert_d_eq(mallctl("arenas.nbins", (void *)&nbins, &sz, NULL, 0), 0, in TEST_BEGIN()
21 for (i = 0; i < nbins; i++) { in TEST_BEGIN()
96 unsigned nbins, nlruns, i; in TEST_BEGIN() local
105 assert_d_eq(mallctl("arenas.nbins", (void *)&nbins, &sz, NULL, 0), 0, in TEST_BEGIN()
Dpack.c31 unsigned nbins, i; in binind_compute() local
33 sz = sizeof(nbins); in binind_compute()
34 assert_d_eq(mallctl("arenas.nbins", (void *)&nbins, &sz, NULL, 0), 0, in binind_compute()
37 for (i = 0; i < nbins; i++) { in binind_compute()
Dmallctl.c201 unsigned nbins, i; in TEST_BEGIN() local
205 len = sizeof(nbins); in TEST_BEGIN()
206 assert_d_eq(mallctl("arenas.nbins", (void *)&nbins, &len, NULL, 0), 0, in TEST_BEGIN()
212 for (i = 0; i < nbins; i++) { in TEST_BEGIN()
614 TEST_ARENAS_CONSTANT(unsigned, nbins, NBINS); in TEST_BEGIN()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_HistogramFixedWidth.pbtxt18 name: "nbins"
33 equal width and determined by the arguments `value_range` and `nbins`.
37 nbins = 5
42 hist = tf.histogram_fixed_width(new_values, value_range, nbins=5)
/external/jemalloc_new/test/unit/
Dpack.c22 unsigned nbins, i; in binind_compute() local
24 sz = sizeof(nbins); in binind_compute()
25 assert_d_eq(mallctl("arenas.nbins", (void *)&nbins, &sz, NULL, 0), 0, in binind_compute()
28 for (i = 0; i < nbins; i++) { in binind_compute()
Dextent_quantize.c4 unsigned nbins, i; in TEST_BEGIN() local
15 assert_d_eq(mallctl("arenas.nbins", (void *)&nbins, &sz, NULL, 0), 0, in TEST_BEGIN()
20 for (i = 0; i < nbins; i++) { in TEST_BEGIN()
Dmallctl.c193 unsigned nbins, i; in TEST_BEGIN() local
197 len = sizeof(nbins); in TEST_BEGIN()
198 assert_d_eq(mallctl("arenas.nbins", (void *)&nbins, &len, NULL, 0), 0, in TEST_BEGIN()
204 for (i = 0; i < nbins; i++) { in TEST_BEGIN()
684 TEST_ARENAS_CONSTANT(unsigned, nbins, NBINS); in TEST_BEGIN()
/external/tensorflow/tensorflow/contrib/distributions/python/ops/
Dtest_util.py155 def histogram(self, x, value_range=None, nbins=None, name=None): argument
183 if nbins is None:
184 nbins = math_ops.cast(hi - lo, dtypes.int32)
186 nbins, dtype=value_range.dtype.base_dtype)
190 x, value_range=value_range, nbins=nbins)
/external/jemalloc/src/
Dstats.c43 unsigned nbins, j; in stats_arena_bins_print() local
47 CTL_GET("arenas.nbins", &nbins, unsigned); in stats_arena_bins_print()
67 for (j = 0, in_gap = false; j < nbins; j++) { in stats_arena_bins_print()
132 (j + 1 < nbins) ? "," : ""); in stats_arena_bins_print()
190 unsigned nbins, nlruns, j; in stats_arena_lruns_print() local
193 CTL_GET("arenas.nbins", &nbins, unsigned); in stats_arena_lruns_print()
235 run_size, nbins + j, curruns * run_size, nmalloc, in stats_arena_lruns_print()
254 unsigned nbins, nlruns, nhchunks, j; in stats_arena_hchunks_print() local
257 CTL_GET("arenas.nbins", &nbins, unsigned); in stats_arena_hchunks_print()
300 hchunk_size, nbins + nlruns + j, in stats_arena_hchunks_print()
[all …]
/external/jemalloc/include/jemalloc/internal/
Dsize_classes.sh119 nbins=0
136 nbins=$((${index} + 1))
190 nbins=$((${index} + 1))
270 echo "#define NBINS ${nbins}"
/external/jemalloc_new/include/jemalloc/internal/
Dsize_classes.sh170 nbins=0
187 nbins=$((${index} + 1))
241 nbins=$((${index} + 1))
329 echo "#define NBINS ${nbins}"
/external/jemalloc_new/src/
Dstats.c222 unsigned nbins, j; in stats_arena_bins_print() local
226 CTL_GET("arenas.nbins", &nbins, unsigned); in stats_arena_bins_print()
292 for (j = 0, in_gap = false; j < nbins; j++) { in stats_arena_bins_print()
412 unsigned nbins, nlextents, j; in stats_arena_lextents_print() local
415 CTL_GET("arenas.nbins", &nbins, unsigned); in stats_arena_lextents_print()
480 col_ind.unsigned_val = nbins + j; in stats_arena_lextents_print()
1006 unsigned nbins; in stats_general_print() local
1007 CTL_GET("arenas.nbins", &nbins, unsigned); in stats_general_print()
1009 emitter_type_unsigned, &nbins); in stats_general_print()
1022 for (unsigned i = 0; i < nbins; i++) { in stats_general_print()
/external/libxaac/decoder/
Dixheaacd_tns.c198 WORD32 nbins = (pstr_sfb_info->islong) ? 1024 : 128; in ixheaacd_tns_apply() local
208 for (i = 0; i < nbins; i++) { in ixheaacd_tns_apply()
/external/tensorflow/tensorflow/core/ops/
Dmath_ops.cc1502 int64 nbins; in __anonb22bfa860d02() local
1503 TF_RETURN_IF_ERROR(c->GetScalarFromTensor(nbins_input, &nbins)); in __anonb22bfa860d02()
1505 if (nbins <= 0) { in __anonb22bfa860d02()
1506 return errors::InvalidArgument("Requires nbins > 0: ", nbins); in __anonb22bfa860d02()
1508 c->set_output(0, c->Vector(nbins)); in __anonb22bfa860d02()
/external/tensorflow/tensorflow/contrib/model_pruning/python/
Dpruning.py209 nbins=256,
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.pbtxt669 …argspec: "args=[\'values\', \'value_range\', \'nbins\', \'dtype\', \'name\'], varargs=None, keywor…
673 …argspec: "args=[\'values\', \'value_range\', \'nbins\', \'dtype\', \'name\'], varargs=None, keywor…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.pbtxt1381 …argspec: "args=[\'values\', \'value_range\', \'nbins\', \'dtype\', \'name\'], varargs=None, keywor…
1385 …argspec: "args=[\'values\', \'value_range\', \'nbins\', \'dtype\', \'name\'], varargs=None, keywor…

12