- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for Try (0.16 sec)
-
tensorflow/c/eager/parallel_device/parallel_device_test.cc
TensorHandlePtr size_three( VectorFloatTensorHandle(size_three_value, status.get())); ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get()); // Try to combine these values into a single parallel tensor. std::array<TFE_TensorHandle*, 2> components{size_two.get(), size_three.get()}; TensorHandlePtr combined_value = CreatePerDeviceValues(
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 08 23:47:35 GMT 2021 - 29.3K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc
int value = 0; EXPECT_TRUE(cache.Lookup("a", &value)); EXPECT_EQ(value, 1); // Delete the entry. EXPECT_TRUE(cache.Delete("a")); EXPECT_FALSE(cache.Lookup("a", &value)); // Try deleting the entry again. EXPECT_FALSE(cache.Delete("a")); EXPECT_FALSE(cache.Lookup("a", &value)); } } // namespace
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 7.1K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
EXPECT_EQ(2, num_dims); EXPECT_EQ(2, returned_dims[0]); EXPECT_EQ(3, returned_dims[1]); // Try to fetch a shape with the wrong num_dims TF_GraphGetTensorShape(graph, feed_out_0, returned_dims, 5, s); EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s)) << TF_Message(s); // Try to set an invalid shape (cannot change 2x3 to a 2x5). dims[1] = 5; TF_GraphSetTensorShape(graph, feed_out_0, dims, 2, s);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/eager/c_api_test.cc
TFE_TensorHandle* input2 = TestMatrixTensorHandle(ctx); TFE_Op* identityOp = TFE_NewOp(ctx, "IdentityN", status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); // Try to retrieve lengths before building the attributes (should fail) EXPECT_EQ(-1, TFE_OpGetInputLength(identityOp, "input", status)); CHECK_NE(TF_OK, TF_GetCode(status)) << TF_Message(status);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc
namespace filesystem_registration { Status RegisterFilesystemPluginImpl(const TF_FilesystemPluginInfo* info) { TF_RETURN_IF_ERROR(ValidatePluginMemoryRoutines(info)); // Validate and register all filesystems // Try to register as many filesystems as possible. // Free memory once we no longer need it Status status; for (int i = 0; i < info->num_schemes; i++) { status.Update(ValidateAndRegisterFilesystems(info, i));
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 07 22:08:43 GMT 2023 - 12.8K bytes - Viewed (0)