Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for __construct (0.14 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 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  2. tensorflow/c/c_api.h

    TF_CAPI_EXPORT extern void TF_FunctionToFunctionDef(TF_Function* func,
                                                        TF_Buffer* output_func_def,
                                                        TF_Status* status);
    
    // Construct and return the function whose FunctionDef representation is
    // serialized in `proto`. `proto_len` must equal the number of bytes
    // pointed to by `proto`.
    // Returns:
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
Back to top