- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Optional (0.2 sec)
-
tensorflow/c/eager/dlpack.cc
#endif } else { status->status = tensorflow::errors::InvalidArgument( "Unsupported Device Type for dlpack"); } return ctx; } // Converts DLDevice to TF device name. absl::optional<std::string> DeviceNameFromDlContext(const DLDevice& ctx, TF_Status* status) { switch (ctx.device_type) { case DLDeviceType::kDLCPU: return "CPU:0";
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)