node_id = self._node_to_id[input_node]
real_nodes[node_id] = input_node.build(hp)
for hypermodel in self._hypermodels:
outputs = hypermodel.build(
hp,
inputs=[real_nodes[self._node_to_id[input_node]]
for input_node in hypermodel.inputs])
outputs = layer_utils.format_inputs(outputs, hypermodel.name)
for output_node, real_output_node in zip(hypermodel.outputs, outputs):
real_nodes[self._node_to_id[output_node]] = real_output_node
model = tf.keras.Model([real_nodes[self._node_to_id[input_node]]