- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for readers (0.16 sec)
-
tensorflow/c/c_api_experimental.cc
TF_CheckpointReader* reader = new TF_CheckpointReader(filename, status); if (!status->status.ok()) { TF_DeleteCheckpointReader(reader); return nullptr; } const auto& m = reader->GetVariableToDataTypeMap(); for (auto it = m.begin(); it != m.end(); ++it) reader->variable_list.push_back(it->first); std::sort(reader->variable_list.begin(), reader->variable_list.end()); return reader; }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
return; } TF_RandomAccessFile reader; NewRandomAccessFile(filesystem, path, &reader, status); if (TF_GetCode(status) != TF_OK) return; char* buffer = static_cast<char*>(plugin_memory_allocate(metadata->size())); int64_t read = tf_random_access_file::Read(&reader, 0, metadata->size(), buffer, status); tf_random_access_file::Cleanup(&reader); if (TF_GetCode(status) != TF_OK) return;
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)