Replaced get_max_length with get_max_cache_shape

#12

get_max_length has been deprecated, and get_max_cache_shape should be used instead

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment