- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for foo (0.18 sec)
-
tensorflow/c/eager/c_api_experimental_test.cc
"description", "label1", "label2"); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TF_DeleteStatus(status); auto* cell2 = TFE_MonitoringGetCellCounter2(counter2, "foo", "bar"); TFE_MonitoringCounterCellIncrementBy(cell2, 2); EXPECT_EQ(TFE_MonitoringCounterCellValue(cell2), 2); TFE_MonitoringDeleteCounter1(counter1); TFE_MonitoringDeleteCounter2(counter2); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 03:14:26 GMT 2023 - 31.5K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
TF_EXPECT_OK(ReadCache(&cache, filename, 0, 16, &out)); EXPECT_EQ(calls, 2); } TEST(RamFileBlockCacheTest, PassThrough) { const string want_filename = "foo/bar"; const size_t want_offset = 42; const size_t want_n = 1024; int calls = 0; auto fetcher = [&calls, want_filename, want_offset, want_n]( const string& got_filename, size_t got_offset,
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:57 GMT 2021 - 23.2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
#if defined(PLATFORM_WINDOWS) // Make mkdir resolve to _mkdir to create the test temporary directory. #include <direct.h> #define mkdir(name, mode) _mkdir(name) // Windows defines the following macros to convert foo to fooA or fooW, // depending on the type of the string argument. We don't use these macros, so // undefine them here. #undef CopyFile #undef DeleteFile #undef TranslateName #endif // defined(PLATFORM_WINDOWS)
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); // Attempt to create node in g2 with input from g1 Neg(feed, g2, s); EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s)); EXPECT_STREQ("foo", TF_Message(s)); TF_DeleteGraph(g1); TF_DeleteGraph(g2); TF_DeleteStatus(s); } */ TEST(CAPI, ImportGraphDef) { TF_Status* s = TF_NewStatus(); TF_Graph* graph = TF_NewGraph();
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/c_api_function_test.cc
DefineFunction(func_name_, &func_); // Get non existent attribute TF_Buffer* attr_buf = TF_NewBuffer(); TF_FunctionGetAttrValueProto(func_, "foo_attr", attr_buf, s_); EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)); EXPECT_EQ(string("Function 'MyFunc' has no attr named 'foo_attr'."), string(TF_Message(s_))); TF_DeleteBuffer(attr_buf); // Set attr tensorflow::AttrValue attr;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6)