- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for kSavedModelVariablesFilename (0.24 sec)
-
tensorflow/cc/experimental/libexport/load.cc
// MLAs come along if (Env::Default()->FileExists(variables_dir).ok()) { tf_package.has_checkpoint_ = true; tf_package.variables_filepath_ = tensorflow::io::JoinPath( variables_dir, tensorflow::kSavedModelVariablesFilename); tf_package.variable_reader_ = std::make_unique<tensorflow::BundleReader>( tensorflow::Env::Default(), tf_package.variables_filepath_); tensorflow::Tensor object_graph_tensor;
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
// 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 // V2 SavedModels. inline constexpr char kSavedModelInitOpSignatureKey[] = "__saved_model_init_op";
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
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/bundle_v2.cc
<< "No checkpoint found, assuming this is a program-only SavedModel"; } else { // Load the variables checkpoint reader. const std::string variables_prefix = io::JoinPath(variables_dir, kSavedModelVariablesFilename); bundle->variable_reader_ = std::make_unique<BundleReader>(Env::Default(), variables_prefix); TF_RETURN_WITH_CONTEXT_IF_ERROR( bundle->variable_reader_->status(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 05 18:28:37 UTC 2023 - 9.1K bytes - Viewed (0)