Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_CreatePluginResource (0.21 sec)

  1. tensorflow/c/experimental/next_pluggable_device/c_api.h

    // opaque pointer, since TensorFlow cannot parse it). `delete_func` is needed
    // for ResourceMgr to clean up the resource. `status` will be set.
    TF_CAPI_EXPORT extern void TF_CreatePluginResource(
        TF_OpKernelContext* ctx, const char* container_name,
        const char* plugin_resource_name, void* plugin_resource,
        void (*delete_func)(void*), TF_Status* status);
    
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Dec 20 20:01:06 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/next_pluggable_device/c_api.cc

      auto* cc_ctx = reinterpret_cast<tensorflow::OpKernelContext*>(ctx);
      return reinterpret_cast<TF_Device*>(cc_ctx->device());
    }
    
    // --------------------------  Resource  ---------------------------------------
    void TF_CreatePluginResource(TF_OpKernelContext* ctx,
                                 const char* container_name,
                                 const char* plugin_resource_name,
                                 void* plugin_resource, void (*delete_func)(void*),
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
Back to top