Home
last modified time | relevance | path

Searched refs:TracingContext (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/python/framework/experimental/
Dunified_api.cc54 using tensorflow::tracing::TracingContext;
95 if (!isa<TracingContext>(ctx)) { in PYBIND11_MODULE()
102 return dyn_cast<TracingContext>(ctx); in PYBIND11_MODULE()
132 py::class_<TracingContext, AbstractContext>(m, "TracingContext") in PYBIND11_MODULE()
134 [](TracingContext* self, DataType dtype) { in PYBIND11_MODULE()
142 .def("Finalize", [](TracingContext* self, py::handle& outputs) { in PYBIND11_MODULE()
/external/tensorflow/tensorflow/c/eager/
Dc_api_unified_experimental.cc74 static TracingContext* CreateTracingExecutionContext(const char* fn_name, in CreateTracingExecutionContext()
107 using tensorflow::tracing::TracingContext;
124 TracingContext* tracing_ctx = dyn_cast<TracingContext>(unwrap(ctx)); in TF_FinalizeFunction()
141 TracingContext* tracing_ctx = dyn_cast<TracingContext>(unwrap(func)); in TF_AddFunctionParameter()
Dc_api_unified_experimental_internal.h105 class TracingContext : public AbstractContext {
107 explicit TracingContext(AbstractContextKind kind) : AbstractContext(kind) {} in TracingContext() function
124 typedef TracingContext* (*FactoryFunction)(const char* fn_name, TF_Status*);
Dunified_api_test.cc149 Status s = dyn_cast<tracing::TracingContext>(ctx.get())->AddParameter( in TEST_P()
176 s = dyn_cast<tracing::TracingContext>(ctx.get())->AddParameter( in TEST_P()
Dunified_api_testutil.cc44 TF_RETURN_IF_ERROR(dyn_cast<tracing::TracingContext>(ctx)->AddParameter( in CreateParamsForInputs()
88 TF_RETURN_IF_ERROR(dyn_cast<tracing::TracingContext>(func_ctx.get()) in RunModel()
Dc_api_unified_experimental_graph.cc346 class GraphContext : public TracingContext {
349 : TracingContext(kGraph), in GraphContext()
434 static TracingContext* GraphTracingFactory(const char* name, TF_Status* s) { in GraphTracingFactory()
Dgradients_util.cc230 TF_RETURN_IF_ERROR(dyn_cast<tracing::TracingContext>(ctx)->AddParameter( in CreateParamsForInputs()
274 TF_RETURN_IF_ERROR(dyn_cast<tracing::TracingContext>(func_ctx.get()) in RunModel()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/c/
Dc_api_unified_experimental_mlir_registration.cc18 using tensorflow::tracing::TracingContext;
21 TracingContext* MlirTracingFactory(const char* fn_name, TF_Status* s);
Dc_api_unified_experimental_mlir.cc73 using tensorflow::tracing::TracingContext;
241 class MlirFunctionContext : public TracingContext {
244 : TracingContext(kMlir), in MlirFunctionContext()
679 TracingContext* MlirTracingFactory(const char* fn_name, TF_Status* s) { in MlirTracingFactory()