19555472029f57ce2c9caabe757425d8201c0324,ffmpeg/_view.py,,view,#,17

Before Change


        if isinstance(node, InputNode):
            color = "/኿cc00"
        elif isinstance(node, OutputNode):
            color = "/኿ccff"
        elif isinstance(node, FilterNode):
            color = "//ffcc00"
        else:
            color = None
        graph.node(str(hash(node)), name, shape="box", style="filled", fillcolor=color)
        outgoing_edge_map = outgoing_edge_maps.get(node, {})
        for edge in get_outgoing_edges(node, outgoing_edge_map):
            kwargs = {}

After Change


    for stream in streams:
        if not isinstance(stream, Stream):
            raise TypeError("Expected Stream; got {}".format(type(stream)))
        nodes.append(stream.node)

    sorted_nodes, outgoing_edge_maps = topo_sort(nodes)
    graph = graphviz.Digraph()
    graph.attr(rankdir="LR")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: kkroening/ffmpeg-python
Commit Name: 19555472029f57ce2c9caabe757425d8201c0324
Time: 2017-07-06
Author: karlk@kralnet.us
File Name: ffmpeg/_view.py
Class Name:
Method Name: view


Project Name: arogozhnikov/einops
Commit Name: 680f4831e6c8f3102be8d99056b746b48ce34051
Time: 2018-09-27
Author: iamfullofspam@gmail.com
File Name: einops.py
Class Name:
Method Name: reduce


Project Name: tristandeleu/pytorch-maml-rl
Commit Name: 0be13de7f4661686a35684c77ec67ac93d9ca6d4
Time: 2018-04-11
Author: tristan.deleu@gmail.com
File Name: maml_rl/metalearner.py
Class Name: MetaLearner
Method Name: surrogate_loss