Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for xcode (0.14 sec)

  1. tensorflow/c/c_api.cc

      // Update name_map with newly-created ops.
      // TODO(skyewm): right now BuildWhileLoop() may alter the graph if it returns
      // a bad status. Once we fix this, we may want to return early instead of
      // executing the following code.
      for (int i = first_new_node_id; i < parent->graph.num_node_ids(); ++i) {
        Node* new_node = parent->graph.FindNodeId(i);
        if (new_node == nullptr) continue;
        parent->name_map[new_node->name()] = new_node;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.cc

      for (size_t i = 0; i < tasks.length; ++i) {
        const auto& result = (*results)[i];
        TF_Status s;
        TF_SetStatus(&s, static_cast<TF_Code>(result.error_code()),
                     std::string(result.error_message()).data());
        if (TF_GetCode(&s) != TF_Code::TF_OK) {
          tensorflow::CoordinationServiceError error;
          *error.mutable_source_task() = result.error_payload().source_task();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  3. tensorflow/c/c_api_test.cc

    TEST(CAPI, StatusEnum) {
      EXPECT_EQ(TF_OK, static_cast<TF_Code>(tensorflow::error::OK));
      EXPECT_EQ(TF_CANCELLED, static_cast<TF_Code>(tensorflow::error::CANCELLED));
      EXPECT_EQ(TF_UNKNOWN, static_cast<TF_Code>(tensorflow::error::UNKNOWN));
      EXPECT_EQ(TF_INVALID_ARGUMENT,
                static_cast<TF_Code>(absl::StatusCode::kInvalidArgument));
      EXPECT_EQ(TF_DEADLINE_EXCEEDED,
                static_cast<TF_Code>(tensorflow::error::DEADLINE_EXCEEDED));
    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