Tensor network study of the Shastry-Sutherland model with weak interlayer coupling