Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for RevivedObjects (0.25 sec)

  1. tensorflow/c/experimental/saved_model/core/revived_types/revived_objects.h

        return it == objects_by_id_.end() ? nullptr : it->second;
      }
    
     private:
      std::vector<std::unique_ptr<T>> objects_;
      absl::flat_hash_map<int, T*> objects_by_id_;
    };
    
    // RevivedObjects is mainly used as a container for all the "state" owned by
    // SavedModel. It stores all non-"user object" nodes from a SavedModel
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 05 23:10:04 UTC 2020
    - 4K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc

                                             const SavedObjectGraph& obj_graph,
                                             const PartiallyRevivedObjects& objects,
                                             RevivedObjects* revived) {
      for (const auto& id_and_resource : objects.restored_resources) {
        const RestoredResourceRevivalState& resource = id_and_resource.second;
        const TFConcreteFunctionRevivalState* create_resource_fn =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 20:11:48 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.h

      SavedModelV2Bundle* GetBundle() override;
    
     private:
      TFSavedModelAPI(const std::string& directory, SavedModelV2Bundle bundle,
                      RevivedObjects revived_objects);
    
      std::string directory_;
      SavedModelV2Bundle bundle_;
      RevivedObjects revived_objects_;
    };
    
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 30 21:44:45 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/core/revived_types/restored_resource.h

     public:
      // Note(bmzhao): RestoredResource stores non-owning pointers to its associated
      // functions because SavedModel internally owns all functions and objects in
      // the RevivedObjects struct (which owns all functions). One alternative would
      // be to have RevivedObjects store shared_ptr<TFConcreteFunction> instead, and
      // change RestoredResource's constructor take shared_ptr<TFConcreteFunction>.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 23 04:49:47 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc

    // https://github.com/tensorflow/tensorflow/blob/ddc1bbad3dfd4a089eb96014f26cc16664b1b2f8/tensorflow/python/training/saving/saveable_object.py#L85
    Status RestoreCheckpoint(SavedModelV2Bundle* bundle,
                             const RevivedObjects& revived_objects,
                             const std::string& directory,
                             ImmediateExecutionContext* context) {
      // TODO(bmzhao): Batch up all the restores into a single restore op per
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.h

      gtl::FlatMap<int, RestoredResourceRevivalState> restored_resources;
      gtl::FlatMap<std::string, int> signatures_map;
    
      Status Build(ImmediateExecutionContext* ctx,
                   const SavedObjectGraph& obj_graph, RevivedObjects* revived);
    };
    
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 30 23:21:36 UTC 2020
    - 3.3K bytes
    - Viewed (0)
Back to top