/external/tensorflow/tensorflow/python/ops/ |
H A D | histogram_ops.py | 40 value_range, 49 determined by the arguments `value_range` and `nbins`. 53 value_range: Shape [2] `Tensor` of same `dtype` as `values`. 54 values <= value_range[0] will be mapped to hist[0], 55 values >= value_range[1] will be mapped to hist[-1]. 69 value_range = [0.0, 5.0] 73 indices = tf.histogram_fixed_width_bins(new_values, value_range, nbins=5) 79 [values, value_range, nbins]): 84 value_range = ops.convert_to_tensor(value_range, nam [all...] |
H A D | histogram_ops_test.py | 35 value_range = [0.0, 5.0] 40 values, value_range, nbins=5) 47 value_range = [0.0, 5.0] 52 values, value_range, nbins=5, dtype=dtypes.int64) 59 value_range = np.float64([0.0, 5.0]) 64 values, value_range, nbins=5) 71 value_range = [0.0, 5.0] 77 values, value_range, nbins=5) 90 value_range = [0.0, 5.0] 94 hist = histogram_ops.histogram_fixed_width(values, value_range, nbin [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
H A D | histogram_op.cc | 38 const typename TTypes<T, 1>::ConstTensor& value_range, 49 const double step = static_cast<double>(value_range(1) - value_range(0)) / 58 ((values.cwiseMax(value_range(0)) - values.constant(value_range(0))) 85 errors::InvalidArgument("value_range should be a vector.")); 88 "value_range should be a vector of 2 elements.")); 93 const auto value_range = value_range_tensor.flat<T>(); variable 97 ctx, (value_range(0) < value_range( 36 Compute(OpKernelContext* context, const typename TTypes<T, 1>::ConstTensor& values, const typename TTypes<T, 1>::ConstTensor& value_range, int32 nbins, typename TTypes<Tout, 1>::Tensor& out) argument [all...] |
H A D | histogram_op.h | 31 const typename TTypes<T, 1>::ConstTensor& value_range,
|
H A D | histogram_op_gpu.cu.cc | 42 const typename TTypes<T, 1>::ConstTensor& value_range, 54 const double step = static_cast<double>(value_range(1) - value_range(0)) / 59 static_cast<T>(static_cast<double>(value_range(0)) + step * i); 40 Compute(OpKernelContext* context, const typename TTypes<T, 1>::ConstTensor& values, const typename TTypes<T, 1>::ConstTensor& value_range, int32 nbins, typename TTypes<Tout, 1>::Tensor& out) argument
|
/external/autotest/client/site_tests/firmware_TouchMTB/ |
H A D | fuzzy.py | 180 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/tensorflow/tensorflow/contrib/distributions/python/ops/ |
H A D | test_util.py | 154 def histogram(self, x, value_range=None, nbins=None, name=None): 159 bins are equal width and determined by the arguments `value_range` and 164 value_range: Shape [2] `Tensor`. `new_values <= value_range[0]` will be 165 mapped to `hist[0]`, `values >= value_range[1]` will be mapped to 177 if value_range is None: 178 value_range = [math_ops.reduce_min(x), 1 + math_ops.reduce_max(x)] 179 value_range = ops.convert_to_tensor(value_range, name="value_range") [all...] |
/external/clang/test/SemaCXX/ |
H A D | for-range-examples.cpp | 15 struct value_range { struct in namespace:value_range_detail 16 value_range(const T &a, const T &b) : begin_(a), end_(b) {} function in struct:value_range_detail::value_range 21 value_range_iter<T> begin(const value_range<T> &r) { return r.begin_; } 23 value_range_iter<T> end(const value_range<T> &r) { return r.end_; } 51 value_range_detail::value_range<T> range(const T &a, const T &b) { return value_range_detail::value_range<T>(a, b); }
|
/external/tensorflow/tensorflow/contrib/model_pruning/python/ |
H A D | pruning.py | 151 def _histogram(values, value_range, nbins=100, dtype=np.int32, name=None): 156 equal width and determined by the arguments `value_range` and `nbins`. 160 value_range: Shape [2] `Tensor` of same `dtype` as `values`. 161 values <= value_range[0] will be mapped to hist[0], 162 values >= value_range[1] will be mapped to hist[-1]. 171 with ops.name_scope(name, 'histogram', [values, value_range, nbins]) as scope: 174 value_range = ops.convert_to_tensor(value_range, name='value_range') 178 # Map tensor values that fall within value_range t [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | DIE.h | 565 typedef iterator_range<value_iterator> value_range; typedef in class:llvm::DIEValueList 578 value_range values() {
|
/external/v8/src/compiler/ |
H A D | instruction-selector-impl.h | 22 size_t value_range; // |max_value - min_value| + 1 member in struct:v8::internal::compiler::SwitchInfo
|
H A D | instruction-selector.cc | 967 // Note that {value_range} can be 0 if {min_value} is -2^31 and 970 sw.value_range = 1u + bit_cast<uint32_t>(sw.max_value) - 1745 size_t input_count = 2 + sw.value_range;
|
/external/v8/src/compiler/ia32/ |
H A D | instruction-selector-ia32.cc | 1516 size_t table_space_cost = 4 + sw.value_range;
|
/external/v8/src/compiler/mips/ |
H A D | instruction-selector-mips.cc | 1654 size_t table_space_cost = 9 + sw.value_range;
|
/external/v8/src/compiler/ppc/ |
H A D | instruction-selector-ppc.cc | 1828 size_t table_space_cost = 4 + sw.value_range;
|
/external/v8/src/compiler/x87/ |
H A D | instruction-selector-x87.cc | 1625 size_t table_space_cost = 4 + sw.value_range;
|
/external/v8/src/compiler/arm/ |
H A D | instruction-selector-arm.cc | 1970 size_t table_space_cost = 4 + sw.value_range;
|
/external/v8/src/compiler/arm64/ |
H A D | instruction-selector-arm64.cc | 2386 size_t table_space_cost = 4 + sw.value_range;
|
/external/v8/src/compiler/mips64/ |
H A D | instruction-selector-mips64.cc | 2353 size_t table_space_cost = 10 + 2 * sw.value_range;
|
/external/v8/src/compiler/s390/ |
H A D | instruction-selector-s390.cc | 2261 size_t table_space_cost = 4 + sw.value_range;
|
/external/v8/src/compiler/x64/ |
H A D | instruction-selector-x64.cc | 2018 size_t table_space_cost = 4 + sw.value_range;
|