Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_ApiDefMapPut (0.1 sec)

  1. tensorflow/c/c_api.h

    //
    // The provided ApiDefs will be merged with existing ones in the map, with
    // precedence given to the newly added version in case of conflicts with
    // previous calls to TF_ApiDefMapPut.
    TF_CAPI_EXPORT extern void TF_ApiDefMapPut(TF_ApiDefMap* api_def_map,
                                               const char* text, size_t text_len,
                                               TF_Status* status);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

        return nullptr;
      }
      status->status = absl::OkStatus();
      return new TF_ApiDefMap(op_list);
    }
    
    void TF_DeleteApiDefMap(TF_ApiDefMap* apimap) { delete apimap; }
    
    void TF_ApiDefMapPut(TF_ApiDefMap* api_def_map, const char* text,
                         size_t text_len, TF_Status* status) {
    #if defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD)
      status->status = tensorflow::errors::Unimplemented(
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

      TF_DeleteStatus(status);
    
      string api_def_overwrites = R"(op: <
      graph_op_name: "TestCApi"
      summary: "New summary"
    >
    )";
      status = TF_NewStatus();
      TF_ApiDefMapPut(api_def_map, api_def_overwrites.c_str(),
                      api_def_overwrites.size(), status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top