Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for TfDataTypeFormDlDataType (0.08 seconds)

  1. tensorflow/c/eager/dlpack.cc

        case DLDeviceType::kDLROCM:
          return absl::StrCat("GPU:", ctx.device_id);
        default:
          return absl::nullopt;
      }
    }
    
    // Converts DLPack data type to TF_DATATYPE.
    absl::Status TfDataTypeFormDlDataType(const DLDataType& dtype,
                                          TF_DataType* tf_dtype) {
      switch (dtype.code) {
        case DLDataTypeCode::kDLBool:
          if (dtype.bits != 8) {
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Mar 13 23:41:52 GMT 2025
    - 13K bytes
    - Click Count (0)
Back to Top