Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/eager/
Dlift_to_graph.py35 def _as_operation(op_or_tensor): function
47 return all(_as_operation(i).type == u"Const"
48 and not _as_operation(i).control_inputs
49 for i in _graph_inputs(_as_operation(op_or_tensor)))
64 ops_to_visit = [_as_operation(tensor)]
74 final_op = _as_operation(tensor)
112 ops_to_visit = [_as_operation(init_tensor)]
264 ops_to_visit = [_as_operation(t) for t in init_tensors
265 if not op_outputs[_as_operation(t)]]