changed size parameter for OneHot layer to automatically use architecture output size, if not specified elsewise.