Continuous exponents of spin correlation functions of inhomogeneous layered ising models