- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for ConcreteFunction (0.31 sec)
-
tensorflow/cc/experimental/libtf/function.h
TaggedValue) const; private: struct ConcreteFunction { tensorflow::AbstractFunctionPtr trace; TaggedValue input_signature; TaggedValue output_signature; }; tensorflow::StatusOr<ConcreteFunction> GetConcreteFunction(TaggedValue) const; std::vector<ConcreteFunction> concrete_fns_; }; } // namespace libtf } // namespace tf
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 30 21:44:45 UTC 2022 - 1.9K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/tf_saved_model_api.h
class TFSavedModelAPI : public SavedModelAPI { public: Status GetFunction(const std::string& function_path, ConcreteFunction** function) override; Status GetFunctions( int node_id, absl::flat_hash_map<std::string, ConcreteFunction*>* functions) override; Status GetSignatureDefFunction(const std::string& signature_def_key,
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/core/revived_types/tf_concrete_function.h
#include "tensorflow/core/framework/function.pb.h" #include "tensorflow/core/protobuf/saved_object_graph.pb.h" namespace tensorflow { // TF Eager Runtime-based implementation of a "ConcreteFunction" loaded from a // saved model. class TFConcreteFunction : public ConcreteFunction { public: // Factory function for creating a TFConcreteFunction. // // Params: // function_def - The function_def associated with the created
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 30 19:43:25 UTC 2022 - 3.4K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc
TF_RETURN_IF_ERROR(resource.Initialize()); } return Status(); } } // namespace Status TFSavedModelAPI::GetFunction(const std::string& function_path, ConcreteFunction** function) { absl::optional<int> node = internal::FindNodeAtPath(function_path, bundle_.saved_object_graph()); if (!node.has_value()) {
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/revived_types/tf_signature_def_function.h
namespace tensorflow { // This is the TF eager runtime implementation of SignatureDefFunction (separate // from the TFRT implementation). The user-facing API of SignatureDefFunctions // and their semantic differences from ConcreteFunction are described here: // https://github.com/tensorflow/tensorflow/blob/e2db60c9d9598ebae0b7741587ce6f5d473584d9/tensorflow/cc/saved_model/experimental/public/signature_def_function.h#L30-L59
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 30 19:43:25 UTC 2022 - 4.1K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/function.cc
auto cleanup_tensors = absl::MakeCleanup([outs]() { for (auto t : outs) { t->Unref(); } }); return Unflatten(outs, concrete_fn.output_signature); } StatusOr<Function::ConcreteFunction> Function::GetConcreteFunction( TaggedValue value) const { if (concrete_fns_.empty()) { return tensorflow::errors::FailedPrecondition( "No registered ConcreteFunctions."); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 04 19:49:06 UTC 2024 - 9.1K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc
// TODO(bmzhao): Change this to expect TF_OK when loading is implemented. // That unblocks writing other tests that require a TF_SavedModel*, // like loading a ConcreteFunction. This test at least checks that the // C API builds and can be minimally run. EXPECT_EQ(TF_GetCode(status), TF_UNIMPLEMENTED); TF_DeleteSavedModel(saved_model); TF_DeleteStatus(status);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 23 08:08:45 UTC 2024 - 21.3K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/saved_model_utils.cc
return errors::FailedPrecondition( "Only tf.functions annotated with an input signature are supported " "by SavedModelAPI. This means that there should only be a single " "ConcreteFunction per tf.function"); } return Status(); } Status LoadSavedAsset(ImmediateExecutionContext* ctx, const SavedAsset& asset, const std::string& saved_model_dir,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 12 19:17:46 UTC 2023 - 24K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 09 20:11:48 UTC 2023 - 23.7K bytes - Viewed (0) -
RELEASE.md
* Introducing `tf.types.experimental.AtomicFunction` as the fastest way to perform TF computations in Python. * Can be accessed through `inference_fn` property of `ConcreteFunction`s * Does not support gradients.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 730.3K bytes - Viewed (0)