Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/python/ops/
Dhistogram_ops.py37 nbins=100, argument
77 [values, value_range, nbins]):
83 nbins = ops.convert_to_tensor(nbins, dtype=dtypes.int32, name='nbins')
84 nbins_float = math_ops.cast(nbins, values.dtype)
106 nbins=100, argument
144 [values, value_range, nbins]) as name:
147 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])
104 histogram_ops.histogram_fixed_width(values, [1.0, 5.0], nbins=-5)
113 hist = histogram_ops.histogram_fixed_width(values, value_range, nbins=5)
125 values, value_range, nbins=5, dtype=dtypes.int64)
136 hist = histogram_ops.histogram_fixed_width(values, value_range, nbins=5)
147 hist = histogram_ops.histogram_fixed_width(values, value_range, nbins=5)
[all …]
/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()
51 const double nbins_minus_1 = static_cast<double>(nbins - 1); in Compute()
98 const auto nbins = nbins_tensor.scalar<int32>()(); in Compute() local
106 ctx, (nbins > 0), in Compute()
108 nbins, "'")); in Compute()
112 ctx->allocate_output(0, TensorShape({nbins}), &out_tensor)); in Compute()
117 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/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/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/mesa3d/src/freedreno/decode/scripts/
Dparse-submits.lua54 local nbins
116 printf(" bin size: %ux%u (%u bins)\n", binw, binh, nbins)
408 nbins = r.VSC_BIN_COUNT.NX * r.VSC_BIN_COUNT.NY
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DHistogramFixedWidth.pbtxt12 name: "nbins"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DHistogramFixedWidth.pbtxt12 name: "nbins"
/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/python/cpython3/Lib/test/
Dtest_tuple.py112 def tryone_inner(tag, nbins, hashes, expected=None, zlimit=None): argument
116 mean, sdev = support.collision_stats(nbins, nballs)
/external/tensorflow/tensorflow/core/ops/
Dmath_ops.cc1628 int64 nbins; in __anon725c8f640d02() local
1629 TF_RETURN_IF_ERROR(c->GetScalarFromTensor(nbins_input, &nbins)); in __anon725c8f640d02()
1631 if (nbins <= 0) { in __anon725c8f640d02()
1632 return errors::InvalidArgument("Requires nbins > 0: ", nbins); in __anon725c8f640d02()
1634 c->set_output(0, c->Vector(nbins)); in __anon725c8f640d02()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_gmem.c763 unsigned nbins = gmem->maxpw * gmem->maxph; in fd_gmem_estimate_bins_per_pipe() local
769 return nbins; in fd_gmem_estimate_bins_per_pipe()
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.pbtxt725 …argspec: "args=[\'values\', \'value_range\', \'nbins\', \'dtype\', \'name\'], varargs=None, keywor…
729 …argspec: "args=[\'values\', \'value_range\', \'nbins\', \'dtype\', \'name\'], varargs=None, keywor…
Dtensorflow.raw_ops.pbtxt1825 …argspec: "args=[\'values\', \'value_range\', \'nbins\', \'dtype\', \'name\'], varargs=None, keywor…
/external/python/cpython3/Lib/test/support/
D__init__.py2973 def collision_stats(nbins, nballs): argument
2974 n, k = nbins, nballs
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.pbtxt1445 …argspec: "args=[\'values\', \'value_range\', \'nbins\', \'dtype\', \'name\'], varargs=None, keywor…
1449 …argspec: "args=[\'values\', \'value_range\', \'nbins\', \'dtype\', \'name\'], varargs=None, keywor…
Dtensorflow.raw_ops.pbtxt1825 …argspec: "args=[\'values\', \'value_range\', \'nbins\', \'dtype\', \'name\'], varargs=None, keywor…
/external/tensorflow/tensorflow/go/op/
Dwrappers.go36533 func HistogramFixedWidth(scope *Scope, values tf.Output, value_range tf.Output, nbins tf.Output, op…
36544 values, value_range, nbins,

12