OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:to_ops
(Results
1 - 2
of
2
) sorted by null
/external/tensorflow/tensorflow/python/ops/
gradients_impl.py
125
def _GatherInputs(
to_ops
, reached_ops):
126
"""List all inputs of
to_ops
that are in reached_ops.
129
to_ops
: list of Operations.
133
The list of all inputs of
to_ops
that are in reached_ops.
134
That list includes all elements of
to_ops
.
138
queue.extend(
to_ops
)
151
def _PendingCount(graph,
to_ops
, from_ops, colocate_gradients_with_ops):
159
to_ops
: list of Operations.
167
and
to_ops
contain control flow loops.
171
for op in
to_ops
[
all
...]
gradients_test.py
54
def _OpsBetween(graph,
to_ops
, from_ops):
59
to_ops
: list of Operations.
63
The list of operations between "from_ops" and "
to_ops
", sorted by
64
decreasing operation id. This list contains all elements of
to_ops
.
67
reachable from
to_ops
. Presently it returns
to_ops
in that case.
74
for op in
to_ops
:
77
between_ops = gradients_impl._GatherInputs(
to_ops
, reached_ops)
110
# Elements of
to_ops
are always listed.
Completed in 710 milliseconds