Home
last modified time | relevance | path

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

/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.py41 nbins=100, argument
79 [values, value_range, nbins]):
85 nbins = ops.convert_to_tensor(nbins, dtype=dtypes.int32, name='nbins')
86 nbins_float = math_ops.cast(nbins, values.dtype)
107 nbins=100, argument
143 [values, value_range, nbins]) as name:
145 values, value_range, nbins, dtype=dtype, name=name)
Dhistogram_ops_test.py40 values, value_range, nbins=5)
52 values, value_range, nbins=5, dtype=dtypes.int64)
64 values, value_range, nbins=5)
77 values, value_range, nbins=5)
94 hist = histogram_ops.histogram_fixed_width(values, value_range, nbins=5)
106 values, value_range, nbins=5, dtype=dtypes.int64)
117 hist = histogram_ops.histogram_fixed_width(values, value_range, nbins=5)
128 hist = histogram_ops.histogram_fixed_width(values, value_range, nbins=5)
138 hist = histogram_ops.histogram_fixed_width(values, value_range, nbins=5)
144 values, value_range, nbins=placeholder)
/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/opencv/cvaux/src/
Dcvfindhandregion.cpp67 int nbins = 20, i, l, i_point, left, right; in icvFindHandRegion() local
114 bin_counts = (int *) cvAlloc( nbins * sizeof( int )); in icvFindHandRegion()
121 memset( bin_counts, 0, nbins * sizeof( int )); in icvFindHandRegion()
171 bsize = vl / nbins; in icvFindHandRegion()
193 for( l = 0; l < nbins; l++ ) in icvFindHandRegion()
208 for( l = nbins - 1; l >= 0; l-- ) in icvFindHandRegion()
216 hand_right = vmax - (nbins - right - 1) * bsize; in icvFindHandRegion()
286 int nbins = 20, i, l, i_point, left, right, jmin, jmax, jl; in icvFindHandRegionA() local
334 bin_counts = (int *) cvAlloc( nbins * sizeof( int )); in icvFindHandRegionA()
341 memset( bin_counts, 0, nbins * sizeof( int )); in icvFindHandRegionA()
[all …]
/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/tensorflow/tensorflow/contrib/model_pruning/python/
Dpruning.py151 def _histogram(values, value_range, nbins=100, dtype=np.int32, name=None): argument
171 with ops.name_scope(name, 'histogram', [values, value_range, nbins]) as scope:
175 nbins = ops.convert_to_tensor(nbins, dtype=np.int32, name='nbins')
176 nbins_float = math_ops.cast(nbins, values.dtype)
193 array_ops.ones_like(indices, dtype=dtype), indices, nbins, name=scope)
360 nbins=255,
502 nbins=self._spec.nbins,
512 float(self._spec.nbins)), max_value)
/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/tensorflow/tensorflow/contrib/distributions/python/ops/
Dtest_util.py154 def histogram(self, x, value_range=None, nbins=None, name=None): argument
182 if nbins is None:
183 nbins = math_ops.to_int32(hi - lo)
185 nbins, dtype=value_range.dtype.base_dtype)
189 x, value_range=value_range, nbins=nbins)
/external/jemalloc/include/jemalloc/internal/
Dsize_classes.sh119 nbins=0
136 nbins=$((${index} + 1))
190 nbins=$((${index} + 1))
270 echo "#define NBINS ${nbins}"
/external/libxaac/decoder/
Dixheaacd_tns.c197 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.cc1357 int64 nbins; in __anon57f5a5dd0b02() local
1358 TF_RETURN_IF_ERROR(c->GetScalarFromTensor(nbins_input, &nbins)); in __anon57f5a5dd0b02()
1359 c->set_output(0, c->Vector(nbins)); in __anon57f5a5dd0b02()
Dops.pbtxt9967 name: "nbins"
/external/tensorflow/tensorflow/contrib/model_pruning/
DREADME.md48 | nbins | integer | 255 | Number of bins to use for histogram computation |
/external/tensorflow/tensorflow/tools/api/golden/
Dtensorflow.pbtxt1165 …argspec: "args=[\'values\', \'value_range\', \'nbins\', \'dtype\', \'name\'], varargs=None, keywor…
1169 …argspec: "args=[\'values\', \'value_range\', \'nbins\', \'dtype\', \'name\'], varargs=None, keywor…
/external/tensorflow/tensorflow/go/op/
Dwrappers.go3336 func HistogramFixedWidth(scope *Scope, values tf.Output, value_range tf.Output, nbins tf.Output, op…
3347 values, value_range, nbins,
/external/tensorflow/tensorflow/core/ops/compat/
Dops_history.v1.pbtxt21219 name: "nbins"