OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:traverse_fn
(Results
1 - 2
of
2
) sorted by null
/external/tensorflow/tensorflow/python/util/
nest.py
703
def get_traverse_shallow_structure(
traverse_fn
, structure):
704
"""Generates a shallow structure from a `
traverse_fn
` and `structure`.
706
`
traverse_fn
` must accept any possible subtree of `structure` and return
714
traverse_fn
: Function taking a substructure and returning either a scalar
725
TypeError: if `
traverse_fn
` returns a sequence for a non-sequence input,
730
to_traverse =
traverse_fn
(structure)
733
raise TypeError("
traverse_fn
returned structure: %s for non-structure: %s"
745
get_traverse_shallow_structure(
traverse_fn
, branch))
747
raise TypeError("
traverse_fn
returned a non-bool scalar: %s for input: %s"
755
"
traverse_fn
didn't return a depth=1 structure of bools. saw: %s
[
all
...]
/external/e2fsprogs/lib/ext2fs/
tdbtool.c
365
static int
traverse_fn
(TDB_CONTEXT *the_tdb, TDB_DATA key, TDB_DATA dbuf, void *state)
function
375
if ((count = tdb_traverse(tdb,
traverse_fn
, NULL)) == -1)
Completed in 183 milliseconds