Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for pcall (0.13 sec)

  1. tensorflow/c/eager/dlpack.cc

      auto tf_dlm_type = GetDlDataType(data_type, status);
      if (!status->status.ok()) {
        return nullptr;
      }
    
      TensorReference tensor_ref(*tensor);  // This will call buf_->Ref()
      auto* tf_dlm_tensor_ctx = new TfDlManagedTensorCtx(tensor_ref);
      tf_dlm_tensor_ctx->reference = tensor_ref;
    
      DLManagedTensor* dlm_tensor = &tf_dlm_tensor_ctx->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