remove unnecessary imports

This commit is contained in:
chenfeiyu 2021-06-10 00:32:25 +08:00
parent 37a66f1506
commit 13323bdf6a
1 changed files with 1 additions and 3 deletions

View File

@ -12,8 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import operator
from queue import PriorityQueue
from typing import Callable, Mapping
from pathlib import Path
@ -42,7 +40,7 @@ class KBest(object):
>>> import shutil
>>> import paddle
>>> from paddle import nn
>>> model = nn.Linear(2, 3)
>>> def save_model(path):
... paddle.save(model.state_dict())