- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for expectClose (0.41 sec)
-
tensorflow/compiler/jit/xla_host_send_recv_device_context_test.cc
new XlaHostRecvDeviceContext(stream.get(), gpu_dst, shape, done_event); TF_ASSERT_OK(device_context->CopyDeviceTensorToCPUSync( &device_tensor, "", device_.get(), &dest_cpu_tensor)); tensorflow::test::ExpectClose(origin_cpu_tensor, dest_cpu_tensor); device_context->Unref(); } TEST_F(XlaHostSendRecvDeviceContextTest, CopyCPUTensorToDevice) { SetDevice("GPU");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 22:46:36 UTC 2024 - 7.2K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SftpResource.groovy
} void expectOpen() { server.expectOpen(pathOnServer) } def allowWrite() { server.allowWrite(pathOnServer) } void expectClose() { server.expectClose(pathOnServer) } void expectFileDownload() { // TODO - should not do this stat request server.expectStat(pathOnServer) server.expectFileDownload(pathOnServer) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SFTPServer.groovy
expectations << new SftpAllowHandle(SftpConstants.SSH_FXP_READ, path) } void expectClose(String path) { expectations << new SftpExpectOneHandle(SftpConstants.SSH_FXP_CLOSE, "CLOSE", path) } void expectFileDownload(String path) { expectOpen(path) allowRead(path) expectClose(path) } void expectFileUpload(String path) { expectOpen(path)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 17.1K bytes - Viewed (0) -
tensorflow/compiler/jit/device_context_test.cc
&device_tensor, "", device_.get(), &dest_cpu_tensor)); LOG(INFO) << "H2D - D2H roundtrip completes. tensor: " << dest_cpu_tensor.DebugString(4); tensorflow::test::ExpectClose(origin_cpu_tensor, dest_cpu_tensor); } #endif } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 3.7K bytes - Viewed (0) -
tensorflow/cc/framework/cc_ops_test.cc
{{.8f, .5f}, {.1f, .6f}}, {-8.0f, 31.0f}); TF_EXPECT_OK(root.status()); EXPECT_EQ(l.node()->name(), "layer0"); Tensor out; test::GetTensor(root, l, &out); test::ExpectClose(out, test::AsTensor<float>({-0.3, 34.2}, {1, 2})); } TEST(CCOpTest, MultiOutput) { Scope root = Scope::NewRootScope(); auto u = Unique(root, {1, 2, 2, 4, 3, 2}); std::vector<Tensor> outputs;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 15 15:13:38 UTC 2023 - 8.7K bytes - Viewed (0)