- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for TFSavedModelAPI (0.12 sec)
-
tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc
return errors::NotFound("No variable found at path ", variable_path); } *variable = variables_iter->second.get(); return Status(); } SavedModelV2Bundle* TFSavedModelAPI::GetBundle() { return &this->bundle_; } TFSavedModelAPI::TFSavedModelAPI(const std::string& directory, SavedModelV2Bundle bundle, RevivedObjects revived_objects) : directory_(directory),
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/c/experimental/saved_model/internal/saved_model_api.cc
status->status = tensorflow::errors::Unimplemented( "TFRT SavedModel implementation will be added in the future"); } else { std::unique_ptr<tensorflow::TFSavedModelAPI> saved_model; status->status = tensorflow::TFSavedModelAPI::Load( dirname, absl::nullopt, tensorflow::down_cast<tensorflow::EagerContext*>( tensorflow::unwrap(ctx)), &saved_model);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Nov 04 00:45:47 UTC 2020 - 4.7K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/tf_saved_model_api.h
ImmediateExecutionContext* context, std::unique_ptr<TFSavedModelAPI>* out); ~TFSavedModelAPI() override = default; Status GetVariable(const std::string& variable_path, Variable** variable); SavedModelV2Bundle* GetBundle() override; private: TFSavedModelAPI(const std::string& directory, SavedModelV2Bundle bundle, RevivedObjects revived_objects);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 30 21:44:45 UTC 2022 - 3.9K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc
TF_SavedModel* saved_model = TF_LoadSavedModel(model_dir.c_str(), ctx, status); EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); tensorflow::TFSavedModelAPI* model_api = tensorflow::down_cast<tensorflow::TFSavedModelAPI*>( tensorflow::unwrap(saved_model)); tensorflow::Variable* uninitialized_variable; ASSERT_EQ(absl::OkStatus(), model_api->GetVariable("uninitialized_variable",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 23 08:08:45 UTC 2024 - 21.3K bytes - Viewed (0)