- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for RegisterTracingEngineFactory (0.17 seconds)
-
tensorflow/c/eager/c_api_unified_experimental_internal.h
} }; typedef TracingContext* (*FactoryFunction)(const char* fn_name, TF_Status*); absl::Status SetDefaultTracingEngine(const char* name); void RegisterTracingEngineFactory(const ::tensorflow::string& name, FactoryFunction factory); } // namespace tracing DEFINE_CONVERSION_FUNCTIONS(AbstractContext, TF_ExecutionContext)
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 5.2K bytes - Click Count (0) -
tensorflow/c/eager/c_api_unified_experimental.cc
static FactoriesMap& GetFactories() { static FactoriesMap* factories = new FactoriesMap; return *factories; } static tracing::FactoryFunction default_factory; void RegisterTracingEngineFactory(const string& name, FactoryFunction factory) { assert((!GetFactories().count(name)) || (GetFactories()[name] == factory) && "Duplicate tracing factory registration");
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 9K bytes - Click Count (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
return new GraphContext(name); } // Register the tracing implemented in this file as the default tracing engine. static bool register_tracing = [] { RegisterTracingEngineFactory("graphdef", GraphTracingFactory); SetDefaultTracingEngine("graphdef").IgnoreError(); return true; }(); } // namespace graph } // namespace tracing
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat May 31 07:13:41 GMT 2025 - 15.7K bytes - Click Count (0)