Home
last modified time | relevance | path

Searched refs:init_func (Results 1 – 25 of 29) sorted by relevance

12

/external/protobuf/src/google/protobuf/stubs/
Donce.h94 inline void GoogleOnceInit(ProtobufOnceType* once, void (*init_func)()) { in GoogleOnceInit() argument
97 init_func(); in GoogleOnceInit()
102 inline void GoogleOnceInit(ProtobufOnceType* once, void (*init_func)(Arg), in GoogleOnceInit()
106 init_func(arg); in GoogleOnceInit()
125 inline void GoogleOnceInit(ProtobufOnceType* once, void (*init_func)()) {
127 internal::FunctionClosure0 func(init_func, false);
133 inline void GoogleOnceInit(ProtobufOnceType* once, void (*init_func)(Arg*),
136 internal::FunctionClosure1<Arg*> func(init_func, false, arg);
/external/v8/src/base/
Donce.h85 std::function<void()> init_func);
87 inline void CallOnce(OnceType* once, NoArgFunction init_func) { in CallOnce() argument
89 CallOnceImpl(once, init_func); in CallOnce()
96 typename OneArgFunction<Arg*>::type init_func, Arg* arg) { in CallOnce() argument
98 CallOnceImpl(once, [=]() { init_func(arg); }); in CallOnce()
Donce.cc18 void CallOnceImpl(OnceType* once, std::function<void()> init_func) { in CallOnceImpl() argument
37 init_func(); in CallOnceImpl()
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dgroup_by_reducer_test.py41 init_func=lambda _: np.int64(0),
59 init_func=lambda _: (0.0, 0.0),
74 init_func=lambda x: "",
95 init_func=lambda _: _sparse(np.int64(0)),
116 init_func=lambda x: ([0], 1),
135 init_func=lambda x: constant_op.constant(1, dtype=dtypes.int32),
149 init_func=lambda x: np.int64(0),
162 init_func=lambda x: np.int64(0),
/external/tensorflow/tensorflow/core/kernels/data/
Dgenerator_dataset_op.cc33 Dataset(OpKernelContext* ctx, std::unique_ptr<CapturedFunction> init_func, in Dataset() argument
39 init_func_(std::move(init_func)), in Dataset()
166 std::unique_ptr<CapturedFunction> init_func; in MakeDataset() local
168 init_func_, ctx, "init_func_other_args", &init_func)); in MakeDataset()
180 new Dataset(ctx, std::move(init_func), std::move(next_func), in MakeDataset()
/external/tensorflow/tensorflow/python/data/experimental/ops/
Dgrouping.py253 self._make_init_func(reducer.init_func)
263 init_func=self._init_func.function,
280 def _make_init_func(self, init_func): argument
283 init_func,
453 def __init__(self, init_func, reduce_func, finalize_func): argument
454 self._init_func = init_func
459 def init_func(self): member in Reducer
Dprefetching_ops.py208 init_func=self._init_func,
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.data.experimental.-reducer.pbtxt10 name: "init_func"
19 …argspec: "args=[\'self\', \'init_func\', \'reduce_func\', \'finalize_func\'], varargs=None, keywor…
Dtensorflow.raw_ops.pbtxt1069 …c_other_arguments\', \'finalize_func_other_arguments\', \'key_func\', \'init_func\', \'reduce_func…
1389 …other_args\', \'next_func_other_args\', \'finalize_func_other_args\', \'init_func\', \'next_func\'…
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.data.experimental.-reducer.pbtxt10 name: "init_func"
19 …argspec: "args=[\'self\', \'init_func\', \'reduce_func\', \'finalize_func\'], varargs=None, keywor…
Dtensorflow.raw_ops.pbtxt1069 …c_other_arguments\', \'finalize_func_other_arguments\', \'key_func\', \'init_func\', \'reduce_func…
1389 …other_args\', \'next_func_other_args\', \'finalize_func_other_args\', \'init_func\', \'next_func\'…
/external/tensorflow/tensorflow/contrib/data/python/ops/
Dgrouping.py156 def __init__(self, init_func, reduce_func, finalize_func): argument
157 super(Reducer, self).__init__(init_func, reduce_func, finalize_func)
Dget_single_element.py85 return dataset.reduce(reducer.init_func(np.int64(0)), reducer.reduce_func)
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dgroup_by_reducer_dataset_op.cc113 TF_RETURN_IF_ERROR(b->AddFunction(ctx, init_func().name())); in AsGraphDefInternal()
145 AttrValue init_func; in AsGraphDefInternal() local
146 b->BuildAttrValue(this->init_func(), &init_func); in AsGraphDefInternal()
172 {"init_func", init_func}, in AsGraphDefInternal()
396 const NameAttrList& init_func() const { in init_func() function in tensorflow::data::__anon898653860111::GroupByReducerDatasetOp::Dataset
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_ExperimentalGroupByReducerDataset.pbtxt28 building a closure for `init_func`.
32 name: "init_func"
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/serialization/
Dgroup_by_reducer_serialization_test.py33 init_func=lambda _: np.int64(0),
/external/v8/src/third_party/vtune/
Dittnotify_config.h347 void* init_func; member
355 void* init_func; member
/external/tensorflow/tensorflow/python/data/ops/
Dmulti_device_iterator_ops.py132 init_func=self._init_func,
175 init_func=self._init_func,
Ddataset_ops.py2459 def __init__(self, init_args, init_func, next_func, finalize_func): argument
2479 init_func,
2497 init_func=self._init_func.function,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/IntelJITEvents/
Dittnotify_config.h318 void* init_func; member
326 void* init_func; member
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
Dittnotify_config.h318 void* init_func; member
326 void* init_func; member
/external/dng_sdk/source/
Ddng_pthread.cpp744 int dng_pthread_once(dng_pthread_once_t *once, void (*init_func)()) in dng_pthread_once() argument
746 if (once == NULL || init_func == NULL) in dng_pthread_once()
754 init_func(); in dng_pthread_once()
Ddng_pthread.h120 int dng_pthread_once(dng_pthread_once_t *once, void (*init_func)());
/external/vulkan-validation-layers/scripts/
Dhelper_file_generator.py1138 init_func = fprefix + 'init_struct'
1228 find_func=find_func, init_func=init_func), ''
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/optimization/
Doptimize_dataset_test.py70 init_func=lambda _: 0,

12