From c3e187896d6eea902822cd67c628036e22eb5a10 Mon Sep 17 00:00:00 2001 From: minqiyang Date: Thu, 2 Aug 2018 20:56:59 +0800 Subject: [PATCH] Port contrib to python3 --- python/paddle/fluid/contrib/decoder/beam_search_decoder.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/paddle/fluid/contrib/decoder/beam_search_decoder.py b/python/paddle/fluid/contrib/decoder/beam_search_decoder.py index 24e920f01f2..d268a948f7a 100644 --- a/python/paddle/fluid/contrib/decoder/beam_search_decoder.py +++ b/python/paddle/fluid/contrib/decoder/beam_search_decoder.py @@ -22,6 +22,7 @@ This API is still under active development and may change drastically. import contextlib import numpy as np +import six from ... import layers from ...framework import Variable -- GitLab