- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for ConcreteFunction (0.18 sec)
-
tensorflow/c/experimental/saved_model/internal/concrete_function_list_type.h
// Internal structures used by the SavedModel C API. These are likely to change // and should not be depended on. struct TF_ConcreteFunctionList { std::vector<tensorflow::ConcreteFunction*> list; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 24 01:59:39 UTC 2020 - 1.2K bytes - Viewed (0) -
tensorflow/cc/saved_model/experimental/public/function_metadata.h
// a valid function path (for TF2-based ConcreteFunctions), and // the types + number of inputs and outputs. class FunctionMetadata final { // TODO(bmzhao): Add getters here as necessary. private: friend class ConcreteFunction; static FunctionMetadata* wrap(TF_FunctionMetadata* p) { return reinterpret_cast<FunctionMetadata*>(p); } static TF_FunctionMetadata* unwrap(FunctionMetadata* p) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 12 19:37:48 UTC 2020 - 1.7K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/public/signature_def_param_list.h
#include "tensorflow/c/experimental/saved_model/public/signature_def_param.h" #ifdef __cplusplus extern "C" { #endif // __cplusplus // An opaque type that containing metadata of an input/output of a // ConcreteFunction loaded from a SavedModel. typedef struct TF_SignatureDefParamList TF_SignatureDefParamList; // Returns the size of `list`. TF_CAPI_EXPORT extern size_t TF_SignatureDefParamListSize(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 30 17:58:21 UTC 2020 - 1.6K 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/public/concrete_function.h
// construction fails, `status` will be non-OK and the returned pointer will be // null. // TODO(bmzhao): Remove this function in a subsequent change; Design + implement // a Function Execution interface for ConcreteFunction that accepts a tagged // union of types (tensorflow::Value). This effectively requires moving much of // the implementation of function.py/def_function.py to C++, and exposing a
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 27 06:55:27 UTC 2020 - 2.7K 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/saved_model/experimental/tests/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(status.code(), TF_UNIMPLEMENTED); } TEST_P(CPPSavedModelAPITest, LoadsSavedModel) { Status status;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jul 14 23:59:14 UTC 2020 - 3.5K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/flat_tensor_function.h
// provided inputs automatically. // Note(bmzhao): This class is mainly intended to house low-level reusable // function logic between SignatureDefFunction and ConcreteFunction, which // present higher level interfaces. This type does *not* hold any "function // metadata". class FlatTensorFunction { public: // Factory for creating a FlatTensorFunction. // // Params:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 22 21:03:41 UTC 2020 - 3.8K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/internal/saved_model_api.cc
const char* function_path, TF_Status* status) { tensorflow::ConcreteFunction* result = nullptr; tensorflow::Status get_function_status = tensorflow::unwrap(model)->GetFunction(function_path, &result); status->status.Update(get_function_status); if (!get_function_status.ok()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Nov 04 00:45:47 UTC 2020 - 4.7K bytes - Viewed (0) -
tensorflow/cc/saved_model/experimental/public/signature_def_function.h
// arguments. Similarly the name of the outputs is stored in // SignatureDefFunctionMetadata::returns(). class SignatureDefFunction final { public: // Returns FunctionMetadata associated with this ConcreteFunction. const SignatureDefFunctionMetadata* GetFunctionMetadata(); private: friend class SavedModelAPI; friend class ConcreteFunctionList; // TODO(bmzhao): Consider adding a macro for wrapping/unwrapping
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 17 23:03:48 UTC 2020 - 4.5K bytes - Viewed (0)