Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for pathes (0.22 sec)

  1. tensorflow/c/eager/immediate_execution_tensor_handle.cc

    }
    
    Status ImmediateExecutionTensorHandle::SummarizeValue(
        std::string& summary) const {
      Status status;
      AbstractTensorPtr resolved(
          // TODO(allenl): Resolve should be const, and the caches that get updated
          // marked mutable.
          const_cast<ImmediateExecutionTensorHandle*>(this)->Resolve(&status));
      if (!status.ok()) {
        return status;
      }
      summary = resolved->SummarizeValue();
    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)
  2. tensorflow/c/eager/dlpack.cc

    // TFE_NewTensorHandleFromDeviceMemory.
    void DeallocatorWrapperFunc(void* data, size_t len, void* dlmt_vptr) {
      TFE_CallDLManagedTensorDeleter(dlmt_vptr);
    }
    
    // Checks whether the stride array matches the layout of compact, row-majored
    // data.
    bool IsValidStrideCompactRowMajorData(int64_t* shape_arr, int64_t* stride_arr,
                                          int ndim) {
      bool valid = true;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      if (num_matches >= 0) {
        for (int i = 0; i < num_matches; i++) {
          result->push_back(std::string(matches[i]));
          plugin_memory_free_(matches[i]);
        }
        plugin_memory_free_(matches);
      }
    
      return StatusFromTF_Status(plugin_status.get());
    }
    
    Status ModularFileSystem::DeleteFile(const std::string& fname,
    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)
  4. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      std::string GetURIForPath(StringPiece path) {
        const std::string translated_name =
            tensorflow::io::JoinPath(root_dir_, path);
        // We have already checked `GetParam().empty()` in
        // `ModularFileSystemTest()`. root_dir_ should contain `GetParam() + "://"`
        // if it isn't empty.
        return translated_name;
      }
    
      // Converts absolute paths to paths relative to root_dir_.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  5. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

      if (!status->status.ok()) {
        return nullptr;
      }
    
      TF_DataType dtype = TFE_TensorHandleDataType(components[0].get());
      // Verify that the combined TensorHandle's dtype matches all of the component
      // dtypes.
      for (TensorHandlePtr& component : components) {
        TFE_TensorHandleGetStatus(component.get(), status);
        if (!status->status.ok()) {
          return nullptr;
        }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

                  path, stat.generation_number)) {
            TF_VLog(
                1,
                "File signature has been changed. Refreshing the cache. Path: %s",
                path.c_str());
          }
          read = gcs_file->file_block_cache->Read(path, offset, n, buffer, status);
        } else {
          read = LoadBufferFromGCS(path, offset, n, buffer, gcs_file, status);
        }
    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