Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Scheme (0.46 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

          tensorflow::Env::Default()->GetRegisteredFileSystemSchemes(all_schemes);
    
      if (status.ok()) {
        std::vector<std::string>* user_schemes = SchemeVector();
        if (!user_schemes->empty()) {
          auto is_requested_scheme = [user_schemes](const auto& scheme) {
            return std::find(user_schemes->begin(), user_schemes->end(), scheme) ==
                   user_schemes->end();
          };
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

    namespace tensorflow {
    
    // Checks that all schemes provided by a plugin are valid.
    // TODO(b/139060984): More validation could be done here, based on supported
    // charset, maximum length, etc. Punting it for later.
    static Status ValidateScheme(const char* scheme) {
      if (scheme == nullptr)
        return errors::InvalidArgument(
            "Attempted to register filesystem with `nullptr` URI scheme");
      return OkStatus();
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/windows/windows_filesystem.cc

      TF_SetFilesystemVersionMetadata(ops);
      ops->scheme = strdup(uri);
    }
    
    void TF_InitPlugin(TF_FilesystemPluginInfo* info) {
      info->plugin_memory_allocate = plugin_memory_allocate;
      info->plugin_memory_free = plugin_memory_free;
      info->num_schemes = 2;
      info->ops = static_cast<TF_FilesystemPluginOps*>(
          plugin_memory_allocate(info->num_schemes * sizeof(info->ops[0])));
      ProvideFilesystemSupportFor(&info->ops[0], "");
    C++
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:21:15 GMT 2022
    - 2.6K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

                      std::string* bucket, std::string* object, TF_Status* status) {
      size_t scheme_end = fname.find("://") + 2;
      if (fname.substr(0, scheme_end + 1) != "gs://") {
        TF_SetStatus(status, TF_INVALID_ARGUMENT,
                     "GCS path doesn't start with 'gs://'.");
        return;
      }
    
      size_t bucket_end = fname.find('/', scheme_end + 1);
      if (bucket_end == std::string::npos) {
        TF_SetStatus(status, TF_INVALID_ARGUMENT,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/filesystem_interface.h

    /// must be "". The scheme must never be `nullptr`.
    ///
    /// Every plugin fills this in `TF_InitPlugin`, using the alocator passed as
    /// argument to allocate memory. After `TF_InitPlugin` finishes, core
    /// TensorFlow uses the information present in this to initialize filesystems
    /// for the URI schemes that the plugin requests.
    ///
    /// All pointers defined in this structure point to memory allocated by the DSO
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/modular_filesystem.h

    // scope for now. I'm just mentioning this here as that transition will mean
    // removal of the registration part from `Env` and adding it here instead: we
    // will need tables to hold for each scheme the function tables that implement
    // the needed functionality instead of the current `FileSystemRegistry` code in
    // `core/platform/env.cc`.
    class ModularFileSystem final : public FileSystem {
     public:
      ModularFileSystem(
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api.h

    #ifdef __cplusplus
    } /* end extern "C" */
    #endif
    
    #ifdef __cplusplus
    // A workaround to ease conversion to and from numpy objects and
    // TFE_TensorHandle's.
    //
    // TODO(ashankar): Figure out an alternative scheme that precludes the need for
    // these API-boundary breaking methods.
    namespace tensorflow {
    class Tensor;
    }  // namespace tensorflow
    
    TFE_TensorHandle* TFE_NewTensorHandle(const tensorflow::Tensor& t,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  8. tensorflow/BUILD

            "//tensorflow/lite/kernels/internal:compatibility",
            "//tensorflow/lite/kernels:builtin_ops",
            "//tensorflow/lite/kernels:reference_ops",
            "//tensorflow/lite/schema:schema_fbs",
            "//tensorflow/lite/toco/logging:conversion_log_util",
            "//tensorflow/lite/toco/logging:toco_conversion_log_proto_cc",
            "//tensorflow/lite/toco:model_flags_proto_cc",
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (6)
  9. tensorflow/c/c_api.cc

                "adding the nodes to the graph. This is a bug. Please file an "
                "issue at https://github.com/tensorflow/tensorflow/issues.");
            return;
          }
          // We have a convoluted scheme here: Using the C++ graph construction API
          // to add potentially many nodes to the graph without running the checks
          // (such as uniqueness of the names of nodes) we run with other functions
    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)
  10. RELEASE.md

          per-channel scales for dynamic range quantization use case (`float32`
          inputs / outputs and `int8` weights). The change enables new quantization
          schema globally in the converter and inference engine. The new behaviour
          can be disabled via experimental
          flag `converter._experimental_disable_per_channel_quantization_for_dense_layers = True`.
        * C API:
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Apr 03 20:27:38 GMT 2024
    - 727.4K bytes
    - Viewed (8)
Back to top