#NEWLINE# def load_net( self , net ) : #NEWLINE# #INDENT# ' load in a net from path or a variable' #NEWLINE# if isinstance ( net , str ) : #NEWLINE# #INDENT# net = self . load ( net ) #NEWLINE# #UNINDENT# self . backend . set_net ( net )