Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/python/ops/
Dcandidate_sampling_ops.py31 range_max, seed=None, name=None): argument
81 true_classes, num_true, num_sampled, unique, range_max, seed=seed1,
87 range_max, seed=None, name=None): argument
140 true_classes, num_true, num_sampled, unique, range_max, seed=seed1,
146 unique, range_max, seed=None, name=None): argument
197 true_classes, num_true, num_sampled, unique, range_max, seed=seed1,
206 range_max, argument
287 true_classes, num_true, num_sampled, unique, range_max,
Dnn_impl.py1042 range_max=num_classes,
/external/tensorflow/tensorflow/core/kernels/
Dcandidate_sampler_ops.cc117 int64 range_max; in SimpleCandidateSamplerOp() local
118 OP_REQUIRES_OK(context, context->GetAttr("range_max", &range_max)); in SimpleCandidateSamplerOp()
119 set_sampler(new RangeSamplerType(range_max)); in SimpleCandidateSamplerOp()
141 int64 range_max; in AllCandidateSamplerOp() local
142 OP_REQUIRES_OK(context, context->GetAttr("num_sampled", &range_max)); in AllCandidateSamplerOp()
143 set_sampler(new AllSampler(range_max)); in AllCandidateSamplerOp()
154 int64 range_max; in FixedUnigramCandidateSamplerOp() local
155 OP_REQUIRES_OK(context, context->GetAttr("range_max", &range_max)); in FixedUnigramCandidateSamplerOp()
177 set_sampler(new FixedUnigramSampler(context->env(), range_max, vocab_file, in FixedUnigramCandidateSamplerOp()
181 set_sampler(new FixedUnigramSampler(range_max, unigrams, distortion, in FixedUnigramCandidateSamplerOp()
Dquantization_utils.h45 int64 FloatToQuantizedUnclamped(float input, float range_min, float range_max) { in FloatToQuantizedUnclamped() argument
48 if (range_min == range_max) { in FloatToQuantizedUnclamped()
54 const double range = ((range_max - range_min) * range_adjust); in FloatToQuantizedUnclamped()
65 T FloatToQuantized(float input, float range_min, float range_max) { in FloatToQuantized() argument
72 int64 quantized = FloatToQuantizedUnclamped<T>(input, range_min, range_max); in FloatToQuantized()
83 float QuantizedToFloat(T input, float range_min, float range_max) { in QuantizedToFloat() argument
90 if (range_min == range_max) { in QuantizedToFloat()
96 const double range = ((range_max - range_min) * range_adjust); in QuantizedToFloat()
112 float FloatForOneQuantizedLevel(float range_min, float range_max) { in FloatForOneQuantizedLevel() argument
116 (range_max - range_min) / (highest - lowest); in FloatForOneQuantizedLevel()
[all …]
Dmeta_support.h86 float range_min, float range_max, float* output);
91 float range_max, quint8* output);
Dmeta_support.cc293 float range_min, float range_max, float* output) { in Dequantize() argument
306 CalculateRangeScale<uint8_t>(range_min, range_max); in Dequantize()
317 float range_min, float range_max, quint8* output) { in Quantize() argument
330 CalculateOneOverRangeScale<uint8_t>(range_min, range_max); in Quantize()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_framebuffer.c355 float range_max = 1.0; in emit_viewport() local
541 range_max = viewport->scale[2] * 1.0f + viewport->translate[2]; in emit_viewport()
547 if (range_min > range_max) { in emit_viewport()
550 range_min = range_max; in emit_viewport()
551 range_max = range_tmp; in emit_viewport()
561 range_max = 0.5f * viewport->scale[2] + 0.5f + viewport->translate[2]; in emit_viewport()
648 svga->state.hw_clear.depthrange.zmax != range_max) in emit_viewport()
654 ret = SVGA3D_SetZRange(svga->swc, range_min, range_max ); in emit_viewport()
659 svga->state.hw_clear.depthrange.zmax = range_max; in emit_viewport()
670 vp.maxDepth = range_max; in emit_viewport()
[all …]
/external/autotest/client/site_tests/firmware_TouchMTB/
Dfuzzy.py217 range_max = range_min = op_value
220 range_max = op_value + delta
225 self.value_range = (range_min, range_max)
227 self.value_range = (range_min, op_value, range_max)
/external/ltp/include/old/
Drandom_range.h37 int range_max ( char *, int );
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_LogUniformCandidateSampler.pbtxt55 name: "range_max"
57 The sampler will sample integers from the interval [0, range_max).
Dapi_def_LearnedUnigramCandidateSampler.pbtxt55 name: "range_max"
57 The sampler will sample integers from the interval [0, range_max).
Dapi_def_UniformCandidateSampler.pbtxt55 name: "range_max"
57 The sampler will sample integers from the interval [0, range_max).
Dapi_def_ThreadUnsafeUnigramCandidateSampler.pbtxt56 name: "range_max"
58 The sampler will sample integers from the interval [0, range_max).
Dapi_def_FixedUnigramCandidateSampler.pbtxt55 name: "range_max"
57 The sampler will sample integers from the interval [0, range_max).
Dapi_def_Dequantize.pbtxt44 range = (range_max - range_min) * range_adjust
Dapi_def_QuantizeV2.pbtxt65 range = (range_max - range_min) * range_adjust
/external/cmockery/cmockery_0_1_2/src/
Dcmockery.c745 const int value, const int range_min, const int range_max) { in integer_in_range_display_error() argument
746 if (value >= range_min && value <= range_max) { in integer_in_range_display_error()
750 range_max); in integer_in_range_display_error()
759 const int value, const int range_min, const int range_max) { in integer_not_in_range_display_error() argument
760 if (value < range_min || value > range_max) { in integer_not_in_range_display_error()
764 range_max); in integer_not_in_range_display_error()
/external/tensorflow/tensorflow/tools/api/golden/
Dtensorflow.nn.pbtxt149 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'voca…
181 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'seed…
197 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'seed…
333 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'seed…
/external/v8/src/compiler/
Dtypes.cc801 double range_max = range->Max(); in NormalizeRangeAndBitset() local
808 if (range_min <= bitset_min && range_max >= bitset_max) { in NormalizeRangeAndBitset()
816 if (bitset_max > range_max) { in NormalizeRangeAndBitset()
817 range_max = bitset_max; in NormalizeRangeAndBitset()
819 return RangeType::New(range_min, range_max, zone); in NormalizeRangeAndBitset()
/external/tensorflow/tensorflow/contrib/nn/python/ops/
Dsampling_ops.py227 range_max=num_classes)
/external/v8/src/ast/
Dast-types.cc927 double range_max = range->Max(); in NormalizeRangeAndBitset() local
934 if (range_min <= bitset_min && range_max >= bitset_max) { in NormalizeRangeAndBitset()
942 if (bitset_max > range_max) { in NormalizeRangeAndBitset()
943 range_max = bitset_max; in NormalizeRangeAndBitset()
945 return AstRangeType::New(range_min, range_max, AstBitsetType::kNone, zone); in NormalizeRangeAndBitset()
/external/autotest/client/site_tests/firmware_TouchMTB/tests/
Dmtb_unittest.py59 range_min , range_max = fc.get_criteria_value_range()
60 range_middle = (range_min + range_max) / 2.0
/external/tensorflow/tensorflow/tools/graph_transforms/
Dquantize_nodes_test.cc122 float range_max) { in TestGraphWithInputRange() argument
125 context.params["input_max"] = {strings::StrCat(range_max)}; in TestGraphWithInputRange()
131 FloatTensorToQuantizedInPlace<quint8>(float_tensor, range_min, range_max, in TestGraphWithInputRange()
145 const std::vector<string>& output_names, float range_min, float range_max, in TestGraphWithFallbackRange() argument
149 context.params["fallback_max"] = {strings::StrCat(range_max)}; in TestGraphWithFallbackRange()
/external/ltp/lib/
Drandom_range.c243 int range_max(char *rbuf, int r) in range_max() function
/external/ltp/testcases/kernel/fs/doio/
Diogen.c1502 Maxstrides = range_max(ranges, 0); in parse_cmdline()

12