Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TFE_HandleFromDLPack (0.26 sec)

  1. tensorflow/c/eager/dlpack.cc

      dlm_tensor->dl_tensor.byte_offset =
          0;  // TF doesn't handle the strides and byte_offsets here
      return static_cast<void*>(dlm_tensor);
    }
    
    TFE_TensorHandle* TFE_HandleFromDLPack(void* dlm, TF_Status* status,
                                           TFE_Context* ctx) {
      DLManagedTensor* dlmt = static_cast<DLManagedTensor*>(dlm);
      DLTensor* dl_tensor = &dlmt->dl_tensor;
    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