Home
last modified time | relevance | path

Searched refs:value_range (Results 1 – 25 of 29) sorted by relevance

12

/external/tensorflow/tensorflow/python/ops/
Dhistogram_ops_test.py36 value_range = [0.0, 5.0]
41 values, value_range, nbins=5)
48 value_range = [0.0, 5.0]
53 values, value_range, nbins=5, dtype=dtypes.int64)
60 value_range = np.float64([0.0, 5.0])
65 values, value_range, nbins=5)
72 value_range = [0.0, 5.0]
78 values, value_range, nbins=5)
110 value_range = [0.0, 5.0]
114 hist = histogram_ops.histogram_fixed_width(values, value_range, nbins=5)
[all …]
Dhistogram_ops.py34 value_range, argument
73 [values, value_range, nbins]):
78 value_range = ops.convert_to_tensor(value_range, name='value_range')
84 values - value_range[0],
85 value_range[1] - value_range[0],
100 value_range, argument
137 [values, value_range, nbins]) as name:
140 values, value_range, nbins, dtype=dtype, name=name)
/external/tensorflow/tensorflow/core/kernels/
Dhistogram_op.cc38 const typename TTypes<T, 1>::ConstTensor& value_range, in Compute()
49 const double step = static_cast<double>(value_range(1) - value_range(0)) / in Compute()
58 ((values.cwiseMax(value_range(0)) - values.constant(value_range(0))) in Compute()
93 const auto value_range = value_range_tensor.flat<T>(); in Compute() local
97 ctx, (value_range(0) < value_range(1)), in Compute()
100 value_range(0), ", ", value_range(1), "]'")); in Compute()
113 ctx, values, value_range, nbins, out)); in Compute()
Dhistogram_op_gpu.cu.cc42 const typename TTypes<T, 1>::ConstTensor& value_range, in Compute()
54 const double step = static_cast<double>(value_range(1) - value_range(0)) / in Compute()
59 static_cast<T>(static_cast<double>(value_range(0)) + step * i); in Compute()
Dhistogram_op.h31 const typename TTypes<T, 1>::ConstTensor& value_range,
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_HistogramFixedWidth.pbtxt10 name: "value_range"
13 values <= value_range[0] will be mapped to hist[0],
14 values >= value_range[1] will be mapped to hist[-1].
33 equal width and determined by the arguments `value_range` and `nbins`.
38 value_range = [0.0, 5.0]
42 hist = tf.histogram_fixed_width(new_values, value_range, nbins=5)
/external/tensorflow/tensorflow/contrib/distributions/python/ops/
Dtest_util.py155 def histogram(self, x, value_range=None, nbins=None, name=None): argument
178 if value_range is None:
179 value_range = [math_ops.reduce_min(x), 1 + math_ops.reduce_max(x)]
180 value_range = ops.convert_to_tensor(value_range, name="value_range")
181 lo = value_range[0]
182 hi = value_range[1]
186 nbins, dtype=value_range.dtype.base_dtype)
190 x, value_range=value_range, nbins=nbins)
/external/autotest/client/site_tests/firmware_TouchMTB/
Dfuzzy.py180 self.value_range = None
225 self.value_range = (range_min, range_max)
227 self.value_range = (range_min, op_value, range_max)
229 self.value_range = None
245 self.mf = mf_class(self.value_range)
249 return self.value_range
/external/clang/test/SemaCXX/
Dfor-range-examples.cpp15 struct value_range { struct
16 value_range(const T &a, const T &b) : begin_(a), end_(b) {} in value_range() argument
21 value_range_iter<T> begin(const value_range<T> &r) { return r.begin_; } in begin()
23 value_range_iter<T> end(const value_range<T> &r) { return r.end_; } in end()
51 value_range_detail::value_range<T> range(const T &a, const T &b) { return value_range_detail::value… in range()
/external/llvm/include/llvm/CodeGen/
DDIE.h565 typedef iterator_range<value_iterator> value_range; typedef
578 value_range values() { in values()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DDIE.h637 using value_range = iterator_range<value_iterator>; variable
650 value_range values() { in values()
/external/v8/src/compiler/
Dinstruction-selector-impl.h63 size_t value_range() const { return value_range_; } in value_range() function
Dinstruction-selector.cc2150 size_t input_count = 2 + sw.value_range(); in EmitTableSwitch()
2151 DCHECK_LE(sw.value_range(), std::numeric_limits<size_t>::max() - 2); in EmitTableSwitch()
/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…
Dtensorflow.raw_ops.pbtxt1429 …argspec: "args=[\'values\', \'value_range\', \'nbins\', \'dtype\', \'name\'], varargs=None, keywor…
/external/v8/src/compiler/ppc/
Dinstruction-selector-ppc.cc1711 size_t table_space_cost = 4 + sw.value_range(); in VisitSwitch()
1719 sw.value_range() <= kMaxTableSwitchValueRange) { in VisitSwitch()
/external/v8/src/compiler/mips/
Dinstruction-selector-mips.cc1539 size_t table_space_cost = 9 + sw.value_range(); in VisitSwitch()
1547 sw.value_range() <= kMaxTableSwitchValueRange) { in VisitSwitch()
/external/v8/src/compiler/s390/
Dinstruction-selector-s390.cc2019 size_t table_space_cost = 4 + sw.value_range(); in VisitSwitch()
2027 sw.value_range() <= kMaxTableSwitchValueRange) { in VisitSwitch()
/external/v8/src/compiler/x64/
Dinstruction-selector-x64.cc2037 size_t table_space_cost = 4 + sw.value_range(); in VisitSwitch()
2045 sw.value_range() <= kMaxTableSwitchValueRange) { in VisitSwitch()
/external/v8/src/compiler/ia32/
Dinstruction-selector-ia32.cc1484 size_t table_space_cost = 4 + sw.value_range(); in VisitSwitch()
1492 sw.value_range() <= kMaxTableSwitchValueRange) { in VisitSwitch()
/external/v8/src/compiler/mips64/
Dinstruction-selector-mips64.cc2152 size_t table_space_cost = 10 + 2 * sw.value_range(); in VisitSwitch()
2160 sw.value_range() <= kMaxTableSwitchValueRange) { in VisitSwitch()
/external/v8/src/compiler/arm/
Dinstruction-selector-arm.cc1922 size_t table_space_cost = 4 + sw.value_range(); in VisitSwitch()
1930 sw.value_range() <= kMaxTableSwitchValueRange) { in VisitSwitch()
/external/v8/src/compiler/arm64/
Dinstruction-selector-arm64.cc2447 size_t table_space_cost = 4 + sw.value_range(); in VisitSwitch()
2455 sw.value_range() <= kMaxTableSwitchValueRange) { in VisitSwitch()
/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…
Dtensorflow.raw_ops.pbtxt1429 …argspec: "args=[\'values\', \'value_range\', \'nbins\', \'dtype\', \'name\'], varargs=None, keywor…

12