The issue arises in the scaling layer of net when the keys of bounds are not in the same order as parameters when the bounds argument is specified within the optimize_options. This discrepancy occurs because the standardize function for net does not appropriately adjust the order of bounds according to the order of parameters. For instance:
The issue arises in the scaling layer of net when the keys of bounds are not in the same order as parameters when the bounds argument is specified within the optimize_options. This discrepancy occurs because the standardize function for net does not appropriately adjust the order of bounds according to the order of parameters. For instance:
So the argument bounds is standardized but does not remain the order following parameters by the stadardize_optimize_options_bounds function.