- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for cpp (0.14 sec)
-
tensorflow/c/eager/parallel_device/parallel_device.cc
ParallelTensor* parallel_tensor = reinterpret_cast<ParallelTensor*>(data); std::string summary; Status cpp_status = parallel_tensor->SummarizeValue(summary); if (!cpp_status.ok()) { tsl::Set_TF_Status_from_Status(status, cpp_status); return nullptr; } return TF_NewBufferFromString(summary.data(), summary.size()); } TensorHandlePtr ParallelTensorToTensorHandle(
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 29 22:05:31 GMT 2023 - 18.3K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
} GCSFile; void Cleanup(TF_RandomAccessFile* file) { auto gcs_file = static_cast<GCSFile*>(file->plugin_file); delete gcs_file; } // `google-cloud-cpp` is working on a feature that we may want to use. // See https://github.com/googleapis/google-cloud-cpp/issues/4013. int64_t Read(const TF_RandomAccessFile* file, uint64_t offset, size_t n, char* buffer, TF_Status* status) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 23 06:55:53 GMT 2023 - 46.9K bytes - Viewed (0)