Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TFE_GetServerDef (0.06 sec)

  1. tensorflow/c/c_api_experimental_test.cc

        }
        tasks {
          key: 1
          value: "localhost:1"
        }
      }
    }
    job_name: "worker"
    task_index: 1
    protocol: "grpc"
    )");
    
      TF_Status* status = TF_NewStatus();
      TF_Buffer* result = TFE_GetServerDef(expected_text_proto.c_str(), status);
      EXPECT_EQ(TF_GetCode(status), TF_OK);
    
      ServerDef actual;
      ASSERT_TRUE(actual.ParseFromArray(result->data, result->length));
      string actual_text_proto;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.h

                                                     TF_Tensor* tensor,
                                                     TF_Status* status);
    // Create a serialized tensorflow.ServerDef proto.
    TF_Buffer* TFE_GetServerDef(const char* text_proto, TF_Status* status);
    
    TF_CAPI_EXPORT extern void TF_MakeInternalErrorStatus(TF_Status* status,
                                                          const char* errMsg);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental.cc

                    /*targets*/ &enqueue_op, /*ntargets*/ 1,
                    /*run_metadata*/ nullptr, status);
      VLOG(1) << "Enqueuing is done.";
    }
    
    TF_Buffer* TFE_GetServerDef(const char* text_proto, TF_Status* status) {
      tensorflow::ServerDef server_def;
      if (!tensorflow::protobuf::TextFormat::ParseFromString(text_proto,
                                                             &server_def)) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 29.5K bytes
    - Viewed (0)
Back to top