docs: def infer_dims(self, x, y, dims_x, dims_y, dims_out):
          """Infer probable output from input x, y
          """
          assert len(x) == len(dims_x)
          assert len(y) == len(dims_y)
          if len(self.fmodel.dataset) == 0:
              return [0.0]*self.dim_out
          else:
              _, index = self.fmodel.dataset.nn_dims(x, y, dims_x, dims_y, k=1)
              return self.fmodel.dataset.get_dims(index[0], dims=dims_out)