0bc1ab52c0b5860dbd6d4ffc904a7c87dca69475,librosa/display.py,,waveplot,#,362
Before Change
if y.ndim == 1:
y = __envelope(y, hop_length)
else:
y = np.vstack([__envelope(_, hop_length) for _ in y] )
if y.ndim > 1:
y_top = y[0]
After Change
// Pad an extra channel dimension, if necessary
if y.ndim == 1:
y = util.stack(y, axis=0)
if max_points is not None:
if max_points <= 0:
raise ParameterError("max_points must be strictly positive")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: librosa/librosa
Commit Name: 0bc1ab52c0b5860dbd6d4ffc904a7c87dca69475
Time: 2019-08-16
Author: brian.mcfee@nyu.edu
File Name: librosa/display.py
Class Name:
Method Name: waveplot
Project Name: astorfi/TensorFlow-World
Commit Name: 874382bfb96b92dcfdd6326ba83c54ad1e9d42f2
Time: 2017-06-26
Author: amirsina.torfi@gmail.com
File Name: codes/2-basics_in_machine_learning/linear_regression/code/linear_regression.py
Class Name:
Method Name:
Project Name: tensorflow/tpu
Commit Name: 0638b9c86cfec273b2e5799aea281ffa74d9161d
Time: 2020-05-12
Author: pengchong@google.com
File Name: models/official/detection/serving/inputs.py
Class Name:
Method Name: raw_image_tensor_input