in such a way is a variant of so. Therefore, in such a way as to is a variant of so as to. so as to itself is the infinitival form of so that ... (might/could/would/...) ... In the infinitival form, the subject is understood or left vague on purpose. The meaning of in such a way as to or so as to is therefore somewhat similar