Skip to content

Instantly share code, notes, and snippets.

View tudor-berariu's full-sized avatar
🌴
I may be slow to respond.

Tudor Berariu tudor-berariu

🌴
I may be slow to respond.
  • UiPath
  • London
View GitHub Profile
@jcaraballo
jcaraballo / git-branch-between-different-repositories.md
Created March 6, 2012 01:05
How to fork a github repository in bitbucket

#Create bitbucket branch

##Create local branch

$ git checkout -b sync
Switched to a new branch 'sync'
$ git branch
  master
* sync
from graphviz import Digraph
import torch
from torch.autograd import Variable, Function
def iter_graph(root, callback):
queue = [root]
seen = set()
while queue:
fn = queue.pop()
if fn in seen: