- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for TFConcreteFunction (0.23 sec)
-
tensorflow/c/experimental/saved_model/core/revived_types/restored_resource.h
// we allow null here. This will, however, leak resources. RestoredResource(const std::string& device, TFConcreteFunction* create_resource, TFConcreteFunction* initialize, TFConcreteFunction* destroy_resource, ImmediateTensorHandlePtr resource_handle); Status Initialize() const;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 23 04:49:47 UTC 2020 - 4.6K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/tf_concrete_function.h
// 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 // TFConcreteFunction. TFConcreteFunction will register this // function_def with `ctx` on creation, and de-register it on
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/revived_types/tf_concrete_function.cc
#include "tensorflow/core/protobuf/struct.pb.h" namespace tensorflow { TFConcreteFunction::TFConcreteFunction(std::unique_ptr<FlatTensorFunction> func, FunctionMetadata metadata) : func_(std::move(func)), metadata_(std::move(metadata)) {} Status TFConcreteFunction::Create( const FunctionDef* function_def, std::vector<ImmediateExecutionTensorHandle*> captures,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 27 06:55:27 UTC 2020 - 2.4K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/tf_concrete_function_loading_test.cc
captures[5] = std::make_unique<DummyCapture>(context(), 10); std::unique_ptr<TFConcreteFunction> result; Status status = internal::LoadTFConcreteFunction(saved, &func, captures, context(), &result); TF_EXPECT_OK(status) << status.message(); } // A TFConcreteFunction should register functiondefs on creation, and // remove them upon deletion.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 10.6K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/restored_resource.cc
return Status(); } } // namespace RestoredResource::RestoredResource(const std::string& device, TFConcreteFunction* create_resource, TFConcreteFunction* initialize, TFConcreteFunction* destroy_resource, ImmediateTensorHandlePtr resource_handle) : TensorHandleConvertible(std::move(resource_handle)),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 3.1K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc
const SavedObjectGraph& obj_graph, const PartiallyRevivedObjects& objects, std::unique_ptr<TFConcreteFunction>* out) { const auto& capture_node_ids = builder.saved_concrete_func->bound_inputs(); std::vector<ImmediateExecutionTensorHandle*> captures; captures.reserve(capture_node_ids.size());
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/revived_types/flat_tensor_function.h
// of each handle, and will decrement them on destruction). // ctx - A handle to the Tensorflow runtime. This MUST be non-null and // outlive TFConcreteFunction. // out - The output FlatTensorFunction. static Status Create(const FunctionDef* function_def, std::vector<ImmediateExecutionTensorHandle*> captures,
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/core/saved_model_utils.h
// Creates a TFConcreteFunction from a SavedConcreteFunction. Status LoadTFConcreteFunction( const SavedConcreteFunction& saved_concrete_function, const FunctionDef* function_def, const std::unordered_map<int, std::unique_ptr<TensorHandleConvertible>>& captured_objects, ImmediateExecutionContext* ctx, std::unique_ptr<TFConcreteFunction>* out);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 13 04:18:52 UTC 2022 - 5.7K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc
// the graph def function library. for (const FunctionDef& function : bundle.meta_graph_def().graph_def().library().function()) { std::unique_ptr<TFConcreteFunction> concrete_function; TF_RETURN_IF_ERROR(TFConcreteFunction::Create(/*function_def=*/&function, /*captures=*/{}, /*metadata=*/{},
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
// non-null, but otherwise has no lifetime requirements. // captures - The captured TensorHandles associated with this // TFConcreteFunction. // metadata - FunctionMetadata associated with this TFSignatureDefFunction. // ctx - A handle to the Tensorflow runtime. This MUST be non-null and // outlive TFSignatureDefFunction.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 30 19:43:25 UTC 2022 - 4.1K bytes - Viewed (0)