This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pydoc import locate | |
import tensorflow as tf | |
import numpy as np | |
from seq2seq import tasks, models | |
from seq2seq.training import utils as training_utils | |
from seq2seq.tasks.inference_task import InferenceTask, unbatch_dict | |
class DecodeOnce(InferenceTask): | |
''' |