How to import `State` from `catalyst` version 22.2.1?

210 views Asked by At

I tried to run an old code on my local machine, but running:

from catalyst.dl import State

results into

ImportError: cannot import name 'State' from 'catalyst.dl'

I also tried

from catalyst.core.state import State

and

from catalyst.core import State

But it looks like State is gone. The documentation seems to not return any results.

I am using Catalyst Version 22.2.1

0

There are 0 answers