- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for fileName (0.16 sec)
-
tensorflow/c/checkpoint_reader.cc
CheckpointReader::CheckpointReader(const string& filename, TF_Status* status) : reader_(nullptr), v2_reader_(nullptr), var_to_shape_map_(nullptr), var_to_data_type_map_(nullptr) { // Depending on whether this is a V2 ckpt, initializes "reader_" or // "v2_reader_". std::vector<string> v2_path; if (Env::Default()->GetMatchingPaths(MetaFilename(filename), &v2_path).ok() && !v2_path.empty()) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Aug 25 21:29:12 GMT 2023 - 5.5K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.cc
} Status ModularRandomAccessFile::Name(StringPiece* result) const { *result = filename_; return OkStatus(); } Status ModularWritableFile::Append(StringPiece data) { if (ops_->append == nullptr) return errors::Unimplemented(tensorflow::strings::StrCat( "Append() not implemented for ", filename_)); UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 23.1K bytes - Viewed (0) -
tensorflow/c/checkpoint_reader.h
// other languages. // // The class currently only interacts with single-slice (i.e., non-partitioned) // variables. class CheckpointReader { public: CheckpointReader(const string& filename, TF_Status* status); bool HasTensor(const string& name) const; const string DebugString() const; // Returns a map from variable names to their shapes. Slices of a partitioned
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 12 08:49:52 GMT 2023 - 3.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.h
}; class ModularRandomAccessFile final : public RandomAccessFile { public: ModularRandomAccessFile(const std::string& filename, std::unique_ptr<TF_RandomAccessFile> file, const TF_RandomAccessFileOps* ops) : filename_(filename), file_(std::move(file)), ops_(ops) {} ~ModularRandomAccessFile() override { ops_->cleanup(file_.get()); }
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 12 08:49:52 GMT 2023 - 8.9K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc
typedef struct PosixFile { const char* filename; int fd; } PosixFile; static void Cleanup(TF_RandomAccessFile* file) { auto posix_file = static_cast<PosixFile*>(file->plugin_file); close(posix_file->fd); // This would be safe to free using `free` directly as it is only opaque. // However, it is better to be consistent everywhere. plugin_memory_free(const_cast<char*>(posix_file->filename)); delete posix_file; }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sun Mar 24 20:08:23 GMT 2024 - 15.8K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/rename_and_verify_wheels.sh
# limitations under the License. # ============================================================================== # Check and rename wheels with auditwheel. Inserts the platform tags like # "manylinux_xyz" into the wheel filename. set -euxo pipefail for wheel in /tf/pkg/*.whl; do echo "Checking and renaming $wheel..." time python3 -m auditwheel repair --plat manylinux2014_aarch64 "$wheel" --wheel-dir /tf/pkg 2>&1 | tee check.txt
Shell Script - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Sep 18 19:00:37 GMT 2023 - 1.3K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
std::vector<std::string> variable_list; }; TF_CheckpointReader* TF_NewCheckpointReader(const char* filename, TF_Status* status) { TF_CheckpointReader* reader = new TF_CheckpointReader(filename, status); if (!status->status.ok()) { TF_DeleteCheckpointReader(reader); return nullptr; }
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) -
ci/official/wheel_test/test_import_api_packages.py
class ImportApiPackagesTest(unittest.TestCase): """ImportApiPackagesTest class. See description at the top of the file.""" def setUp(self): def _get_api_packages_v2(): api_packages_path = pkg_resources.resource_filename( "tensorflow", "_api/v2/api_packages.txt" ) logging.info("Load api packages file: %s", api_packages_path) with open(api_packages_path) as file: return set(file.read().splitlines())
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Sep 13 15:52:07 GMT 2023 - 3.3K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
file_block_cache = std::make_unique<RamFileBlockCache>( block_size, max_bytes, max_staleness, [this](const std::string& filename, size_t offset, size_t buffer_size, char* buffer, TF_Status* status) { return LoadBufferFromGCS(filename, offset, buffer_size, buffer, this, status); }); uint64_t stat_cache_max_age = kStatCacheDefaultMaxAge;
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) -
ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats
Please rename files so there are no repeats. For example, README.md and Readme.md would be the same file on Windows. In this test, you would get a warning for "readme.md" because it makes everything lowercase. There are repeats of these filename(s) with different casing: EOF find . | tr '[A-Z]' '[a-z]' | sort | uniq -d | tee $BATS_FILE_TMPDIR/repeats [[ ! -s $BATS_FILE_TMPDIR/repeats ]] }
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 12.7K bytes - Viewed (0)