Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MATCHES (0.2 sec)

  1. 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)
  2. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      // Note that `matches` is allocated by the plugin and freed by core
      // TensorFlow, so we need to use `plugin_memory_free_` here.
      char** matches = nullptr;
      const int num_matches = ops_->get_matching_paths(
          filesystem_.get(), pattern.c_str(), &matches, plugin_status.get());
      if (num_matches >= 0) {
        for (int i = 0; i < num_matches; i++) {
          result->push_back(std::string(matches[i]));
    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/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)
Back to top