Searched refs:restored_model (Results 1 – 2 of 2) sorted by relevance
1942 std::unique_ptr<Model> restored_model = std::make_unique<Model>(); in FromProto() local1946 mutex_lock lock(restored_model->mu_); in FromProto()1947 restored_model->output_ = output; in FromProto()1948 restored_model->id_counter_ = model_proto.id_counter(); in FromProto()1949 restored_model->collect_resource_usage_.store( in FromProto()1951 *model = std::move(restored_model); in FromProto()
953 std::unique_ptr<model::Model> restored_model; in TEST() local955 TF_ASSERT_OK(model.Load("/tmp/autotune_model_test", &restored_model, in TEST()970 restored_model->collect_resource_usage()); in TEST()971 std::shared_ptr<Node> restored_root = restored_model->output(); in TEST()