Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for unique (0.17 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    // ensures that two consecutive runs are unlikely to clash.
    class ModularFileSystemTest : public ::testing::TestWithParam<std::string> {
     public:
      // Initializes `root_dir_` to a unique value made of `::testing::TempDir()`, a
      // static random value unique for all the tests in one invocation, and the
      // current test name.
      //
      // Since the test name contains `/` (due to parameters), this function
      // replaces `/` with `_`.
      //
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      EXPECT_TF_META("v", list.size(), TF_ATTR_STRING, list_total_size);
      std::unique_ptr<void*[]> values(new void*[list.size()]);
      std::unique_ptr<size_t[]> lens(new size_t[list.size()]);
      std::unique_ptr<char[]> storage(new char[list_total_size]);
      TF_OperationGetAttrStringList(oper, "v", values.get(), lens.get(),
    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)
  3. tensorflow/c/c_api_function_test.cc

    void DefineFunction(const char* name, TF_Function** func,
                        const char* description = nullptr,
                        bool append_hash = false) {
      std::unique_ptr<TF_Graph, decltype(&TF_DeleteGraph)> func_graph(
          TF_NewGraph(), TF_DeleteGraph);
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> s(TF_NewStatus(),
                                                               TF_DeleteStatus);
    
    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)
  4. tensorflow/c/eager/c_api_test.cc

      // Create two worker tasks.
      server_def_0.set_task_index(1);
      std::unique_ptr<tensorflow::GrpcServer> worker_server1;
      ASSERT_TRUE(tensorflow::GrpcServer::Create(
                      server_def_0, tensorflow::Env::Default(), &worker_server1)
                      .ok());
      ASSERT_TRUE(worker_server1->Start().ok());
      server_def_0.set_task_index(2);
      std::unique_ptr<tensorflow::GrpcServer> worker_server2;
    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)
Back to top