Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for __construct (0.24 sec)

  1. tensorflow/c/c_api_test.cc

      if (gpu_device.empty()) return;
    
      RunMinTest(gpu_device, /*use_XLA=*/true);
    }
    
    TEST(CAPI, SessionPRun) {
      TF_Status* s = TF_NewStatus();
      TF_Graph* graph = TF_NewGraph();
    
      // Construct the graph: A + 2 + B
      TF_Operation* a = Placeholder(graph, s, "A");
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      TF_Operation* b = Placeholder(graph, s, "B");
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  2. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    // parsed.
    //
    // Furthermore, as `INSTANTIATE_TEST_SUITE_P` needs to be at global level and we
    // don't want to have a `std::vector<std::string>` at global level, we use a
    // static pointer to such a vector: we construct it via `SchemeVector()` below
    // and when tests are instantiated we process it using `GetSchemes()`.
    static std::vector<std::string>* SchemeVector() {
      static std::vector<std::string>* schemes = new std::vector<std::string>;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
Back to top