def get_tensor_children_placeholders(tensor):
    """ Get all placeholders that is depending the given tensor. """
    placeholders_list = []
    if tensor.op.type == 'Placeholder':
        placeholders_list.append(tensor)
    if tensor.op:
        for t in tensor.op.outputs:
            if not t.name in 'read:0':
                placeholders_list += get_tensor_children_placeholders(t)
    return list(set(placeholders_list))
dataset/ETHPy150Open tflearn/tflearn/tflearn/utils.py/get_tensor_children_placeholders/swapped operands of `in`