Home
last modified time | relevance | path

Searched refs:scale_ (Results 1 – 25 of 34) sorted by relevance

12

/external/libchrome/ui/gfx/geometry/
Daxis_transform2d.h23 : scale_(scale), translation_(translation) {} in AxisTransform2d()
26 return scale_ == other.scale_ && translation_ == other.translation_;
32 void PreScale(float scale) { scale_ *= scale; } in PreScale()
34 scale_ *= scale; in PostScale()
38 translation_ += ScaleVector2d(translation, scale_); in PreTranslate()
46 PreScale(pre.scale_); in PreConcat()
49 PostScale(post.scale_); in PostConcat()
54 DCHECK(scale_); in Invert()
55 scale_ = 1.f / scale_; in Invert()
56 translation_.Scale(-scale_); in Invert()
[all …]
Daxis_transform2d.cc12 return base::StringPrintf("[%f, %s]", scale_, in ToString()
/external/tensorflow/tensorflow/core/lib/monitoring/
Dtimed.h30 : cell_(cell), scale_(scale), start_(EnvTime::NowNanos()) {} in cell_()
32 ~Timed() { cell_->Add(scale_ * (EnvTime::NowNanos() - start_)); } in ~Timed()
36 double scale_ = 1e-6; variable
/external/webrtc/rtc_base/
Drate_statistics.cc30 scale_(scale), in RateStatistics()
40 scale_(other.scale_), in RateStatistics()
115 float scale = static_cast<float>(scale_) / active_window_size; in Rate()
Drate_statistics.h97 const float scale_; variable
/external/XNNPACK/test/
Dvscaleexpminusmax-microkernel-tester.h37 this->scale_ = scale; in scale()
42 return this->scale_; in scale()
86 float scale_{1.0f};
Dvcvt-microkernel-tester.h43 this->scale_ = scale; in scale()
48 return this->scale_; in scale()
400 float scale_ = 1.75f;
Dconvert-operator-tester.h78 this->scale_ = scale; in scale()
83 return this->scale_; in scale()
479 float scale_{150.0f};
/external/tensorflow/tensorflow/lite/delegates/xnnpack/
Dquantized_resize_bilinear_tester.h107 scale_ = scale; in Scale()
111 inline float Scale() const { return scale_; } in Scale()
138 float scale_ = 0.75f; variable
Dquantized_pad_tester.h84 scale_ = scale; in Scale()
88 inline float Scale() const { return scale_; } in Scale()
112 float scale_ = 0.8f; variable
Dquantized_pool_2d_tester.h159 scale_ = scale; in Scale()
163 inline float Scale() const { return scale_; } in Scale()
199 float scale_ = 0.5f; variable
/external/tensorflow/tensorflow/python/kernel_tests/linalg/
Dmatrix_exponential_op_test.py252 for scale_ in [0.1, 1.5, 5.0, 20.0]:
253 name = "%s_%d_%d" % (dtype_.__name__, len(shape_), int(scale_ * 10))
255 _TestL1Norms(dtype_, shape_, scale_))
257 for scale_ in [0.01, 0.2, 0.5, 1.5, 6.0, 25.0]:
258 name = "%s_%d_%d" % (dtype_.__name__, len(shape_), int(scale_ * 100))
260 _TestL1Norms(dtype_, shape_, scale_))
/external/tensorflow/tensorflow/lite/kernels/internal/
Dportable_tensor.h86 scale_.push_back(t->params.scale); in VectorOfQuantizedTensors()
90 const float* scale() const { return scale_.data(); } in scale()
95 std::vector<float> scale_; variable
/external/tensorflow/tensorflow/lite/delegates/coreml/builders/
Dthreshold_layer_builder.h41 void SetScale(float scale) { scale_ = scale; } in SetScale()
51 float scale_ = 1.0f; variable
Dthreshold_layer_builder.cc37 layer_->mutable_unary()->set_scale(scale_); in Build()
/external/capstone/bindings/vb6/
DCX86Operand.cls107 If mem.scale_ <> 1 Then push ret, "Scale: " & Hex(mem.scale_)
181 mem.scale_ = opMem.scale
DCX86OpMem.cls26 Public scale_ As Long ' scale for index register
/external/tensorflow/tensorflow/lite/experimental/acceleration/mini_benchmark/model_modifier/
Dvalidation_graph_builder.h104 scale_(scale), in ValidationGraphBuilder()
206 float scale_; variable
Dembedder.h100 float scale_; variable
Dembedder.cc68 scale_(scale), in Embedder()
205 kMetricPrefix, main_model_, jpeg_data_, jpeg_output_channels_, scale_, in CreateModelWithEmbeddedValidation()
/external/webp/src/utils/
Dquant_levels_dec_utils.c53 int scale_; // normalization factor, in FIX bits precision member
113 const uint32_t scale = p->scale_; in HFilter()
245 p->scale_ = (1 << (FIX + LFIX)) / (R * R); // normalization constant in InitParams()
/external/tensorflow/tensorflow/lite/experimental/acceleration/mini_benchmark/
Dembedder.h97 float scale_; variable
Dembedder.cc309 fbb_, 0, 0, fbb_.CreateVector(std::vector<float>{scale_}), in Tensors()
659 float scale_; member in tflite::acceleration::__anon4fbff73f0111::ValidationGraphBuilder
685 scale_(scale), in ValidationGraphBuilder()
748 scale_(scale), in Embedder()
873 ValidationGraphBuilder builder(main_model_, jpeg_data_, scale_, zero_point_, in CreateModelWithEmbeddedValidation()
/external/bcc/src/cc/usdt/
Dusdt_args.cc90 int scale = scale_.value_or(1); in assign_to_local()
293 dest->scale_ = abs(*dest->arg_size_); in parse()
418 return parse_number(pos, &dest->scale_); in parse_scale()
/external/cronet/base/metrics/
Dhistogram.cc924 scale_(scale) { in ScaledLinearHistogram()
958 int64_t scaled_count = count / scale_; in AddScaledCount()
959 subtle::Atomic32 remainder = static_cast<int>(count - scaled_count * scale_); in AddScaledCount()
971 if (remainder >= scale_ / 2) { in AddScaledCount()
974 &remainders_[static_cast<size_t>(value)], -scale_); in AddScaledCount()

12