Home
last modified time | relevance | path

Searched refs:check_fn (Results 1 – 14 of 14) sorted by relevance

/external/libyuv/files/
Dsetup_links.py263 source_path, link_path, check_fn=os.path.isfile, check_msg='files')
266 source_dir, None, check_fn=os.path.isdir,
350 def _ActionForPath(source_path, link_path=None, check_fn=None, argument
377 assert check_fn
384 if os.path.exists(source_path) and not check_fn:
/external/tensorflow/tensorflow/python/tpu/
Dtpu_embedding_v2_correctness_test.py378 check_fn = self._check_embedding_and_slot_variables_for_sgd
380 check_fn = self._check_embedding_and_slot_variables_for_adagrad
382 check_fn = self._check_embedding_and_slot_variables_for_adam
385 check_fn(embedding_table_user_before, gradients_wrt_user,
387 check_fn(embedding_table_video_before, gradients_wrt_video,
/external/libpng/contrib/tools/
Dgenpng.c178 shape_fn_ptr check_fn; member
301 switch (arg->check_fn(arg, x, y)) in alpha_calc()
681 arg->check_fn = shape_of(argv[2], arg->width, FN_CHECK); in parse_arg()
/external/toolchain-utils/toolchain_utils_githooks/
Dcheck-presubmit.py618 def run_check(check_fn): argument
619 name = check_fn.__name__
622 return name, check_fn(toolchain_utils_root, pool, files)
Dcheck-presubmit618 def run_check(check_fn): argument
619 name = check_fn.__name__
622 return name, check_fn(toolchain_utils_root, pool, files)
/external/tensorflow/tensorflow/python/training/experimental/
Dloss_scaling_gradient_tape_test.py374 check_fn = np.isposinf if non_finite_term == np.inf else np.isnan
376 self.assertTrue(check_fn(dy_dx))
443 check_fn = np.isposinf if non_finite_term == np.inf else np.isnan
445 self.assertTrue(check_fn(self.evaluate(dy_dx)))
/external/tensorflow/tensorflow/python/compiler/tensorrt/
Dtrt_convert_test.py392 def _CheckTrtOps(self, concrete_func, check_fn=None): argument
398 if check_fn:
399 check_fn(node)
404 if check_fn:
405 check_fn(node)
/external/dtc/
Dchecks.c29 typedef void (*check_fn)(struct check *c, struct dt_info *dti, struct node *node); typedef
33 check_fn fn;
/external/compiler-rt/lib/sanitizer_common/scripts/
Dcpplint.py3811 for check_fn in extra_check_functions:
3812 check_fn(filename, clean_lines, line, error)
/external/libvpx/libvpx/tools/
Dcpplint.py4529 for check_fn in extra_check_functions:
4530 check_fn(filename, clean_lines, line, error)
/external/libaom/libaom/tools/
Dcpplint.py4529 for check_fn in extra_check_functions:
4530 check_fn(filename, clean_lines, line, error)
/external/llvm-project/compiler-rt/lib/sanitizer_common/scripts/
Dcpplint.py5821 for check_fn in extra_check_functions:
5822 check_fn(filename, clean_lines, line, error)
/external/google-styleguide/cpplint/
Dcpplint.py5824 for check_fn in extra_check_functions:
5825 check_fn(filename, clean_lines, line, error)
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_src.cc229 #define PARSE_VALUE(fn_name, type, check_fn, parse_fn) \ argument
232 if (check_fn(py_value)) { \