- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for init (0.17 sec)
-
tensorflow/c/c_api_test.cc
} } TEST_F(CApiAttributesTest, EmptyList) { auto desc = init("list(int)"); TF_SetAttrIntList(desc, "v", nullptr, 0); auto oper = TF_FinishOperation(desc, s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); EXPECT_TF_META("v", 0, TF_ATTR_INT, -1); } TEST_F(CApiAttributesTest, Names) { auto desc = init("string"); TF_SetAttrString(desc, "v", "bunny", 5);
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
/*isolate_session_state=*/false, /*init_timeout_in_ms=*/0); TFE_Context* ctx_1 = CreateContext(serialized_server_def_1, /*isolate_session_state=*/false, /*init_timeout_in_ms=*/0); // Remote device on `worker1`.
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_test.cc
tmp_dir_ = tmp_dir.empty() ? ::testing::TempDir() : tmp_dir; } protected: Env* env_; private: std::string root_dir_; static int rng_val_; static std::string cloud_path_; static std::string tmp_dir_; }; int ModularFileSystemTest::rng_val_; std::string ModularFileSystemTest::cloud_path_; std::string ModularFileSystemTest::tmp_dir_;
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_function_test.cc
for (int i = 0; i < expected.size(); ++i) { ASSERT_EQ(expected[i], data[i]) << "Different data at index " << i; } } std::vector<TF_Output> ToOutput(const std::vector<TF_Operation*> ops) { std::vector<TF_Output> out; for (auto op : ops) { out.push_back({op, 0}); } return out; } void Define(int num_opers, const std::vector<TF_Operation*>& opers,
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)