- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for GetDlContext (0.15 sec)
-
tensorflow/c/eager/dlpack.cc
DataType_Name(static_cast<DataType>(data_type)), " is not supported by dlpack"); break; } return dtype; } // Gets DLPack's DLDevice from eager tensor handle. DLDevice GetDlContext(TFE_TensorHandle* h, TF_Status* status) { DLDevice ctx; const char* device_name = tensorflow::unwrap(h)->BackingDeviceName(&status->status); DeviceNameUtils::ParsedName parsed_name;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 12.8K bytes - Viewed (0)