| /external/pytorch/torch/distributed/tensor/examples/ |
| D | comm_mode_features_example.py | 305 **aten.detach.default 309 **aten.detach.default 310 **aten.detach.default 311 **aten.detach.default 315 **aten.detach.default 316 **aten.detach.default 317 **aten.detach.default 321 **aten.detach.default 322 **aten.detach.default 323 **aten.detach.default [all …]
|
| /external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
| D | sockopt_multi.c | 70 goto detach; in run_getsockopt_test() 78 goto detach; in run_getsockopt_test() 84 goto detach; in run_getsockopt_test() 94 goto detach; in run_getsockopt_test() 101 goto detach; in run_getsockopt_test() 107 goto detach; in run_getsockopt_test() 118 goto detach; in run_getsockopt_test() 125 goto detach; in run_getsockopt_test() 131 goto detach; in run_getsockopt_test() 144 goto detach; in run_getsockopt_test() [all …]
|
| /external/skia/gm/ |
| D | convexpaths.cpp | 64 .detach()); in makePaths() 69 .detach()); in makePaths() 97 fPaths.push_back(b.detach()); in makePaths() 103 .detach()); in makePaths() 106 fPaths.push_back(b.cubicTo( 1, 1, 10, 90, 0, 100).detach()); in makePaths() 107 fPaths.push_back(b.cubicTo(100, 50, 20, 100, 0, 0).detach()); in makePaths() 115 .detach()); in makePaths() 122 .detach()); in makePaths() 129 .detach()); in makePaths() 134 .detach()); in makePaths() [all …]
|
| D | hairlines.cpp | 43 fPaths.push_back(lineAngles.detach()); in onOnceBeforeDraw() 48 .detach()); in onOnceBeforeDraw() 52 .detach()); in onOnceBeforeDraw() 56 .detach()); in onOnceBeforeDraw() 60 .detach()); in onOnceBeforeDraw() 64 .detach()); in onOnceBeforeDraw() 68 .detach()); in onOnceBeforeDraw() 72 .detach()); in onOnceBeforeDraw() 80 .detach()); in onOnceBeforeDraw() 91 .detach()); in onOnceBeforeDraw() [all …]
|
| D | collapsepaths.cpp | 25 canvas->drawPath(path.detach(), paint); in test_collapse1() 37 canvas->drawPath(path.detach(), paint); in test_collapse2() 49 canvas->drawPath(path.detach(), paint); in test_collapse3() 61 canvas->drawPath(path.detach(), paint); in test_collapse4() 74 canvas->drawPath(path.detach(), paint); in test_collapse5() 87 canvas->drawPath(path.detach(), paint); in test_collapse6() 100 canvas->drawPath(path.detach(), paint); in test_collapse7() 113 canvas->drawPath(path.detach(), paint); in test_collapse8() 129 canvas->drawPath(path.detach(), paint); in test_collapse9() 141 canvas->drawPath(path.detach(), paint); in test_collapse10()
|
| D | concavepaths.cpp | 85 .detach(); in test_fast_forward() 96 .detach(); in test_hole() 157 .detach(); in test_partners() 176 canvas->drawPath(path.detach(), paint); in test_winding_merged_to_zero() 188 canvas->drawPath(path.detach(), paint); in test_monotone_1() 200 canvas->drawPath(path.detach(), paint); in test_monotone_2() 212 canvas->drawPath(path.detach(), paint); in test_monotone_3() 227 canvas->drawPath(path.detach(), paint); in test_monotone_4() 240 canvas->drawPath(path.detach(), paint); in test_monotone_5() 254 canvas->drawPath(path.detach(), paint); in test_degenerate() [all …]
|
| /external/pytorch/test/dynamo/ |
| D | test_recompiles.py | 178 x.clone().detach(), y.clone().detach(), z.clone().detach() 180 eager_result = foo(x.clone().detach(), y.clone().detach(), z.clone().detach()) 185 z.clone().detach(), y.clone().detach(), x.clone().detach() 187 eager_result = foo(z.clone().detach(), y.clone().detach(), x.clone().detach()) 192 x_clone = x.clone().detach() 193 cmp_result = compiled_foo(x_clone, y.clone().detach(), x_clone) 194 x_clone = x.clone().detach() 195 eager_result = compiled_foo(x_clone, y.clone().detach(), x_clone) 212 cmp_result = compiled_foo(z.clone().detach()) 213 eager_result = foo(z.clone().detach()) [all …]
|
| /external/javassist/src/test/javassist/ |
| D | ClassPoolBench.java | 8 static boolean mod = false, detach = false, readonly = false; field in ClassPoolBench 17 if (detach) in accessClass() 23 if (detach) in accessClass() 24 cc.detach(); in accessClass() 49 else if (args[1].equals("detach")) in main() 50 mod = detach = true; in main() 54 System.err.println("mod: " + mod + " detach: " + detach in main()
|
| /external/pytorch/test/lazy/ |
| D | test_reuse_ir.py | 32 x_lazy = x.detach().clone().to(device=device) 33 y_lazy = y.detach().clone().to(device=device) 34 z_lazy = z.detach().clone().to(device=device) 55 x_lazy = x.detach().clone().to(device=device) 56 y_lazy = y.detach().clone().to(device=device) 57 z_lazy = z.detach().clone().to(device=device) 85 x_lazy = x.detach().clone().to(device=device) 86 y_lazy = y.detach().clone().to(device=device) 87 z_lazy = z.detach().clone().to(device=device) 125 x_lazy = x.detach().clone().to(device=device) [all …]
|
| /external/skia/tests/ |
| D | IsClosedSingleContourTest.cpp | 13 REPORTER_ASSERT(reporter, !SkPathPriv::IsClosedSingleContour(p.detach())); in DEF_TEST() 16 REPORTER_ASSERT(reporter, !SkPathPriv::IsClosedSingleContour(p.detach())); in DEF_TEST() 20 REPORTER_ASSERT(reporter, SkPathPriv::IsClosedSingleContour(p.detach())); in DEF_TEST() 25 REPORTER_ASSERT(reporter, SkPathPriv::IsClosedSingleContour(p.detach())); in DEF_TEST() 33 REPORTER_ASSERT(reporter, SkPathPriv::IsClosedSingleContour(p.detach())); in DEF_TEST() 38 REPORTER_ASSERT(reporter, !SkPathPriv::IsClosedSingleContour(p.detach())); in DEF_TEST() 45 REPORTER_ASSERT(reporter, !SkPathPriv::IsClosedSingleContour(p.detach())); in DEF_TEST() 52 REPORTER_ASSERT(reporter, !SkPathPriv::IsClosedSingleContour(p.detach())); in DEF_TEST()
|
| D | PathBuilderTest.cpp | 36 is_empty(reporter, b.detach()); in DEF_TEST() 42 SkPath p2 = b.detach(); in DEF_TEST() 56 is_empty(reporter, b.detach()); in DEF_TEST() 68 for (const SkPath& path : { b.snapshot(), b.detach() }) { in DEF_TEST() 135 auto bp = b.detach(); in DEF_TEST() 200 auto bp = SkPathBuilder().addOval(r, dir, i).detach(); in DEF_TEST() 205 auto bp = SkPathBuilder().addOval(r, dir).detach(); in DEF_TEST() 211 bp = SkPathBuilder().addOval(r, dir).lineTo(10, 10).detach(); in DEF_TEST() 213 bp = SkPathBuilder().lineTo(10, 10).addOval(r, dir).detach(); in DEF_TEST() 225 auto bp = b.detach(); in DEF_TEST() [all …]
|
| /external/libopus/dnn/torch/weight-exchange/wexchange/torch/ |
| D | torch.py | 51 w_kernel = adaconv.conv_kernel.weight.detach().cpu().numpy().copy() 52 b_kernel = adaconv.conv_kernel.bias.detach().cpu().numpy().copy() 53 w_gain = adaconv.filter_gain.weight.detach().cpu().numpy().copy() 54 b_gain = adaconv.filter_gain.bias.detach().cpu().numpy().copy() 107 w_kernel = adaconv.conv_kernel.weight.detach().cpu().numpy().copy() 108 b_kernel = adaconv.conv_kernel.bias.detach().cpu().numpy().copy() 109 w_gain = adaconv.filter_gain.weight.detach().cpu().numpy().copy() 110 b_gain = adaconv.filter_gain.bias.detach().cpu().numpy().copy() 111 w_global_gain = adaconv.global_filter_gain.weight.detach().cpu().numpy().copy() 112 b_global_gain = adaconv.global_filter_gain.bias.detach().cpu().numpy().copy() [all …]
|
| /external/opencensus-java/contrib/spring_sleuth_v1x/src/test/java/io/opencensus/contrib/spring/sleuth/v1x/ |
| D | OpenCensusSleuthTracerTest.java | 87 Span parent = tracer.detach(null); in testDetachNull() 96 Span parent = tracer.detach(root); in testRootSpanAndDetach() 103 Span parent = tracer.detach(spans[spans.length - 1]); in testSpanStackAndDetach() 110 // try to detach a non-current span in testSpanStackAndDetachOutOfOrder() 111 tracer.detach(spans[spans.length - 2]); in testSpanStackAndDetachOutOfOrder() 113 Span parent = tracer.detach(spans[spans.length - 1]); in testSpanStackAndDetachOutOfOrder() 127 tracer.detach(root); in testRootSpanAndContinue() 130 tracer.detach(span); in testRootSpanAndContinue() 138 Span parent = tracer.detach(original); in testSpanStackAndContinue() 146 tracer.detach(continued); in testSpanStackAndContinue() [all …]
|
| /external/libopus/dnn/torch/osce/ |
| D | create_testvectors.py | 57 features = features[0].detach().numpy() 58 x_in = x_in[0].reshape(in_channels, num_frames, frame_size).permute(1, 0, 2).detach().numpy() 59 x_out = x_out[0].reshape(out_channels, num_frames, frame_size).permute(1, 0, 2).detach().numpy() 76 features = features[0].detach().numpy() 77 x_in = x_in[0].permute(1, 0).detach().numpy() 78 p_in = p_in[0].detach().numpy().astype(np.int32) 79 x_out = x_out[0].permute(1, 0).detach().numpy() 95 features = features[0].detach().numpy() 96 x_in = x_in.flatten().detach().numpy() 97 x_out = x_out.flatten().detach().numpy() [all …]
|
| /external/pytorch/torch/nn/parallel/ |
| D | replicate.py | 94 detach: bool = False, 98 if detach: 101 # Use the autograd function to broadcast if not detach 118 detach: bool = False, 134 param_copies = _broadcast_coalesced_reshape(params, devices, detach) 140 if buf.requires_grad and not detach: 148 buffer_copies_rg = _broadcast_coalesced_reshape(buffers_rg, devices, detach=detach) 150 buffers_not_rg, devices, detach=True 202 if buf.requires_grad and not detach:
|
| /external/ltp/include/lapi/ |
| D | shmbuf.h | 35 long shm_dtime; /* last detach time */ 49 unsigned long shm_dtime; /* last detach time */ 78 long shm_dtime; /* last detach time */ 85 unsigned long shm_dtime; /* last detach time */ 115 long shm_dtime; /* last detach time */ 122 unsigned long shm_dtime; /* last detach time */ 152 long shm_dtime; /* last detach time */ 159 unsigned long shm_dtime; /* last detach time */ 187 __kernel_long_t shm_dtime; /* last detach time */ 215 unsigned long shm_dtime; /* last detach time */ [all …]
|
| /external/libbrillo/brillo/blkdev_utils/ |
| D | loop_device_test.cc | 49 // Check double detach in TEST() 50 EXPECT_TRUE(device->Detach()); in TEST() 51 EXPECT_TRUE(device1->Detach()); in TEST() 52 EXPECT_FALSE(device1_copy->Detach()); in TEST() 53 EXPECT_TRUE(device2->Detach()); in TEST() 54 EXPECT_FALSE(device2_copy->Detach()); in TEST()
|
| /external/pytorch/torch/ao/ns/fx/ |
| D | weight_utils.py | 23 return mod.weight.detach() # type: ignore[operator] 27 return mod[0].weight.detach() # type: ignore[index] 38 param_value = mod._flat_weights[idx].detach() # type: ignore[index] 53 return mod.weight.detach() 55 return mod[0].weight.detach() 62 return mod.weight.detach() 64 return mod[0].weight.detach() 75 param_value = mod._flat_weights[idx].detach() 95 return weight.detach() 123 return weight.detach() [all …]
|
| /external/llvm-libc/src/__support/threads/ |
| D | thread.h | 62 // Detach type is useful in testing the detach operation. 64 // Indicates that the detach operation just set the detach state to DETACHED 68 // Indicates that the detach operation performed thread cleanup. 86 // call a detach or join function. Calling either of them can lead to 91 // with the value DetachState::JOINABLE. Another thread can detach this 93 // (a) If the detach method sees the state as JOINABLE, then it will 96 // (b) If the detach method does not see JOINABLE in (a), then it will 205 // Detach a joinable thread. 207 // This method does not have error return value. However, the type of detach 209 int detach();
|
| /external/cronet/stable/third_party/llvm-libc/src/src/__support/threads/ |
| D | thread.h | 62 // Detach type is useful in testing the detach operation. 64 // Indicates that the detach operation just set the detach state to DETACHED 68 // Indicates that the detach operation performed thread cleanup. 86 // call a detach or join function. Calling either of them can lead to 91 // with the value DetachState::JOINABLE. Another thread can detach this 93 // (a) If the detach method sees the state as JOINABLE, then it will 96 // (b) If the detach method does not see JOINABLE in (a), then it will 205 // Detach a joinable thread. 207 // This method does not have error return value. However, the type of detach 209 int detach();
|
| /external/cronet/tot/third_party/llvm-libc/src/src/__support/threads/ |
| D | thread.h | 62 // Detach type is useful in testing the detach operation. 64 // Indicates that the detach operation just set the detach state to DETACHED 68 // Indicates that the detach operation performed thread cleanup. 86 // call a detach or join function. Calling either of them can lead to 91 // with the value DetachState::JOINABLE. Another thread can detach this 93 // (a) If the detach method sees the state as JOINABLE, then it will 96 // (b) If the detach method does not see JOINABLE in (a), then it will 205 // Detach a joinable thread. 207 // This method does not have error return value. However, the type of detach 209 int detach();
|
| /external/pytorch/test/distributed/pipelining/ |
| D | test_backward.py | 32 ref_x = x.detach().requires_grad_(x.requires_grad) 33 ref_target = target.detach() 71 ref_x = x.detach().requires_grad_(x.requires_grad) 72 ref_target = target.detach() 106 ref_x = x.detach().requires_grad_(x.requires_grad) 107 ref_target = target.detach() 153 ref_inputs.append(x.detach().requires_grad_(x.requires_grad)) 154 ref_target = target.detach()
|
| /external/openthread/tests/scripts/thread-cert/ |
| D | test_detach.py | 99 child1.detach() 103 router1.detach() 120 child1.detach() 131 leader.detach() 136 router1.detach() 139 leader.detach() 144 leader.detach() 157 router1.detach(is_async=True) 161 router1.detach()
|
| /external/linux-kselftest/tools/testing/selftests/bpf/ |
| D | flow_dissector_load.c | 63 bool detach = false; in parse_opts() local 69 if (detach) in parse_opts() 70 error(1, 0, "attach/detach are exclusive"); in parse_opts() 75 error(1, 0, "attach/detach are exclusive"); in parse_opts() 76 detach = true; in parse_opts() 93 if (detach) in parse_opts()
|
| /external/sdv/vsomeip/third_party/boost/thread/test/sync/futures/packaged_task/ |
| D | make_ready_at_thread_exit_pass.cpp | 108 boost::thread(func0_mv, boost::move(p)).detach(); in main() 110 boost::thread(func0, &p).detach(); in main() 118 boost::thread(func0, &p).detach(); in main() 124 //boost::thread(func1, boost::move(p)).detach(); in main() 125 boost::thread(func1, &p).detach(); in main() 140 boost::thread(func1, &p).detach(); in main() 154 //boost::thread(func2, boost::move(p)).detach(); in main() 155 boost::thread(func2, &p).detach(); in main() 162 boost::thread(func2, &p).detach(); in main()
|