- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for ctime (0.14 sec)
-
tensorflow/c/experimental/filesystem/modular_filesystem.cc
ops_->stat(filesystem_.get(), translated_name.c_str(), &stats, plugin_status.get()); if (TF_GetCode(plugin_status.get()) == TF_OK) { stat->length = stats.length; stat->mtime_nsec = stats.mtime_nsec; stat->is_directory = stats.is_directory; } return StatusFromTF_Status(plugin_status.get()); } Status ModularFileSystem::IsDirectory(const std::string& name,
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/env.cc
::tensorflow::Status s = ::tensorflow::Env::Default()->Stat(filename, &cc_stats); ::tensorflow::Set_TF_Status_from_Status(status, s); if (s.ok()) { stats->length = cc_stats.length; stats->mtime_nsec = cc_stats.mtime_nsec; stats->is_directory = cc_stats.is_directory; } } void TF_NewWritableFile(const char* filename, TF_WritableFileHandle** handle, TF_Status* status) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 7K bytes - Viewed (0) -
tensorflow/c/env_test.cc
TF_StringStreamDone(children); TF_FileStatistics stats; TF_FileStat(filepath.c_str(), &stats, s); ASSERT_EQ(stats.length, strlen(data)); ASSERT_FALSE(stats.is_directory); ASSERT_GT(stats.mtime_nsec, 0); // Trying to delete a non-empty directory should fail. TF_DeleteDir(dirpath.c_str(), s); ASSERT_NE(TF_OK, TF_GetCode(s)) << "TF_DeleteDir unexpectedly succeeded with a non-empty directory "
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Dec 10 20:52:48 GMT 2018 - 4.2K bytes - Viewed (0) -
tensorflow/c/c_test.c
const char* path; if (!TF_StringStreamNext(s, &path)) { fprintf(stderr, "TF_GetLocalTempDirectories returned no results\n"); return 1; } char file_name[100]; time_t t = time(NULL); snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t); size_t length = 2 + strlen(path) + strlen(file_name); char* full_path = malloc(length);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Apr 24 20:50:35 GMT 2024 - 2.8K bytes - Viewed (0) -
CODE_OF_CONDUCT.md
If you are experiencing or witnessing conflict, we ask you to use the following escalation strategy to address the conflict: 1. Address the perceived conflict directly with those involved, preferably in a real-time medium. 2. If this fails, get a third party (e.g. a mutual friend, and/or someone with background on the issue, but not involved in the conflict) to intercede.
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Fri Feb 05 18:43:16 GMT 2021 - 5.2K bytes - Viewed (0) -
tensorflow/api_template.__init__.py
setattr(_current_module, "optimizers", _optimizers) setattr(_current_module, "initializers", _initializers) # Do an eager load for Keras' code so that any function/method that needs to # happen at load time will trigger, eg registration of optimizers in the # SavedModel registry. # See b/196254385 for more details. try: if _tf_uses_legacy_keras: importlib.import_module("tf_keras.src.optimizers") else:
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 05 06:27:59 GMT 2024 - 6.7K bytes - Viewed (3) -
tensorflow/c/eager/c_api.h
// The number of dimensions used to represent the tensor on device can be // different from the number returned by TFE_TensorHandleNumDims. // The return value was current at the time of TFE_TensorDebugInfo creation. TF_CAPI_EXPORT extern int TFE_TensorDebugInfoOnDeviceNumDims( TFE_TensorDebugInfo* debug_info); // Returns the number of elements in dimension `dim_index`.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Viewed (1) -
ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch
- b 2f \n\ -1: .word _dl_start \n\ -2: \n\ - " : "=r" (static_addr), "=r" (dynamic_addr)); - return dynamic_addr - static_addr; + _DYNAMIC sysmbol is used here as its link-time address stored in + the special unrelocated first GOT entry. */ + + extern ElfW(Dyn) _DYNAMIC[] attribute_hidden; + return (ElfW(Addr)) &_DYNAMIC - elf_machine_dynamic (); }
Others - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 8.9K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
stat->base.length = metadata->size(); stat->base.mtime_nsec = metadata->time_storage_class_updated().time_since_epoch().count(); stat->base.is_directory = object.back() == '/'; TF_VLog(1, "Stat of: gs://%s/%s -- length: %u generation: %u; mtime_nsec: %u;", bucket.c_str(), object.c_str(), stat->base.length, stat->generation_number, stat->base.mtime_nsec); return TF_SetStatus(status, TF_OK, ""); }
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) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.h
// that provides the filesystem functionality. However, the POSIX filesystem // needs to be statically registered in some tests and utilities for building // the API files at the time of creating the pip package. Hence, we need to // expose this function so that this filesystem can be statically registered // when needed. void TF_InitPlugin(TF_FilesystemPluginInfo* info);
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Mar 20 16:42:12 GMT 2020 - 1.5K bytes - Viewed (0)