if not "name" in layer_description:
raise InputError(""name" is not given in a layer description.")
if not "inputs" in layer_description:
raise InputError(""input" is not given in a layer description.")
if not "output" in layer_description:
raise InputError(""output" is not given in a layer description.")
layers.append(layer_description)
After Change
if variable in ("type", "name"):
layer_description[variable] = value
elif variable in ("size"):
layer_description[variable] = int(value)
elif variable in ("network_input", "network_output"):
layer_description[variable] = bool(strtobool(value))
elif variable == "input":