Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for service (0.16 sec)

  1. tensorflow/c/c_api_function_test.cc

        TF_OperationDescription* desc =
            TF_NewOperation(host_graph_, func_name_, func_node_name_);
        for (auto input : inputs) {
          TF_AddInput(desc, input);
        }
        // Set device to CPU because some ops inside the function might not be
        // available on GPU.
        TF_SetDevice(desc, "/cpu:0");
        *op = TF_FinishOperation(desc, s_);
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
Back to top