Home
last modified time | relevance | path

Searched refs:callback_fn (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/python/framework/
Dop_callbacks.py25 def add_op_callback(callback_fn): argument
105 if callback_fn is None:
107 if not callable(callback_fn):
110 "but is not. Received %s" % callback_fn)
112 ctx.add_op_callback(callback_fn)
/external/tensorflow/tensorflow/c/experimental/stream_executor/
Dstream_executor_test.cc112 SE_StatusCallbackFn const callback_fn, in host_callback() argument
892 SE_StatusCallbackFn const callback_fn, in TEST_F()
895 callback_fn(callback_arg, status); in TEST_F()
912 SE_StatusCallbackFn const callback_fn, in TEST_F() argument
915 callback_fn(callback_arg, status); in TEST_F()
Dstream_executor.h399 SE_StatusCallbackFn callback_fn, void* callback_arg);
/external/libcap/libcap/include/sys/
Dcapability.h189 int (callback_fn)(void *detail));
/external/llvm/include/llvm/ADT/
DSTLExtras.h76 static Ret callback_fn(intptr_t callable, Params ...params) { in callback_fn() function
87 : callback(callback_fn<typename std::remove_reference<Callable>::type>), in callback()
/external/libcap/libcap/
Dcap_proc.c765 void cap_launcher_callback(cap_launch_t attr, int (callback_fn)(void *detail)) in cap_launcher_callback()
767 attr->custom_setup_fn = callback_fn; in cap_launcher_callback()
/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/client/
Dlibtpu.h199 void (*callback_fn)(struct TpuStatus*, void* additional_info),
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DSTLExtras.h62 static Ret callback_fn(intptr_t callable, Params ...params) { in callback_fn() function
73 : callback(callback_fn<typename std::remove_reference<Callable>::type>), in callback()
/external/tensorflow/tensorflow/stream_executor/tpu/
Dtpu_executor_c_api.h174 SE_StatusCallbackFn callback_fn, void* ctx);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DSTLExtras.h107 static Ret callback_fn(intptr_t callable, Params ...params) {
121 : callback(callback_fn<typename std::remove_reference<Callable>::type>),
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc3536 PyObject* callback_fn = PyList_GET_ITEM(op_exec_info.callbacks, i); local
3537 if (!PyCallable_Check(callback_fn)) {
3542 i, callback_fn->ob_type->tp_name)
3547 PyObject_CallObject(callback_fn, callback_args.get());
/external/llvm-project/llvm/include/llvm/ADT/
DSTLExtras.h184 static Ret callback_fn(intptr_t callable, Params ...params) {
205 : callback(callback_fn<typename std::remove_reference<Callable>::type>),