| 472 | } |
| 473 | |
| 474 | Status RemoteSessionInstance::RecursionCreateSession(const Version& version, |
| 475 | IFeatureStoreMgr* sparse_storage, ModelConfig* model_config) { |
| 476 | TF_RETURN_IF_ERROR(session_mgr_->CreateModelSession(version, |
| 477 | version.full_ckpt_name.c_str(), |
| 478 | sparse_storage, /*is_incr_ckpt*/false, |
| 479 | /*is_initialize*/storage_options_->is_init_storage_, |
| 480 | model_config, signature_hash_value_)); |
| 481 | |
| 482 | if (version.delta_ckpt_name.empty()) { |
| 483 | return Status::OK(); |
| 484 | } else { |
| 485 | return session_mgr_->CreateModelSession(version, |
| 486 | version.delta_ckpt_name.c_str(), |
| 487 | sparse_storage, /*is_incr_ckpt*/true, |
| 488 | /*is_initialize*/storage_options_->is_init_storage_, |
| 489 | model_config, signature_hash_value_); |
| 490 | } |
| 491 | } |
| 492 | |
| 493 | Status RemoteSessionInstance::Init(ModelConfig* model_config, |
| 494 | ModelStore* model_store, bool active) { |
nothing calls this directly
no test coverage detected