def hyper_build(self, hp):
Build a GraphHyperModel with no HyperBlock but only Block.
inputs = copy.copy(self.inputs)
old_node_to_new = {}
for input_node, old_input_node in zip(inputs, self.inputs):
input_node.clear_edges()
old_node_to_new[old_input_node] = input_node
After Change
inputs = []
old_node_to_new = {}
for old_input_node in self.inputs:
input_node = copy(old_input_node)
inputs.append(input_node)
old_node_to_new[old_input_node] = input_node
for old_block in self._blocks:
inputs = [old_node_to_new[input_node]