Home
last modified time | relevance | path

Searched refs:Div (Results 1 – 25 of 392) sorted by relevance

12345678910>>...16

/external/tensorflow/tensorflow/core/kernels/mlir_generated/
Dgpu_op_div.cc21 GENERATE_AND_REGISTER_BINARY_GPU_KERNEL(Div, DT_HALF);
22 GENERATE_AND_REGISTER_BINARY_GPU_KERNEL(Div, DT_FLOAT);
23 GENERATE_AND_REGISTER_BINARY_GPU_KERNEL(Div, DT_DOUBLE);
24 GENERATE_AND_REGISTER_BINARY_GPU_KERNEL(Div, DT_INT16);
25 GENERATE_AND_REGISTER_BINARY_GPU_KERNEL(Div, DT_INT64);
26 GENERATE_AND_REGISTER_BINARY_GPU_KERNEL(Div, DT_UINT8);
27 GENERATE_AND_REGISTER_BINARY_GPU_KERNEL(Div, DT_UINT16);
28 GENERATE_AND_REGISTER_BINARY_GPU_KERNEL(Div, DT_COMPLEX64);
29 GENERATE_AND_REGISTER_BINARY_GPU_KERNEL(Div, DT_COMPLEX128);
32 GENERATE_AND_REGISTER_BINARY_JIT_GPU_KERNEL(Div, DT_INT8);
[all …]
/external/XNNPACK/test/
Df32-vdiv-minmax.cc26 ….Test(xnn_f32_vdiv_minmax_ukernel__neon_x4, VBinaryMicrokernelTester::OpType::Div, xnn_init_f32_mi… in TEST()
34 ….Test(xnn_f32_vdiv_minmax_ukernel__neon_x4, VBinaryMicrokernelTester::OpType::Div, xnn_init_f32_mi… in TEST()
43 ….Test(xnn_f32_vdiv_minmax_ukernel__neon_x4, VBinaryMicrokernelTester::OpType::Div, xnn_init_f32_mi… in TEST()
52 ….Test(xnn_f32_vdiv_minmax_ukernel__neon_x4, VBinaryMicrokernelTester::OpType::Div, xnn_init_f32_mi… in TEST()
62 ….Test(xnn_f32_vdiv_minmax_ukernel__neon_x4, VBinaryMicrokernelTester::OpType::Div, xnn_init_f32_mi… in TEST()
72 ….Test(xnn_f32_vdiv_minmax_ukernel__neon_x4, VBinaryMicrokernelTester::OpType::Div, xnn_init_f32_mi… in TEST()
83 ….Test(xnn_f32_vdiv_minmax_ukernel__neon_x4, VBinaryMicrokernelTester::OpType::Div, xnn_init_f32_mi… in TEST()
93 ….Test(xnn_f32_vdiv_minmax_ukernel__neon_x4, VBinaryMicrokernelTester::OpType::Div, xnn_init_f32_mi… in TEST()
103 ….Test(xnn_f32_vdiv_minmax_ukernel__neon_x4, VBinaryMicrokernelTester::OpType::Div, xnn_init_f32_mi… in TEST()
114 ….Test(xnn_f32_vdiv_minmax_ukernel__neon_x8, VBinaryMicrokernelTester::OpType::Div, xnn_init_f32_mi… in TEST()
[all …]
Df32-vdiv-relu.cc25 .Test(xnn_f32_vdiv_relu_ukernel__wasmsimd_x4, VBinaryMicrokernelTester::OpType::Div); in TEST()
32 .Test(xnn_f32_vdiv_relu_ukernel__wasmsimd_x4, VBinaryMicrokernelTester::OpType::Div); in TEST()
40 .Test(xnn_f32_vdiv_relu_ukernel__wasmsimd_x4, VBinaryMicrokernelTester::OpType::Div); in TEST()
48 .Test(xnn_f32_vdiv_relu_ukernel__wasmsimd_x4, VBinaryMicrokernelTester::OpType::Div); in TEST()
57 .Test(xnn_f32_vdiv_relu_ukernel__wasmsimd_x4, VBinaryMicrokernelTester::OpType::Div); in TEST()
66 .Test(xnn_f32_vdiv_relu_ukernel__wasmsimd_x4, VBinaryMicrokernelTester::OpType::Div); in TEST()
76 .Test(xnn_f32_vdiv_relu_ukernel__wasmsimd_x4, VBinaryMicrokernelTester::OpType::Div); in TEST()
86 .Test(xnn_f32_vdiv_relu_ukernel__wasmsimd_x8, VBinaryMicrokernelTester::OpType::Div); in TEST()
93 .Test(xnn_f32_vdiv_relu_ukernel__wasmsimd_x8, VBinaryMicrokernelTester::OpType::Div); in TEST()
101 .Test(xnn_f32_vdiv_relu_ukernel__wasmsimd_x8, VBinaryMicrokernelTester::OpType::Div); in TEST()
[all …]
Df32-vdiv.cc25 .Test(xnn_f32_vdiv_ukernel__wasmsimd_x4, VBinaryMicrokernelTester::OpType::Div); in TEST()
32 .Test(xnn_f32_vdiv_ukernel__wasmsimd_x4, VBinaryMicrokernelTester::OpType::Div); in TEST()
40 .Test(xnn_f32_vdiv_ukernel__wasmsimd_x4, VBinaryMicrokernelTester::OpType::Div); in TEST()
48 .Test(xnn_f32_vdiv_ukernel__wasmsimd_x4, VBinaryMicrokernelTester::OpType::Div); in TEST()
57 .Test(xnn_f32_vdiv_ukernel__wasmsimd_x4, VBinaryMicrokernelTester::OpType::Div); in TEST()
66 .Test(xnn_f32_vdiv_ukernel__wasmsimd_x4, VBinaryMicrokernelTester::OpType::Div); in TEST()
76 .Test(xnn_f32_vdiv_ukernel__wasmsimd_x4, VBinaryMicrokernelTester::OpType::Div); in TEST()
86 .Test(xnn_f32_vdiv_ukernel__wasmsimd_x8, VBinaryMicrokernelTester::OpType::Div); in TEST()
93 .Test(xnn_f32_vdiv_ukernel__wasmsimd_x8, VBinaryMicrokernelTester::OpType::Div); in TEST()
101 .Test(xnn_f32_vdiv_ukernel__wasmsimd_x8, VBinaryMicrokernelTester::OpType::Div); in TEST()
[all …]
Df16-vdiv-minmax.cc26 ….Test(xnn_f16_vdiv_minmax_ukernel__neonfp16arith_x8, VBinaryMicrokernelTester::OpType::Div, xnn_in… in TEST()
34 ….Test(xnn_f16_vdiv_minmax_ukernel__neonfp16arith_x8, VBinaryMicrokernelTester::OpType::Div, xnn_in… in TEST()
43 ….Test(xnn_f16_vdiv_minmax_ukernel__neonfp16arith_x8, VBinaryMicrokernelTester::OpType::Div, xnn_in… in TEST()
52 ….Test(xnn_f16_vdiv_minmax_ukernel__neonfp16arith_x8, VBinaryMicrokernelTester::OpType::Div, xnn_in… in TEST()
62 ….Test(xnn_f16_vdiv_minmax_ukernel__neonfp16arith_x8, VBinaryMicrokernelTester::OpType::Div, xnn_in… in TEST()
72 ….Test(xnn_f16_vdiv_minmax_ukernel__neonfp16arith_x8, VBinaryMicrokernelTester::OpType::Div, xnn_in… in TEST()
83 ….Test(xnn_f16_vdiv_minmax_ukernel__neonfp16arith_x8, VBinaryMicrokernelTester::OpType::Div, xnn_in… in TEST()
93 ….Test(xnn_f16_vdiv_minmax_ukernel__neonfp16arith_x8, VBinaryMicrokernelTester::OpType::Div, xnn_in… in TEST()
103 ….Test(xnn_f16_vdiv_minmax_ukernel__neonfp16arith_x8, VBinaryMicrokernelTester::OpType::Div, xnn_in… in TEST()
114 ….Test(xnn_f16_vdiv_minmax_ukernel__neonfp16arith_x16, VBinaryMicrokernelTester::OpType::Div, xnn_i… in TEST()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp433 bool llvm::expandDivision(BinaryOperator *Div) { in expandDivision() argument
434 assert((Div->getOpcode() == Instruction::SDiv || in expandDivision()
435 Div->getOpcode() == Instruction::UDiv) && in expandDivision()
438 IRBuilder<> Builder(Div); in expandDivision()
440 assert(!Div->getType()->isVectorTy() && "Div over vectors not supported"); in expandDivision()
441 assert((Div->getType()->getIntegerBitWidth() == 32 || in expandDivision()
442 Div->getType()->getIntegerBitWidth() == 64) && in expandDivision()
446 if (Div->getOpcode() == Instruction::SDiv) { in expandDivision()
448 Value *Quotient = generateSignedDivisionCode(Div->getOperand(0), in expandDivision()
449 Div->getOperand(1), Builder); in expandDivision()
[all …]
/external/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp434 bool llvm::expandDivision(BinaryOperator *Div) { in expandDivision() argument
435 assert((Div->getOpcode() == Instruction::SDiv || in expandDivision()
436 Div->getOpcode() == Instruction::UDiv) && in expandDivision()
439 IRBuilder<> Builder(Div); in expandDivision()
441 assert(!Div->getType()->isVectorTy() && "Div over vectors not supported"); in expandDivision()
442 assert((Div->getType()->getIntegerBitWidth() == 32 || in expandDivision()
443 Div->getType()->getIntegerBitWidth() == 64) && in expandDivision()
447 if (Div->getOpcode() == Instruction::SDiv) { in expandDivision()
449 Value *Quotient = generateSignedDivisionCode(Div->getOperand(0), in expandDivision()
450 Div->getOperand(1), Builder); in expandDivision()
[all …]
/external/rust/crates/num-bigint/src/bigint/
Ddivision.rs7 use core::ops::{Div, DivAssign, Rem, RemAssign};
11 forward_all_binop_to_ref_ref!(impl Div for BigInt, div);
13 impl<'a, 'b> Div<&'b BigInt> for &'a BigInt { impl
31 promote_all_scalars!(impl Div for BigInt, div);
33 forward_all_scalar_binop_to_val_val!(impl Div<u32> for BigInt, div);
34 forward_all_scalar_binop_to_val_val!(impl Div<u64> for BigInt, div);
35 forward_all_scalar_binop_to_val_val!(impl Div<u128> for BigInt, div);
37 impl Div<u32> for BigInt {
56 impl Div<BigInt> for u32 {
65 impl Div<u64> for BigInt {
[all …]
/external/tensorflow/tensorflow/lite/delegates/xnnpack/
Ddiv_test.cc28 TEST(Div, 4DBy4D) {
48 TEST(Div, 4DBy4DBroadcastChannels) {
73 TEST(Div, 4DBy4DBroadcastWidth) {
98 TEST(Div, 4DBy4DBroadcastHeight) {
123 TEST(Div, 4DBy4DBroadcastBatch) {
148 TEST(Div, 4DBy4DBroadcastHeightWidthChannels) {
173 TEST(Div, 4DBy3D) {
198 TEST(Div, 4DBy2D) {
223 TEST(Div, 4DBy1D) {
248 TEST(Div, 4DBy0D) {
[all …]
/external/grpc-grpc/src/php/tests/generated_code/
DAbstractGeneratedCodeTest.php62 $call = self::$client->Div($div_arg);
71 $call = self::$client->Div($div_arg, [' ' => 'abc123']);
77 $call = self::$client->Div($div_arg);
84 $call = self::$client->Div($div_arg, [], ['timeout' => 1]);
92 $call = self::$client->Div($div_arg);
101 $call = self::$client->Div($div_arg, array(), array(
114 $call = self::$client->Div($div_arg);
160 $call = self::$client->Div($div_arg, [],
208 $call = self::$client->Div($div_arg);
/external/llvm/unittests/Transforms/Utils/
DIntegerDivision.cpp41 Value *Div = Builder.CreateSDiv(A, B); in TEST() local
44 Value *Ret = Builder.CreateRet(Div); in TEST()
46 expandDivision(cast<BinaryOperator>(Div)); in TEST()
71 Value *Div = Builder.CreateUDiv(A, B); in TEST() local
74 Value *Ret = Builder.CreateRet(Div); in TEST()
76 expandDivision(cast<BinaryOperator>(Div)); in TEST()
162 Value *Div = Builder.CreateSDiv(A, B); in TEST() local
165 Value *Ret = Builder.CreateRet(Div); in TEST()
167 expandDivision(cast<BinaryOperator>(Div)); in TEST()
192 Value *Div = Builder.CreateUDiv(A, B); in TEST() local
[all …]
/external/rust/crates/num-bigint/src/biguint/
Ddivision.rs11 use core::ops::{Div, DivAssign, Rem, RemAssign};
303 forward_val_ref_binop!(impl Div for BigUint, div);
304 forward_ref_val_binop!(impl Div for BigUint, div);
307 impl Div<BigUint> for BigUint {
317 impl<'a, 'b> Div<&'b BigUint> for &'a BigUint { impl
333 promote_unsigned_scalars!(impl Div for BigUint, div);
335 forward_all_scalar_binop_to_val_val!(impl Div<u32> for BigUint, div);
336 forward_all_scalar_binop_to_val_val!(impl Div<u64> for BigUint, div);
337 forward_all_scalar_binop_to_val_val!(impl Div<u128> for BigUint, div);
339 impl Div<u32> for BigUint {
[all …]
/external/rust/crates/derive-getters/tests/
D03-simple-multi-generic.rs1 use std::ops::Div;
27 struct InvolvedMultiGeneric<T: Eq + Ord, U: Div, V: Clone> {
34 impl <T: Eq + Ord, U: Div, V: Clone> InvolvedMultiGeneric<T, U, V> {
44 U: Div,
55 U: Div,
/external/tensorflow/tensorflow/core/transforms/constant_folding/tests/
Dconstant_pushdown_31.mlir12 …%Div, %ctl_3 = Div(%Placeholder, %Const) name("child") {T = f32} : (tensor<2x2xf32>, tensor<2xf32>…
14 …%Div_4, %ctl_5 = Div(%Div, %Const_0) name("parent") {T = f32} : (tensor<2x2xf32>, tensor<2xf32>) -…
Dstrength_reduce_reciprocal.mlir12 …%Div, %ctl_7 = Div(%Placeholder_1, %Const_3) name("div_i") {T = i32} : (tensor<2x2xi32>, tensor<1x…
13 %Identity, %ctl_11 = Identity(%Div) name("i1") {T = f32} : (tensor<*xi32>) -> (tensor<*xf32>)
16 …%Div_8, %ctl_9 = Div(%Placeholder, %Const_5) name("div_f") {T = f32} : (tensor<2x2xf32>, tensor<1x…
Dconstant_pushdown_23.mlir11 …%Div, %ctl_3 = Div(%Placeholder, %Const) device("/job:localhost/replica:0/task:0/device:CPU:0") na…
13 …%Mul, %ctl_4 = Mul(%Div, %Const_0) device("/job:localhost/replica:0/task:0/device:CPU:0") name("pa…
15 …%Div_1, %ctl_5 = Div(%Placeholder, %Const) device("/job:localhost/replica:0/task:0/device:CPU:0") …
/external/rust/crates/nom/tests/
Darithmetic_ast.rs21 Div(Box<Expr>, Box<Expr>), enumerator
30 Div, enumerator
41 Div(ref left, ref right) => write!(format, "{} / {}", left, right), in fmt()
55 Div(ref left, ref right) => write!(format, "({:?} / {:?})", left, right), in fmt()
86 Oper::Div => Expr::Div(Box::new(acc), Box::new(expr)), in fold_exprs()
100 Ok((i, (Oper::Div, div))) in term()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DIntegerDivision.h41 bool expandDivision(BinaryOperator* Div);
62 bool expandDivisionUpTo32Bits(BinaryOperator *Div);
68 bool expandDivisionUpTo64Bits(BinaryOperator *Div);
/external/llvm/include/llvm/Transforms/Utils/
DIntegerDivision.h42 bool expandDivision(BinaryOperator* Div);
63 bool expandDivisionUpTo32Bits(BinaryOperator *Div);
69 bool expandDivisionUpTo64Bits(BinaryOperator *Div);
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dbinary_ops.cc63 XLA_MAKE_BINARY(Div, xla::Div(lhs, rhs, extend_dimensions));
80 auto result = xla::Select(y_equals_0, zeros, xla::Div(x, y)); in DivNoNanImpl()
123 xla::Floor(xla::Div(xla::ConvertElementType(x, xla::F32), in FloorDivImpl()
127 return xla::Floor(xla::Div(x, y)); in FloorDivImpl()
131 return xla::Div(x, y); in FloorDivImpl()
135 auto x_div_y = xla::Div(x, y); in FloorDivImpl()
167 return xla::Select(is_zero, zero, xla::Div(x, y)); in XdivyImpl()
203 XLA_MAKE_BINARY(RealDiv, xla::Div(lhs, rhs, extend_dimensions));
208 xla::Div(rhs, XlaHelpers::IntegerLiteral(b, input_type(0), -2)),
212 xla::Div(xla::Mul(rhs, XlaHelpers::FloatLiteral(b, input_type(0), 0.5)),
[all …]
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DDiv.pbtxt2 name: "Div"
36 name: "Div"
71 name: "Div"
106 name: "Div"
/external/openthread/third_party/jlink/SEGGER_RTT_V640/RTT/
DSEGGER_RTT_printf.c144 unsigned Div; in _PrintUnsigned() local
192 Div = v / Digit; in _PrintUnsigned()
193 …if (Div < Base) { // Is our divider big enough to extract the highest digit from value? => … in _PrintUnsigned()
203 Div = v / Digit; in _PrintUnsigned()
204 v -= Div * Digit; in _PrintUnsigned()
205 _StoreChar(pBufferDesc, _aV2C[Div]); in _PrintUnsigned()
/external/rust/crates/num-bigint/benches/
Dfactorial.rs7 use std::ops::{Div, Mul};
34 .fold(n.clone(), Div::div) in factorial_div_biguint()
41 b.iter(|| (1u32..1000).rev().fold(n.clone(), Div::div)); in factorial_div_u32()
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/
Ddisable_flex.mlir3 // CHECK: error: 'tf.Div' op is neither a custom op nor a flex op
6 // CHECK: tf.Div(tensor<4xf32>, tensor<4xf32>) -> (tensor<4xf32>) : {name = "div"}
13 %2 = "tf.Div"(%1, %0) {name = "div"} : (tensor<4xf32>, tensor<4xf32>) -> tensor<4xf32>
/external/grpc-grpc/src/csharp/Grpc.Examples.Tests/
DMathClientMockableTest.cs39 …mockClient.Setup(m => m.Div(Moq.It.IsAny<DivArgs>(), null, null, CancellationToken.None)).Returns(… in ClientBaseBlockingUnaryCallCanBeMocked()
40 Assert.AreSame(expected, mockClient.Object.Div(new DivArgs())); in ClientBaseBlockingUnaryCallCanBeMocked()
49 …mockClient.Setup(m => m.Div(Moq.It.IsAny<DivArgs>(), Moq.It.IsAny<CallOptions>())).Returns(expecte… in ClientBaseBlockingUnaryCallWithCallOptionsCallCanBeMocked()
50 Assert.AreSame(expected, mockClient.Object.Div(new DivArgs(), new CallOptions())); in ClientBaseBlockingUnaryCallWithCallOptionsCallCanBeMocked()

12345678910>>...16