Home
last modified time | relevance | path

Searched refs:func_handle (Results 1 – 3 of 3) sorted by relevance

/external/python/pybind11/include/pybind11/
Dfunctional.h58 struct func_handle {
60 func_handle(function&& f_) : f(std::move(f_)) {}
61 func_handle(const func_handle& f_) {
65 ~func_handle() {
73 func_handle hfunc;
74 func_wrapper(func_handle&& hf): hfunc(std::move(hf)) {}
83 value = func_wrapper(func_handle(std::move(func)));
/external/tensorflow/tensorflow/compiler/tf2xla/
Dconst_analysis.cc40 FunctionLibraryRuntime::Handle func_handle; in GetFunctionBody() local
42 name_attr_list.name(), AttrSlice(&name_attr_list.attr()), &func_handle)); in GetFunctionBody()
43 *fbody = flib_runtime->GetFunctionBody(func_handle); in GetFunctionBody()
53 FunctionLibraryRuntime::Handle func_handle; in GetFunctionBodies() local
56 &func_handle)); in GetFunctionBodies()
57 fbodies->push_back(flib_runtime->GetFunctionBody(func_handle)); in GetFunctionBodies()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/kernels/
Dtrt_engine_op.cc312 FunctionLibraryRuntime::Handle func_handle; in ConstructFunctionHandle() local
314 inst_ops, &func_handle); in ConstructFunctionHandle()
316 return func_handle; in ConstructFunctionHandle()
323 TF_ASSIGN_OR_RETURN(FunctionLibraryRuntime::Handle func_handle, in ImportSegmentGraphDef()
325 return FunctionDefToGraphDef(func_handle, lib, &segment_graph_def_); in ImportSegmentGraphDef()