Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for api_def_map (0.19 sec)

  1. tensorflow/c/c_api_internal.h

    };
    
    struct TF_Function {
      tensorflow::FunctionRecord* record;
    };
    
    struct TF_ApiDefMap {
      explicit TF_ApiDefMap(const tensorflow::OpList& op_list)
          :
    #if !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
            api_def_map(op_list),
    #endif  // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
            update_docs_called(false) {
      }
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

          "ApiDefMap is not supported on mobile.");
      return nullptr;
    #else
      mutex_lock l(api_def_map->lock);
      if (!api_def_map->update_docs_called) {
        api_def_map->api_def_map.UpdateDocs();
        api_def_map->update_docs_called = true;
      }
      string name_str(name, name_len);
      const auto* api_def = api_def_map->api_def_map.GetApiDef(name_str);
      if (api_def == nullptr) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

      TF_Status* status = TF_NewStatus();
      auto* api_def_map = TF_NewApiDefMap(op_list_buf, status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
    
      string op_name = "TestCApi";
      status = TF_NewStatus();
      auto* api_def_buf =
          TF_ApiDefMapGet(api_def_map, op_name.c_str(), op_name.size(), status);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  4. tensorflow/c/c_api.h

    TF_CAPI_EXPORT extern void TF_ApiDefMapPut(TF_ApiDefMap* api_def_map,
                                               const char* text, size_t text_len,
                                               TF_Status* status);
    
    // Returns a serialized ApiDef protocol buffer for the TensorFlow operation
    // named `name`.
    TF_CAPI_EXPORT extern TF_Buffer* TF_ApiDefMapGet(TF_ApiDefMap* api_def_map,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
Back to top