/external/XNNPACK/test/ |
D | f32-vabs.cc | 25 …n_f32_vunary_ukernel_function(xnn_f32_vabs_ukernel__neon_x4), VUnOpMicrokernelTester::OpType::Abs); in TEST() 33 …n_f32_vunary_ukernel_function(xnn_f32_vabs_ukernel__neon_x4), VUnOpMicrokernelTester::OpType::Abs); in TEST() 42 …n_f32_vunary_ukernel_function(xnn_f32_vabs_ukernel__neon_x4), VUnOpMicrokernelTester::OpType::Abs); in TEST() 51 …n_f32_vunary_ukernel_function(xnn_f32_vabs_ukernel__neon_x4), VUnOpMicrokernelTester::OpType::Abs); in TEST() 61 …n_f32_vunary_ukernel_function(xnn_f32_vabs_ukernel__neon_x4), VUnOpMicrokernelTester::OpType::Abs); in TEST() 72 …n_f32_vunary_ukernel_function(xnn_f32_vabs_ukernel__neon_x8), VUnOpMicrokernelTester::OpType::Abs); in TEST() 80 …n_f32_vunary_ukernel_function(xnn_f32_vabs_ukernel__neon_x8), VUnOpMicrokernelTester::OpType::Abs); in TEST() 89 …n_f32_vunary_ukernel_function(xnn_f32_vabs_ukernel__neon_x8), VUnOpMicrokernelTester::OpType::Abs); in TEST() 98 …n_f32_vunary_ukernel_function(xnn_f32_vabs_ukernel__neon_x8), VUnOpMicrokernelTester::OpType::Abs); in TEST() 108 …n_f32_vunary_ukernel_function(xnn_f32_vabs_ukernel__neon_x8), VUnOpMicrokernelTester::OpType::Abs); in TEST() [all …]
|
/external/tensorflow/tensorflow/core/kernels/mlir_generated/ |
D | cpu_op_abs.cc | 21 GENERATE_AND_REGISTER_UNARY_CPU_KERNEL(Abs, DT_HALF); 22 GENERATE_AND_REGISTER_UNARY_CPU_KERNEL(Abs, DT_DOUBLE); 23 GENERATE_AND_REGISTER_UNARY_CPU_KERNEL(Abs, DT_FLOAT); 25 GENERATE_AND_REGISTER_UNARY_CPU_KERNEL(Abs, DT_INT8); 26 GENERATE_AND_REGISTER_UNARY_CPU_KERNEL(Abs, DT_INT16); 27 GENERATE_AND_REGISTER_UNARY_CPU_KERNEL(Abs, DT_INT32); 28 GENERATE_AND_REGISTER_UNARY_CPU_KERNEL(Abs, DT_INT64);
|
D | cpu_unary_ops_test.cc | 40 Abs, DT_HALF, DT_FLOAT, DT_HALF, DT_FLOAT, 45 Abs, DT_FLOAT, DT_FLOAT, test::NearZeroAndExtremeInput<float>(), std::abs, 49 Abs, DT_DOUBLE, DT_DOUBLE, test::NearZeroAndExtremeInput<double>(), 53 Abs, DT_INT8, DT_INT32, DT_INT8, DT_INT32, 58 Abs, DT_INT16, DT_INT32, DT_INT16, DT_INT32, 63 Abs, DT_INT32, DT_INT32, test::NearZeroAndExtremeInput<int32>(), std::abs, 67 Abs, DT_INT64, DT_INT64, test::NearZeroAndExtremeInput<int64>(), std::abs,
|
D | gpu_op_abs.cc | 21 GENERATE_AND_REGISTER_UNARY_GPU_KERNEL(Abs, DT_HALF); 22 GENERATE_AND_REGISTER_UNARY_GPU_KERNEL(Abs, DT_FLOAT); 23 GENERATE_AND_REGISTER_UNARY_GPU_KERNEL(Abs, DT_DOUBLE); 25 GENERATE_AND_REGISTER_UNARY_GPU_KERNEL(Abs, DT_INT64);
|
/external/libyuv/files/unit_test/ |
D | scale_argb_test.cc | 41 (Abs(src_width) + b * 2) * (Abs(src_height) + b * 2) * 4LL; in ARGBTestFilter() 42 int src_stride_argb = (b * 2 + Abs(src_width)) * 4; in ARGBTestFilter() 103 int abs_diff = Abs(dst_argb_c[(i * dst_stride_argb) + j] - in ARGBTestFilter() 162 (Abs(src_width) + b * 2) * (Abs(src_height) + b * 2) * 4; in ARGBClipTestFilter() 163 int src_stride_argb = (b * 2 + Abs(src_width)) * 4; in ARGBClipTestFilter() 176 for (i = b; i < (Abs(src_height) + b); ++i) { in ARGBClipTestFilter() 177 for (j = b; j < (Abs(src_width) + b) * 4; ++j) { in ARGBClipTestFilter() 216 int abs_diff = Abs(dst_argb_c[(i * dst_stride_argb) + j] - in ARGBClipTestFilter() 232 #define DX(x, nom, denom) static_cast<int>((Abs(x) / nom) * nom) 279 int diff = ARGBTestFilter(width, height, Abs(benchmark_width_), \ [all …]
|
D | scale_test.cc | 38 int src_width_uv = (Abs(src_width) + 1) >> 1; in I420TestFilter() 39 int src_height_uv = (Abs(src_height) + 1) >> 1; in I420TestFilter() 41 int64_t src_y_plane_size = (Abs(src_width)) * (Abs(src_height)); in I420TestFilter() 44 int src_stride_y = Abs(src_width); in I420TestFilter() 106 int abs_diff = Abs(dst_y_c[(i * dst_stride_y) + j] - in I420TestFilter() 116 int abs_diff = Abs(dst_u_c[(i * dst_stride_uv) + j] - in I420TestFilter() 121 abs_diff = Abs(dst_v_c[(i * dst_stride_uv) + j] - in I420TestFilter() 157 int src_width_uv = (Abs(src_width) + 1) >> 1; in I420TestFilter_16() 158 int src_height_uv = (Abs(src_height) + 1) >> 1; in I420TestFilter_16() 160 int64_t src_y_plane_size = (Abs(src_width)) * (Abs(src_height)); in I420TestFilter_16() [all …]
|
D | unit_test.cc | 187 static_cast<int>((static_cast<double>(Abs(benchmark_width_)) * in LibYUVConvertTest() 188 static_cast<double>(Abs(benchmark_height_)) * in LibYUVConvertTest() 243 static_cast<int>((static_cast<double>(Abs(benchmark_width_)) * in LibYUVColorTest() 244 static_cast<double>(Abs(benchmark_height_)) * in LibYUVColorTest() 299 static_cast<int>((static_cast<double>(Abs(benchmark_width_)) * in LibYUVScaleTest() 300 static_cast<double>(Abs(benchmark_height_)) * in LibYUVScaleTest() 355 static_cast<int>((static_cast<double>(Abs(benchmark_width_)) * in LibYUVRotateTest() 356 static_cast<double>(Abs(benchmark_height_)) * in LibYUVRotateTest() 411 static_cast<int>((static_cast<double>(Abs(benchmark_width_)) * in LibYUVPlanarTest() 412 static_cast<double>(Abs(benchmark_height_)) * in LibYUVPlanarTest() [all …]
|
D | rotate_test.cc | 39 int src_i420_y_size = src_width * Abs(src_height); in I420TestRotate() 40 int src_i420_uv_size = ((src_width + 1) / 2) * ((Abs(src_height) + 1) / 2); in I420TestRotate() 158 int src_i444_y_size = src_width * Abs(src_height); in I444TestRotate() 159 int src_i444_uv_size = src_width * Abs(src_height); in I444TestRotate() 275 int src_nv12_y_size = src_width * Abs(src_height); in NV12TestRotate() 277 ((src_width + 1) / 2) * ((Abs(src_height) + 1) / 2) * 2; in NV12TestRotate()
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | unary_op_test.cc | 42 Abs(arg); in AbsSize0TestHelper() 55 Abs(arg); in AbsTestHelper() 77 auto abs = Abs(arg); in SignAbsTestHelper() 103 Abs(arg); in AbsTestHelper() 129 auto abs = Abs(arg); in SignAbsTestHelper() 151 auto absi = Abs(argi); in XLA_TEST_F() 153 auto absf = Abs(argf); in XLA_TEST_F() 155 auto absf0 = Abs(argf0); in XLA_TEST_F() 157 auto absc = Abs(argc); in XLA_TEST_F() 197 auto abs = Abs(arg); in XLA_TEST_F()
|
/external/libyuv/files/util/ |
D | yuvconvert.cc | 40 static __inline uint32_t Abs(int32_t v) { in Abs() function 153 dst_width = Abs(image_width); in ParseOptions() 154 dst_height = Abs(image_height); in ParseOptions() 225 int org_size = Abs(image_width) * Abs(image_height) * 4; // ARGB in main() 228 const int y_size = Abs(image_width) * Abs(image_height); in main() 230 ((Abs(image_width) + 1) / 2) * ((Abs(image_height) + 1) / 2); in main() 293 int src_width = Abs(image_width); in main() 294 int src_height = Abs(image_height); in main() 308 TileARGBScale(ch_org, Abs(image_width) * 4, image_width, image_height, in main()
|
/external/tensorflow/tensorflow/lite/delegates/xnnpack/ |
D | abs_test.cc | 28 TEST(Abs, 4D) { 47 TEST(Abs, 3D) { 65 TEST(Abs, 2D) { 82 TEST(Abs, 1D) { 97 TEST(Abs, MultiThreading) { in TEST() argument
|
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/ |
D | Abs.pbtxt | 2 name: "Abs" 26 name: "Abs" 51 name: "Abs" 76 name: "Abs"
|
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/ |
D | Abs.pbtxt | 2 name: "Abs" 26 name: "Abs" 51 name: "Abs" 76 name: "Abs"
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | scoped_allocator_optimizer_test.cc | 103 Output a1 = ops::Abs(s.WithOpName("a1"), int1); in BuildAbsGraph() 104 Output a2 = ops::Abs(s.WithOpName("a2"), int2); in BuildAbsGraph() 144 Output a1 = ops::Abs(s.WithOpName("a1"), a); in BuildAbsGraphWithInputDependencies() 145 Output a2 = ops::Abs(s.WithOpName("a2"), b); in BuildAbsGraphWithInputDependencies() 146 Output a3 = ops::Abs(s.WithOpName("a3"), s1); in BuildAbsGraphWithInputDependencies() 180 Output a1 = ops::Abs(s.WithOpName("a1").WithControlDependencies({ctl1}), a); in BuildAbsGraphWithInputAndOutputControlEdges() 181 Output a2 = ops::Abs(s.WithOpName("a2").WithControlDependencies({ctl2}), b); in BuildAbsGraphWithInputAndOutputControlEdges() 226 Output a1 = ops::Abs(root_scope.WithOpName("a1"), s1); in BuildGraphWithMultipleScopes() 227 Output a2 = ops::Abs(root_scope.WithOpName("a2"), s2); in BuildGraphWithMultipleScopes() 234 Output a3 = ops::Abs(sub_scope.WithOpName("a3"), s3); in BuildGraphWithMultipleScopes() [all …]
|
/external/oboe/samples/RhythmGame/third_party/glm/gtx/ |
D | wrap.inl | 45 vecType<T, P> const Abs = glm::abs(Texcoord); local 46 vecType<T, P> const Clamp = glm::mod(glm::floor(Abs), vecType<T, P>(2)); 47 vecType<T, P> const Floor = glm::floor(Abs); 48 vecType<T, P> const Rest = Abs - Floor;
|
/external/tensorflow/tensorflow/core/api_def/java_api/ |
D | api_def_Abs.pbtxt | 2 graph_op_name: "Abs" 4 name: "math.Abs"
|
/external/eigen/unsupported/Eigen/src/EulerAngles/ |
D | EulerSystem.h | 23 struct Abs struct 29 struct Abs<Num, false> argument 37 enum { value = Axis != 0 && Abs<Axis>::value <= 3 }; 137 AlphaAxisAbs = internal::Abs<AlphaAxis>::value, /*!< the first rotation axis unsigned */ 138 BetaAxisAbs = internal::Abs<BetaAxis>::value, /*!< the second rotation axis unsigned */ 139 GammaAxisAbs = internal::Abs<GammaAxis>::value, /*!< the third rotation axis unsigned */
|
/external/protobuf/src/google/protobuf/stubs/ |
D | mathutil.h | 90 static T Abs(const T x) { in Abs() function 132 T relative_margin = static_cast<T>(fraction * Max(Abs(x), Abs(y))); in WithinFractionOrMargin()
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | unary_ops.cc | 48 XLAJIT_MAKE_UNARY(ComplexAbs, xla::Abs(x)); 55 XLAJIT_MAKE_UNARY(Abs, xla::Abs(x)); 116 XLAJIT_MAKE_UNARY(Softsign, x / (xla::Abs(x) + xla::ScalarLike(x, 1.0)));
|
/external/llvm-project/clang/test/CXX/drs/ |
D | dr6xx.cpp | 646 struct Abs { virtual void x() = 0; }; struct 647 struct Der : public Abs { virtual void x(); }; 652 void foo(Abs &a); 653 void f(Abs *a) { foo(*a); } in f() 655 void bar(Abs &a); 657 void g(Abs *a) { bar(*a); } in g() 663 struct C { C(Abs) {} }; in C() 665 struct Q { operator Abs() { __builtin_unreachable(); } } q; in operator Abs() 668 C c = Q().operator Abs(); 674 void baz(Abs &a); [all …]
|
/external/llvm-project/llvm/lib/DebugInfo/PDB/ |
D | UDTLayout.cpp | 118 uint32_t Abs = LayoutItemBase::tailPadding(); in tailPadding() local 122 if (Abs < ChildPadding) in tailPadding() 123 Abs = 0; in tailPadding() 125 Abs -= ChildPadding; in tailPadding() 127 return Abs; in tailPadding()
|
/external/llvm-project/polly/lib/Support/ |
D | GICHelper.cpp | 21 APInt Abs; in isl_valFromAPInt() local 36 Abs = Int.sext(Int.getBitWidth() + 1).abs(); in isl_valFromAPInt() 38 Abs = Int; in isl_valFromAPInt() 40 const uint64_t *Data = Abs.getRawData(); in isl_valFromAPInt() 41 unsigned Words = Abs.getNumWords(); in isl_valFromAPInt()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/ |
D | UDTLayout.cpp | 118 uint32_t Abs = LayoutItemBase::tailPadding(); in tailPadding() local 122 if (Abs < ChildPadding) in tailPadding() 123 Abs = 0; in tailPadding() 125 Abs -= ChildPadding; in tailPadding() 127 return Abs; in tailPadding()
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
D | math.cc | 125 return IsPosInf(Abs(operand)); in IsInf() 189 XlaOp abs_x = Abs(x); in ErfcImpl32() 247 XlaOp abs_x = Abs(x); in ErfcImpl64() 287 return Select(Gt(Abs(x), ScalarLike(x, 1)), ErfcImpl64(x), in Erfc() 293 return Select(Gt(Abs(x), ScalarLike(x, 1)), ErfcImpl32(x), in Erfc() 328 return Select(Lt(Abs(x), ScalarLike(x, 1)), ErfImpl64(x), in Erf() 387 return Select(Eq(Abs(x), ScalarLike(x, 1)), in ErfInv32() 467 return Select(Eq(Abs(x), ScalarLike(x, 1)), in ErfInv64() 584 XlaOp abs_input = Abs(input); in Lgamma() 692 XlaOp reduced_input = input + Abs(Floor(input + ScalarLike(input, 0.5))); in Digamma() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | instruction_fusion_test.cc | 88 EXPECT_THAT(fusion->fused_expression_root(), op::Add(op::Abs(), op::Abs())) in TEST_F() 109 EXPECT_THAT(fusion->fused_expression_root(), op::Tuple(op::Tanh(), op::Abs())) in TEST_F() 200 op::Subtract(op::Abs(op::Parameter()), op::Parameter())) in TEST_F() 392 op::Subtract(op::Abs(op::Parameter()), in TEST_F()
|