Home
last modified time | relevance | path

Searched refs:_fn (Results 1 – 25 of 30) sorted by relevance

12

/external/tensorflow/tensorflow/python/util/
Ddeprecation_test.py92 def _fn(): function
95 _fn()
97 _fn()
106 def _fn(): function
109 _fn()
113 _fn()
116 _fn()
142 def _fn(arg0, arg1): function
166 "\n Sum of args." % instructions, _fn.__doc__)
169 self.assertEqual(3, _fn(1, 2))
[all …]
/external/tensorflow/tensorflow/contrib/learn/python/learn/
Dmetric_spec_test.py67 def _fn(): function
70 spec = MetricSpec(metric_fn=_fn)
80 def _fn(**kwargs): function
84 spec = MetricSpec(metric_fn=_fn)
93 def _fn(labels): function
97 spec = MetricSpec(metric_fn=_fn)
106 def _fn(labels, **kwargs): function
111 spec = MetricSpec(metric_fn=_fn)
120 def _fn(labels, predictions_by_another_name): function
125 spec = MetricSpec(metric_fn=_fn)
[all …]
/external/kmod/testsuite/
Dpath.c106 static rettype (*_fn)(const char*); \
110 _fn = get_libc_func(#name); \
114 return (*_fn)(p); \
123 static rettype (*_fn)(const char*, arg2t arg2); \
127 _fn = get_libc_func(#name); \
131 return (*_fn)(p, arg2); \
140 static int (*_fn)(const char *path, int flags, ...); \
144 _fn = get_libc_func("open" #suffix); \
156 return _fn(p, flags, mode); \
159 return _fn(p, flags); \
[all …]
/external/u-boot/arch/arm/include/asm/
Dsecure.h19 #define secure_ram_addr(_fn) ({ \ argument
21 void *__fn = _fn; \
22 typeof(_fn) *__tmp = (__fn - gd->reloc_off); \
26 #define secure_ram_addr(_fn) (_fn) argument
/external/grpc-grpc/examples/python/interceptors/headers/
Dgeneric_client_interceptor.py24 self._fn = interceptor_function
27 new_details, new_request_iterator, postprocess = self._fn(
34 new_details, new_request_iterator, postprocess = self._fn(
41 new_details, new_request_iterator, postprocess = self._fn(
48 new_details, new_request_iterator, postprocess = self._fn(
/external/tensorflow/tensorflow/contrib/framework/python/framework/
Dexperimental_test.py33 def _fn(arg0, arg1): function
46 self.assertEqual("_fn", _fn.__name__)
58 "\n Sum of args.", _fn.__doc__)
61 self.assertEqual(3, _fn(1, 2))
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/
D_interceptor_test.py189 self._fn = interceptor_function
192 new_details, new_request_iterator, postprocess = self._fn(
199 new_details, new_request_iterator, postprocess = self._fn(
206 new_details, new_request_iterator, postprocess = self._fn(
213 new_details, new_request_iterator, postprocess = self._fn(
293 self._fn = fn
296 return self._fn(continuation, handler_call_details)
/external/tensorflow/tensorflow/contrib/factorization/python/ops/
Dgmm_test.py43 def _fn(): function
52 return _fn
202 def _fn(): function
210 return _fn
Dkmeans_test.py85 def _fn(): function
116 return _fn
596 def _fn(): function
604 return _fn
/external/libaom/libaom/av1/common/
Dcfl.h114 cfl_subsample_##bd##_fn cfl_get_luma_subsampling_##sub##_##bd##_##arch( \
123 static const cfl_subsample_##bd##_fn subfn_##sub[TX_SIZES_ALL] = { \
251 cfl_predict_##bd##_fn get_predict_##bd##_fn_##arch(TX_SIZE tx_size) { \
252 static const cfl_predict_##bd##_fn pred[TX_SIZES_ALL] = { \
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
Dautoregressive_test.py46 def _fn(samples): function
51 return _fn
/external/dtc/
Dchecks.c56 #define CHECK_ENTRY(_nm, _fn, _d, _w, _e, ...) \ argument
60 .fn = (_fn), \
68 #define WARNING(_nm, _fn, _d, ...) \ argument
69 CHECK_ENTRY(_nm, _fn, _d, true, false, __VA_ARGS__)
70 #define ERROR(_nm, _fn, _d, ...) \ argument
71 CHECK_ENTRY(_nm, _fn, _d, false, true, __VA_ARGS__)
72 #define CHECK(_nm, _fn, _d, ...) \ argument
73 CHECK_ENTRY(_nm, _fn, _d, false, false, __VA_ARGS__)
/external/tensorflow/tensorflow/contrib/distributions/python/ops/bijectors/
Dreal_nvp.py296 def _fn(x, output_units): function
316 "real_nvp_default_template", _fn)
Dmasked_autoregressive.py524 def _fn(x): function
560 return template_ops.make_template(name, _fn)
/external/tensorflow/tensorflow/lite/nnapi/
Dnnapi_implementation.cc95 nnapi.name = reinterpret_cast<name##_fn>( \
99 nnapi.name = reinterpret_cast<name##_fn>( \
DNeuralNetworksShim.h34 static name##_fn fn = reinterpret_cast<name##_fn>(loadFunction(#name));
/external/tensorflow/tensorflow/python/keras/utils/
Dtf_utils_test.py103 def _fn(*fargs, **fkwargs): function
109 super(PlumbingLayer, self).__init__(_fn, **kwargs)
/external/python/setuptools/pkg_resources/
D__init__.py1387 return self._fn(self.module_path, resource_name)
1393 return self._get(self._fn(self.module_path, resource_name))
1396 return self._has(self._fn(self.module_path, resource_name))
1399 return self.egg_info and self._has(self._fn(self.egg_info, name))
1404 value = self._get(self._fn(self.egg_info, name))
1411 return self._isdir(self._fn(self.module_path, resource_name))
1414 return self.egg_info and self._isdir(self._fn(self.egg_info, name))
1417 return self._listdir(self._fn(self.module_path, resource_name))
1421 return self._listdir(self._fn(self.egg_info, name))
1433 script_filename = self._fn(self.egg_info, script)
[all …]
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Dkmeans_test.py85 def _fn(): function
116 return _fn
565 def _fn(): function
573 return _fn
/external/tensorflow/tensorflow/python/distribute/
Dinput_lib.py472 self._fn = fn
480 return self._fn()
486 data_list = [self._fn() for _ in self._devices]
/external/tensorflow/tensorflow/python/ops/distributions/
Dutil.py1435 def _fn(*args, **kwargs): function
1437 if _fn.__doc__ is None:
1438 _fn.__doc__ = self._additional_note
1440 _fn.__doc__ += "\n%s" % self._additional_note
1441 return _fn
/external/tensorflow/tensorflow/python/lib/io/
Dtf_record_test.py426 self._fn = os.path.join(self.get_temp_dir(), "tf_record_writer_test.txt")
428 self._writer = tf_record.TFRecordWriter(self._fn, self._options)
447 actual = list(tf_record.tf_record_iterator(self._fn, self._options))
/external/tensorflow/tensorflow/python/eager/
Dwrap_function.py41 self._fn = fn
81 return self.call_with_variable_creator_scope(self._fn)(*args, **kwargs)
/external/libaom/libaom/av1/common/x86/
Dcfl_avx2.c23 cfl_subsample_##bd##_fn cfl_get_luma_subsampling_##sub##_##bd##_avx2( \
25 static const cfl_subsample_##bd##_fn subfn_##sub[TX_SIZES_ALL] = { \
/external/libevent/
Devthread_win32.c115 name##_fn = GetProcAddress(lib, #name) in evthread_win32_condvar_init()

12