import tensorflow as tf


      fetches, feeds = subgraphs['default']
      self.assertTrue('wav' in feeds)
      for name in ['hypotheses', 'scores', 'src_frames', 'encoder_frames']:
        self.assertTrue(name in fetches)

      with open(
          test_helper.test_src_dir_path('tools/testdata/gan_or_vae.16k.wav'),
          'rb') as f:
        wav = f.read()
      sess.run(tf.global_variables_initializer())
      fetches = sess.run(fetches, {feeds['wav']: wav})

      self.assertAllEqual((1, p.decoder.beam_search.num_hyps_per_beam),
                          fetches['hypotheses'].shape)
      self.assertAllEqual((1, p.decoder.beam_search.num_hyps_per_beam),
                          fetches['scores'].shape)
      self.assertAllEqual((1, 314, p.encoder.input_shape[2], 1),
                          fetches['src_frames'].shape)
      self.assertAllEqual((80, 1, 2 * p.encoder.lstm_cell_size),
