Searched refs:_as_operation (Results 1 – 1 of 1) sorted by relevance
35 def _as_operation(op_or_tensor): function47 return all(_as_operation(i).type == u"Const"48 and not _as_operation(i).control_inputs49 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_tensors265 if not op_outputs[_as_operation(t)]]