Example #1
0
 def transfer_attrs(self, module):
     self.pipeline = module.pipeline
     if module._port_specs is None:
         module.make_port_specs()
     self.input_remap = module._input_remap
     self.output_remap = module._output_remap
     Module.transfer_attrs(self, module)
Example #2
0
 def transfer_attrs(self, module):
     self.pipeline = module.pipeline
     if module._port_specs is None:
         module.make_port_specs()
     self.input_remap = module._input_remap
     self.output_remap = module._output_remap
     Module.transfer_attrs(self, module)
Example #3
0
 def transfer_attrs(self, module):
     Module.transfer_attrs(self, module)
     self.input_ports_order = [p.name for p in module.input_port_specs]
     self.output_ports_order = [
         p.name for p in module.output_port_specs
         if p.name in module.connected_output_ports
     ]
Example #4
0
 def transfer_attrs(self, module):
     Module.transfer_attrs(self, module)
     self.input_ports_order = [p.name for p in module.input_port_specs]
     self.output_ports_order = [p.name for p in module.output_port_specs
                                if p.name in module.connected_output_ports]
Example #5
0
 def transfer_attrs(self, module):
     Module.transfer_attrs(self, module)
     self.input_ports_order = [p.name for p in module.input_port_specs]
Example #6
0
 def transfer_attrs(self, module):
     Module.transfer_attrs(self, module)
Example #7
0
 def transfer_attrs(self, module):
     Module.transfer_attrs(self, module)
Example #8
0
 def transfer_attrs(self, module):
     Module.transfer_attrs(self, module)
     self.input_ports_order = [p.name for p in module.input_port_specs]