from torch import nn
from torch.nn import functional as F
+import matplotlib.pyplot as plt
+
######################################################################
parser = argparse.ArgumentParser(description='Toy attention model.')
######################################################################
-import matplotlib.pyplot as plt
-
def save_sequence_images(filename, sequences, tr = None, bx = None):
fig = plt.figure()
ax = fig.add_subplot(1, 1, 1)