Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Optional (0.15 sec)

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

    }
    
    // Validates the read only memory region operations given by the plugin.
    static Status ValidateHelper(const TF_ReadOnlyMemoryRegionOps* ops) {
      if (ops == nullptr) {
        // read only memory region support is always optional
        return OkStatus();
      }
    
      if (ops->cleanup == nullptr)
        return errors::FailedPrecondition(
            "Trying to register filesystem without `cleanup` operation on read "
            "only memory regions");
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
Back to top