8e5c969aa4113b93dfa43d6075ad3bb8eb500f4a,tensorboard/data_compat_test.py,MigrateValueTest,test_audio,#MigrateValueTest#,60

Before Change


    self._assert_noop(value)

  def test_audio(self):
    op = tf.summary.audio("white_noise",
                          tf.random_uniform(shape=[1, 44100],
                                            minval=-1.0,
                                            maxval=1.0),
                          sample_rate=44100)
    value = self._value_from_op(op)
    assert value.HasField("audio"), value
    self._assert_noop(value)

After Change


    self._assert_noop(value)

  def test_audio(self):
    audio = tf.reshape(tf.linspace(0.0, 100.0, 4 * 10 * 2), (4, 10, 2))
    old_op = tf.summary.audio("k488", audio, 44100)
    old_value = self._value_from_op(old_op)
    assert old_value.HasField("audio"), old_value
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: tensorflow/tensorboard
Commit Name: 8e5c969aa4113b93dfa43d6075ad3bb8eb500f4a
Time: 2017-08-15
Author: wchargin@gmail.com
File Name: tensorboard/data_compat_test.py
Class Name: MigrateValueTest
Method Name: test_audio


Project Name: deepmipt/DeepPavlov
Commit Name: d86360af087d51f5e2cb2f9e57ddc95207fc3cd4
Time: 2018-06-05
Author: yurakuratov@gmail.com
File Name: deeppavlov/core/layers/tf_layers.py
Class Name:
Method Name: cudnn_lstm


Project Name: HyperGAN/HyperGAN
Commit Name: 7d3699613588698eefd5994687f05ef7059477cd
Time: 2016-11-19
Author: mikkel@255bits.com
File Name: lib/gan.py
Class Name:
Method Name: create_generator


Project Name: deepmipt/DeepPavlov
Commit Name: d86360af087d51f5e2cb2f9e57ddc95207fc3cd4
Time: 2018-06-05
Author: yurakuratov@gmail.com
File Name: deeppavlov/core/layers/tf_layers.py
Class Name:
Method Name: cudnn_gru