Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Plugin (0.25 sec)

  1. tensorflow/c/experimental/grappler/grappler_internal.h

    #include "tensorflow/core/platform/status.h"
    #include "tensorflow/core/protobuf/rewriter_config.pb.h"
    
    namespace tensorflow {
    namespace grappler {
    
    // Plugin initialization function that a device plugin
    // must define.
    typedef void (*TFInitGraphPluginFn)(TP_OptimizerRegistrationParams* const,
                                        TF_Status* const);
    
    // Registers Graph optimizers.
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Jun 08 08:58:23 GMT 2022
    - 3.5K bytes
    - Viewed (1)
  2. tensorflow/c/experimental/grappler/grappler.h

    // C API for Graph. The API is under active development and eventually
    // should allow registering a plugin graph optimizer with TensorFlow.
    //
    // Conventions:
    //   * Struct prefix indicates whether struct fields should be filled by the
    //     plugin or core implementation:
    //     * Struct that should be filled by the plugin: `TP_OptimizerConfigs`,
    //       `TP_Optimizer`, `TP_OptimizerRegistrationParams`
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  3. tensorflow/c/c_op_requires.h

    // C structs, including `TF_OpKernelContext`, `TF_Status`, etc. This is analogus
    // to the macros in tensorflow/core/framework/op_requires.h. This is provided
    // for plugin OpKernel developer's convenience.
    
    #define C_OPKERNELCONTEXT_REQUIRES_OK(CTX, C_STATUS, __VA_ARGS__) \
      do {                                                            \
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Aug 02 21:35:06 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

    // but there's rarely a reason to do that.
    //
    // You can call 'release()' on a Cleanup object to cancel the cleanup.
    
    #ifndef TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_CLEANUP_H_
    #define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_CLEANUP_H_
    
    #include <type_traits>
    #include <utility>
    
    namespace tf_gcs_filesystem {
    
    // A move-only RAII object that calls a stored cleanup functor when
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 11:16:00 GMT 2020
    - 3.4K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.h

    #ifndef TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_POSIX_POSIX_FILESYSTEM_H_
    #define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_POSIX_POSIX_FILESYSTEM_H_
    
    #include "tensorflow/c/experimental/filesystem/filesystem_interface.h"
    
    // Initialize the POSIX filesystem.
    //
    // In general, the `TF_InitPlugin` symbol doesn't need to be exposed in a header
    // file, since the plugin registration will look for the symbol in the DSO file
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Mar 20 16:42:12 GMT 2020
    - 1.5K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_helper.h

    limitations under the License.
    ==============================================================================*/
    #ifndef TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_GCS_HELPER_H_
    #define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_GCS_HELPER_H_
    
    #include <fstream>
    #include <string>
    
    class TempFile : public std::fstream {
     public:
      // We should specify openmode each time we call TempFile.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Jun 26 14:56:58 GMT 2020
    - 1.2K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

    limitations under the License.
    ==============================================================================*/
    
    #ifndef TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_EXPIRING_LRU_CACHE_H_
    #define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_EXPIRING_LRU_CACHE_H_
    
    #include <functional>
    #include <list>
    #include <map>
    #include <memory>
    #include <string>
    
    #include "absl/base/thread_annotations.h"
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  8. tensorflow/c/c_api.h

    TF_CAPI_EXPORT extern void TF_RegisterLogListener(
        void (*listener)(const char*));
    
    // Register a FileSystem plugin from filename `plugin_filename`.
    //
    // On success, place OK in status.
    // On failure, place an error status in status.
    TF_CAPI_EXPORT extern void TF_RegisterFilesystemPlugin(
        const char* plugin_filename, TF_Status* status);
    
    // Apis that are corresponding to python c api. --------------------
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  9. tensorflow/c/experimental/filesystem/filesystem_interface.h

    ///
    /// For every filesystem URI scheme that this plugin supports, the plugin must
    /// add one `TF_FilesystemPluginInfo` entry in `plugin_info->ops` and call
    /// `TF_SetFilesystemVersionMetadata` for that entry.
    ///
    /// Plugins must also initialize `plugin_info->plugin_memory_allocate` and
    /// `plugin_info->plugin_memory_free` to ensure memory allocated by plugin is
    /// freed in a compatible way.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/next_pluggable_device/c_api.h

    // `plugin_resource_name`, returns it in `*result_plugin_resource`. Otherwise,
    // invokes create_func to create the resource. `delete_func` is needed for
    // ResourceMgr to clean up the resource. `status` will be set. If `status` is
    // not OK, `*result_plugin_resource` will be set as nullptr.
    //
    // Caller does not take ownership of the `plugin_resource`.
    TF_CAPI_EXPORT extern void TF_LookupOrCreatePluginResource(
    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)
Back to top