Home
last modified time | relevance | path

Searched refs:scale_ (Results 1 – 25 of 26) 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/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcudnn_batchnorm_thunk.cc44 scale_(scale), in CudnnBatchNormForwardInferenceThunk()
58 se::DeviceMemory<float> scale(buffer_allocations.GetDeviceAddress(scale_)); in ExecuteOnStream()
83 scale_(scale), in CudnnBatchNormForwardTrainingThunk()
107 se::DeviceMemory<float>(buffer_allocations.GetDeviceAddress(scale_)), in ExecuteOnStream()
129 scale_(scale), in CudnnBatchNormBackwardThunk()
156 se::DeviceMemory<float>(buffer_allocations.GetDeviceAddress(scale_)), in ExecuteOnStream()
Dcudnn_batchnorm_thunk.h69 BufferAllocation::Slice scale_; variable
97 BufferAllocation::Slice scale_; variable
125 BufferAllocation::Slice scale_; 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};
/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/python/kernel_tests/
Dmatrix_exponential_op_test.py257 for scale_ in [0.1, 1.5, 5.0, 20.0]:
258 name = "%s_%d_%d" % (dtype_.__name__, len(shape_), int(scale_ * 10))
260 _TestL1Norms(dtype_, shape_, scale_))
262 for scale_ in [0.01, 0.2, 0.5, 1.5, 6.0, 25.0]:
263 name = "%s_%d_%d" % (dtype_.__name__, len(shape_), int(scale_ * 100))
265 _TestL1Norms(dtype_, shape_, scale_))
/external/tensorflow/tensorflow/lite/delegates/coreml/builders/
Dthreshold_layer_builder.h39 void SetScale(float scale) { scale_ = scale; } in SetScale()
49 float scale_ = 1.0f; variable
Dthreshold_layer_builder.cc34 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/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/bcc/src/cc/usdt/
Dusdt_args.cc83 int scale = scale_.value_or(1); in assign_to_local()
270 dest->scale_ = abs(*dest->arg_size_); in parse()
342 return parse_number(pos, &dest->scale_); in parse_scale()
/external/llvm-project/mlir/docs/
DQuantization.md47 value has $$ scale_{product} = scale_{left \mbox{ } operand} * scale_{right
119 …&= clampToTargetSize(roundToNearestInteger( \frac{real\_value_{Single}}{scale_{Single}})_{sint32} …
140 …_{uint8 \, or \, uint16} - zero\_point_{uint8 \, or \, uint16})_{sint32})_{Single} * scale_{Single}
/external/bcc/src/cc/
Dusdt.h54 optional<int> scale_; variable
77 const optional<int> scale() const { return scale_; } in scale()
/external/bcc/src/cc/includes/
Dusdt.h54 optional<int> scale_; variable
77 const optional<int> scale() const { return scale_; } in scale()
/external/libchrome/base/metrics/
Dhistogram.cc1039 scale_(scale) { in ScaledLinearHistogram()
1065 int scaled_count = count / scale_; in AddScaledCount()
1066 subtle::Atomic32 remainder = count - scaled_count * scale_; in AddScaledCount()
1078 if (remainder >= scale_ / 2) { in AddScaledCount()
1080 subtle::NoBarrier_AtomicIncrement(&remainders_[value], -scale_); in AddScaledCount()
Dhistogram.h480 int32_t scale() const { return scale_; } in scale()
489 const int32_t scale_; variable
/external/tensorflow/tensorflow/lite/micro/kernels/
Ddetection_postprocess.cc228 : zero_point_(zero_point), scale_(scale) {} in Dequantizer()
230 return (static_cast<float>(x) - zero_point_) * scale_; in operator ()()
235 float scale_; member in tflite::__anonfaf0be1c0111::Dequantizer
/external/tensorflow/tensorflow/lite/kernels/
Ddetection_postprocess.cc239 : zero_point_(zero_point), scale_(scale) {} in Dequantizer()
241 return (static_cast<float>(x) - zero_point_) * scale_; in operator ()()
246 float scale_; member in tflite::ops::custom::detection_postprocess::Dequantizer
/external/deqp/modules/gles2/functional/
Des2fVertexTextureTests.cpp152 TexTypeCoordParams (const Vec2& scale_, const Vec2& bias_) : scale(scale_), bias(bias_) {} in TexTypeCoordParams()
162 …TexTypeCoordParams (const Vec2& scale_, const Vec2& bias_, tcu::CubeFace face_) : scale(scale_), b… in TexTypeCoordParams()
/external/deqp/modules/gles3/functional/
Des3fVertexTextureTests.cpp185 TexTypeCoordParams (const Vec2& scale_, const Vec2& bias_) : scale(scale_), bias(bias_) {} in TexTypeCoordParams()
195 …TexTypeCoordParams (const Vec2& scale_, const Vec2& bias_, tcu::CubeFace face_) : scale(scale_), b… in TexTypeCoordParams()

12