- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 44 for concrete_functions (0.22 sec)
-
tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc
destination_sig_map = &revived->signature_def_functions; for (const auto& id_and_func : objects.concrete_functions) { int node_id = id_and_func.first; const TFConcreteFunctionRevivalState& func = id_and_func.second; if (revived->concrete_functions.Find(node_id)) { // The function has already been initialized in the destination_map,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 09 20:11:48 UTC 2023 - 23.7K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/saved_model_utils.cc
} // Retrieve related function information. const std::string& function_name = saved_function.concrete_functions(0); const FunctionDef* function_def = function_def_map.at(function_name); const SavedConcreteFunction& saved_concrete_func = metagraph.object_graph_def().concrete_functions().at(function_name); const FunctionSpec& function_spec = saved_function.function_spec();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 12 19:17:46 UTC 2023 - 24K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/runtime/runtime.cc
const SavedObjectGraph object_graph = tf_package->GetObjectGraph(); auto& nodes = object_graph.nodes(); // Get a map of the concrete functions to their input / output signatures. auto& concrete_functions = object_graph.concrete_functions(); auto& root = nodes.at(0); for (auto& child : root.children()) { // The child's name describes the name of the edge that connects to the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 01 11:18:25 UTC 2022 - 7.4K bytes - Viewed (0) -
tensorflow/cc/saved_model/fingerprinting.cc
// Sort `concrete_functions`, which is an unordered map from function names to // SavedConcreteFunction, using the suffix UID of the function name. Assumes // that the trackable children are listed in a deterministic order during // serialization. absl::btree_map<int64_t, std::string> uid_to_function_names; for (const auto& [name, concrete_function] : object_graph_def.concrete_functions()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 26 00:24:44 UTC 2024 - 9.8K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc
std::unique_ptr<TFConcreteFunction> concrete_function; TF_RETURN_IF_ERROR(TFConcreteFunction::Create(/*function_def=*/&function, /*captures=*/{}, /*metadata=*/{}, /*ctx=*/context, /*out=*/&concrete_function));
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/core/object_graph_traversal_test.cc
node_id: 2 local_name: "bar" } user_object { identifier: "_generic_user_object" version { producer: 1 min_consumer: 1 } } } nodes { function { concrete_functions: "__inference_my_func_5" function_spec { fullargspec { named_tuple_value { name: "FullArgSpec" values { key: "args" value {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 22 20:15:34 UTC 2020 - 7.9K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.h
gtl::FlatMap<int, std::unique_ptr<Variable>> variables; gtl::FlatMap<int, std::unique_ptr<Asset>> assets; gtl::FlatMap<int, std::unique_ptr<Constant>> constants; gtl::FlatMap<int, TFConcreteFunctionRevivalState> concrete_functions; gtl::FlatMap<int, TFSignatureDefFunctionRevivalState> signature_def_functions; gtl::FlatMap<int, RestoredResourceRevivalState> restored_resources; gtl::FlatMap<std::string, int> signatures_map;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 30 23:21:36 UTC 2020 - 3.3K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/revived_objects.h
gtl::FlatMap<int, std::unique_ptr<Constant>> constants; gtl::FlatMap<int, std::unique_ptr<TFSignatureDefFunction>> signature_def_functions; RevivedObjectContainer<TFConcreteFunction> concrete_functions; gtl::FlatMap<int, RestoredResource> restored_resources; gtl::FlatMap<std::string, int> signatures_map; }; } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 05 23:10:04 UTC 2020 - 4K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/concrete_function.h
#include "tensorflow/c/experimental/saved_model/core/function_metadata.h" namespace tensorflow { // ConcreteFunctions correspond to an instance of a tf.function with a known set // of inputs (either through get_concrete_function) or an input_signature. // ConcreteFunction attempts to preserve the user-facing semantics of the // tf.function python API and can take a limited set of types as arguments
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 29 15:50:58 UTC 2021 - 2.4K bytes - Viewed (0) -
tensorflow/cc/saved_model/experimental/public/concrete_function.h
#include "tensorflow/c/experimental/saved_model/public/concrete_function.h" #include "tensorflow/cc/experimental/base/public/status.h" #include "tensorflow/cc/saved_model/experimental/public/function_metadata.h" namespace tensorflow { namespace experimental { namespace cc { // ConcreteFunction is an executable "function" loaded from a SavedModelAPI. class ConcreteFunction final { public:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 12 19:37:48 UTC 2020 - 2.2K bytes - Viewed (0)