- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for positional (0.39 sec)
-
tensorflow/c/experimental/filesystem/modular_filesystem.cc
*result = filename_; return OkStatus(); } Status ModularWritableFile::Tell(int64_t* position) { if (ops_->tell == nullptr) return errors::Unimplemented( tensorflow::strings::StrCat("Tell() not implemented for ", filename_)); UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus); *position = ops_->tell(file_.get(), plugin_status.get()); return StatusFromTF_Status(plugin_status.get()); }
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) -
RELEASE.md
layers in order to work, where the Keras symbolic shape inference proves insufficient. * Code that tries manually walking a `tf.keras.Model` layer by layer and assumes layers only ever have one positional argument. This assumption doesn't hold true before TF 2.4 either, but is more likely to cause issues now. * Code that manually enters `keras.backend.get_graph()` before building a
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Apr 29 19:17:57 GMT 2024 - 727.7K bytes - Viewed (8) -
tensorflow/c/experimental/filesystem/modular_filesystem.h
Status Append(StringPiece data) override; Status Close() override; Status Flush() override; Status Sync() override; Status Name(StringPiece* result) const override; Status Tell(int64_t* position) override; private: std::string filename_; std::unique_ptr<TF_WritableFile> file_; const TF_WritableFileOps* ops_; // not owned ModularWritableFile(const ModularWritableFile&) = delete;
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/gcs/gcs_filesystem.cc
auto gcs_file = static_cast<GCSFile*>(file->plugin_file); int64_t position = int64_t(gcs_file->outfile.tellp()); if (position == -1) TF_SetStatus(status, TF_INTERNAL, "tellp on the internal temporary file failed"); else TF_SetStatus(status, TF_OK, ""); return position == -1 ? -1 : position + (gcs_file->offset == -1 ? 0 : gcs_file->offset); }
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.cc
// POSIX's `ftell` returns `long`, do a manual cast. int64_t position = int64_t{ftell(posix_file->handle)}; if (position < 0) TF_SetStatusFromIOError(status, errno, posix_file->filename); else TF_SetStatus(status, TF_OK, ""); return position; } static void Flush(const TF_WritableFile* file, TF_Status* status) {
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)