Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for udpate (0.13 sec)

  1. tensorflow/c/eager/c_api_test.cc

      ASSERT_TRUE(worker_server1->Start().ok());
    
      // 5a. Update `ctx_0` with updated `server_def_0`.
      {
        server_def_0.set_task_index(0);
        string serialized_update = server_def_0.SerializeAsString();
        TF_Status* status = TF_NewStatus();
        TFE_ContextUpdateServerDef(ctx_0, 0, serialized_update.data(),
                                   serialized_update.size(), 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)
  2. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      const std::string dirpath = GetURIForPath("dir");
      Status status = env_->CreateDir(dirpath);
      if (!status.ok()) GTEST_SKIP() << "CreateDir() not supported: " << status;
    
      // If updating, make sure to update expected_children below.
      const std::vector<std::string> filenames = {
          GetURIForPath("dir/a_file"),
          GetURIForPath("dir/another_file"),
      };
      for (const auto& filename : filenames) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      NodeDef node_def_neg;
      ASSERT_TRUE(GetNodeDef(neg, &node_def_neg));
      EXPECT_EQ(string("add"), node_def_neg.input(0));
    
      // update edge of neg
      TF_UpdateEdge(graph, TF_Output{one, 0}, TF_Input{neg, 0}, s);
    
      ASSERT_TRUE(GetNodeDef(neg, &node_def_neg));
      EXPECT_EQ(string("one:0"), node_def_neg.input(0));
    
      // Clean up
    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)
Back to top