- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for FunctionRecord (0.12 sec)
-
tensorflow/c/c_api_function.cc
for (const Node* n : fn_body->graph.nodes()) { stack_traces[n->name()] = n->GetStackTrace(); } TF_Function* tf_function = new TF_Function(); tf_function->record = new tensorflow::FunctionRecord( std::move(fdef), std::move(stack_traces), false); return tf_function; } TF_Function* TF_GraphToFunction(const TF_Graph* fn_body, const char* fn_name,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 13.7K bytes - Viewed (0) -
tensorflow/c/eager/graph_function.h
// Returns a shared reference to the wrapped function. absl::StatusOr<core::RefCountPtr<FunctionRecord>> GetFunctionRecord() override { return func_record_.GetNewRef(); } // For LLVM style RTTI. static bool classof(const AbstractFunction* ptr) { return ptr->getKind() == kGraph; } private: core::RefCountPtr<FunctionRecord> func_record_; }; } // namespace graph } // namespace tracing
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 1.8K bytes - Viewed (0) -
tensorflow/c/eager/graph_function.cc
#include "tensorflow/core/platform/status.h" namespace tensorflow { namespace tracing { namespace graph { GraphFunction::GraphFunction(FunctionDef fdef) : AbstractFunction(kGraph), func_record_(new FunctionRecord(std::move(fdef), {}, true)) {} GraphFunction::~GraphFunction() {} absl::Status GraphFunction::GetFunctionDef(const FunctionDef **fdef) { *fdef = &(func_record_->fdef()); return absl::OkStatus(); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 1.3K bytes - Viewed (0) -
tensorflow/c/eager/abstract_function.h
#include "tensorflow/core/platform/intrusive_ptr.h" #include "tensorflow/core/platform/refcount.h" #include "tensorflow/core/platform/status.h" namespace tensorflow { class FunctionRecord; // A traced function: this hides the complexity of converting the serialized // representation between various supported formats e.g. FunctionDef and Mlir // function. class AbstractFunction : public core::RefCounted {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 1.9K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_context.h
// Find and return a added function by its name. virtual const FunctionDef* FindFunctionDef(const string& name) const = 0; // Find and return a function record added by its name. virtual core::RefCountPtr<FunctionRecord> FindRecord( const string& name) const = 0; // Return the ParsedName of Host CPU device. virtual const DeviceNameUtils::ParsedName& HostCPUParsedName() const = 0;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 12.3K bytes - Viewed (0) -
tensorflow/c/c_api_internal.h
std::vector<tensorflow::string> missing_unused_key_names_data; }; struct TF_DeviceList { std::vector<tensorflow::DeviceAttributes> response; }; struct TF_Function { tensorflow::FunctionRecord* record; }; struct TF_ApiDefMap { explicit TF_ApiDefMap(const tensorflow::OpList& op_list) : #if !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD) api_def_map(op_list),
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat May 13 00:49:12 UTC 2023 - 7.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
} TF_Function* TFE_ContextGetFunction(TFE_Context* ctx, const char* name, TF_Status* status) { tensorflow::core::RefCountPtr<tensorflow::FunctionRecord> record = tensorflow::unwrap(ctx)->FindRecord(name); if (record == nullptr) { status->status = tensorflow::errors::NotFound( "Unable to find Function with name: ", name); return nullptr;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 43.9K bytes - Viewed (0)