Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_FunctionDebugString (0.31 sec)

  1. tensorflow/c/c_api_experimental.h

    //
    // Do not return const char*, because some foreign language binding
    // (e.g. swift) cannot then call free() on the returned pointer.
    TF_CAPI_EXPORT extern char* TF_FunctionDebugString(TF_Function* func,
                                                       size_t* len);
    
    // On success, dequeues a tensor from a TF-managed FifoQueue given by
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.cc

      *len = debug_str.size();
      char* ret = static_cast<char*>(malloc(*len + 1));
      memcpy(ret, debug_str.c_str(), *len + 1);
      return ret;
    }
    
    char* TF_FunctionDebugString(TF_Function* func, size_t* len) {
      const auto& debug_str = DebugString(func->record->fdef());
      *len = debug_str.size();
      char* ret = static_cast<char*>(malloc(*len + 1));
      memcpy(ret, debug_str.c_str(), *len + 1);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
Back to top