- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for kSavedModelVariablesDirectory (0.28 sec)
-
tensorflow/cc/experimental/libexport/load.cc
path); } // Load the trackable object graph for restoring checkpoint values const std::string variables_dir = tensorflow::io::JoinPath(path, tensorflow::kSavedModelVariablesDirectory); // TODO(b/228181641): revisit non-explicit-checkpoint-loading behavior when // MLAs come along if (Env::Default()->FileExists(variables_dir).ok()) { tf_package.has_checkpoint_ = true;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 13 15:16:07 UTC 2023 - 5.1K bytes - Viewed (0) -
tensorflow/cc/saved_model/constants.h
// SavedModel. inline constexpr char kSavedModelDebugInfoFilenamePb[] = "saved_model_debug_info.pb"; // Directory in which to save the SavedModel variables. inline constexpr char kSavedModelVariablesDirectory[] = "variables"; // SavedModel variables filename. inline constexpr char kSavedModelVariablesFilename[] = "variables"; // SavedModel SignatureDef keys for the initialization and train ops. Used in
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 23:02:22 UTC 2023 - 3.1K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/ops/restore_ops_test.cc
namespace tensorflow { namespace { std::string CheckpointPrefix(StringPiece saved_model_dir) { return io::JoinPath(testing::TensorFlowSrcRoot(), "cc/saved_model/testdata", saved_model_dir, kSavedModelVariablesDirectory, kSavedModelVariablesFilename); } class RestoreOpsTest : public ::testing::Test { public: RestoreOpsTest() : device_mgr_(testing::CreateTestingDeviceMgr()),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 4.2K bytes - Viewed (0) -
tensorflow/cc/saved_model/fingerprinting.cc
// TODO(b/290063184): remove when USM is GA uint64_t HashCheckpointIndexFile(absl::string_view model_dir) { std::string meta_filename = MetaFilename(io::JoinPath( model_dir, kSavedModelVariablesDirectory, kSavedModelVariablesFilename)); std::string data; absl::Status read_status = ReadFileToString(Env::Default(), meta_filename, &data); if (read_status.ok()) { return tensorflow::Fingerprint64(data);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 26 00:24:44 UTC 2024 - 9.8K bytes - Viewed (0) -
tensorflow/cc/saved_model/bundle_v2.cc
} // Load GraphDebugInfo. TF_RETURN_IF_ERROR( ReadSavedModelDebugInfoIfPresent(export_dir, &bundle->debug_info_)); const std::string variables_dir = io::JoinPath(export_dir, kSavedModelVariablesDirectory); if (!Env::Default()->FileExists(variables_dir).ok()) { LOG(INFO) << "No checkpoint found, assuming this is a program-only SavedModel"; } else { // Load the variables checkpoint reader.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 05 18:28:37 UTC 2023 - 9.1K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc
<< ". Variable will be uninitialized."; return Status(); } std::string variables_path_prefix = io::JoinPath(directory, kSavedModelVariablesDirectory, kSavedModelVariablesFilename); ImmediateTensorHandlePtr restored_output; TF_RETURN_IF_ERROR(internal::SingleRestore(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 09:34:33 UTC 2024 - 14.1K bytes - Viewed (0) -
tensorflow/cc/saved_model/fingerprinting_utils.cc
using fingerprinting_utils_internal::SerializeProto; uint64_t HashCheckpointIndexFile(absl::string_view model_dir) { std::string meta_filename = MetaFilename(io::JoinPath( model_dir, kSavedModelVariablesDirectory, kSavedModelVariablesFilename)); std::string data; absl::Status read_status = ReadFileToString(Env::Default(), meta_filename, &data); if (read_status.ok()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 20 22:19:55 UTC 2024 - 20.2K bytes - Viewed (0) -
tensorflow/cc/saved_model/loader.cc
LOG(INFO) << "Restoring SavedModel bundle."; // Find path to variables to be restored in export directory. const string variables_directory = io::JoinPath(export_dir, kSavedModelVariablesDirectory); // Check for saver checkpoints in v2 format. Models exported in the checkpoint // v2 format will have a variables.index file. The corresponding // variables are stored in the variables.data-?????-of-????? files.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 02 04:36:00 UTC 2024 - 23K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
module_->getLoc(), /*sym_name=*/ builder.getStringAttr("__tf_saved_model_variables"), /*filename=*/ builder.getStringAttr(io::JoinPath(kSavedModelVariablesDirectory, kSavedModelVariablesFilename))); variable_and_assets.push_back( {input_.meta_graph_def().saver_def().filename_tensor_name(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0)