Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for matching (0.3 sec)

  1. tensorflow/c/c_api.cc

    // DT_RESOURCE. The string serialization is converted back to a
    // ResourceHandle during Session run where the TF_Tensor is converted to a
    // Tensor.
    // TFv2 does not depend on this conversion. There is no matching
    // TF_TensorFromTensorV1 because the conversion to string is performed by the
    // python side of Session.
    static Status TF_TensorToTensorV1(const TF_Tensor* src, Tensor* dst) {
      Status status = TF_TensorToTensor(src, dst);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/modular_filesystem.cc

    Status ModularFileSystem::GetMatchingPaths(const std::string& pattern,
                                               TransactionToken* token,
                                               std::vector<std::string>* result) {
      if (ops_->get_matching_paths == nullptr)
        return internal::GetMatchingPaths(this, Env::Default(), pattern, result);
    
      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    TEST_P(ModularFileSystemTest, TestGetMatchingPaths) {
      const std::vector<std::string> matching_filenames = {
          GetURIForPath("a_file"),
          GetURIForPath("another_file"),
      };
      const std::vector<std::string> other_filenames = {
          GetURIForPath("some_file"),
          GetURIForPath("yet_another_file"),
      };
    
      for (const auto& filename : matching_filenames) {
        std::unique_ptr<WritableFile> file;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

      TF_SetStatus(status, TF_OK, "");
      while (true) {
        switch (block->state) {
          case FetchState::ERROR:
            // TF_FALLTHROUGH_INTENDED
          case FetchState::CREATED:
            block->state = FetchState::FETCHING;
            block->mu.Unlock();  // Release the lock while making the API call.
            block->data.clear();
            block->data.resize(block_size_, 0);
            int64_t bytes_transferred;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  5. tensorflow/c/eager/immediate_execution_tensor_handle.cc

        // messages.
        value_string = absl::StrCat(value_string.substr(0, 100), " [...]");
      }
      Status s;
      const char* device_name = DeviceName(&s);
      if (!s.ok()) {
        device_name = "<error fetching device name>";
      }
      return absl::StrCat("TensorHandle(", value_string, ", shape=", shape_string,
                          ", dtype=", DataType_Name(DataType()), ", device=\"",
                          device_name, "\")");
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/grappler/grappler_test.cc

    #include "tensorflow/c/experimental/grappler/grappler_internal.h"
    #include "tensorflow/c/tf_buffer_internal.h"
    #include "tensorflow/core/framework/function.h"
    #include "tensorflow/core/grappler/clusters/single_machine.h"
    #include "tensorflow/core/grappler/costs/graph_properties.h"
    #include "tensorflow/core/grappler/grappler_item.h"
    #include "tensorflow/core/grappler/inputs/trivial_test_graph_input_yielder.h"
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Thu Apr 13 22:30:58 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

    void DeleteDir(const TF_Filesystem* filesystem, const char* path,
                   TF_Status* status) {
      // A directory is considered empty either if there are no matching objects
      // with the corresponding name prefix or if there is exactly one matching
      // object and it is the directory marker. Therefore we need to retrieve
      // at most two children for the prefix to detect if a directory is empty.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
Back to top