Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Content (0.14 sec)

  1. tensorflow/c/c_api_experimental.cc

    }
    
    TF_CAPI_EXPORT extern void TFE_AbortCollectiveOps(TFE_Context* ctx,
                                                      TF_Status* status) {
      tensorflow::EagerContext* context =
          tensorflow::ContextFromInterface(tensorflow::unwrap(ctx));
      auto collective_executor_handle = context->GetCollectiveExecutorHandle();
      collective_executor_handle->get()->StartAbort(status->status);
    }
    
    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)
  2. tensorflow/c/eager/c_api_experimental.cc

                                        TF_Buffer* buf) {
      string content;
      cell->cell.value().SerializeToString(&content);
      void* data = tensorflow::port::Malloc(content.length());
      content.copy(static_cast<char*>(data), content.length(), 0);
      buf->data = data;
      buf->length = content.length();
      buf->data_deallocator = [](void* data, size_t length) {
        tensorflow::port::Free(data);
      };
    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)
Back to top