Sha256: 22adc05ab8acd5a3389011c63bf909fec0471d94da3a7b4d2762c4944e01b62a
Contents?: true
Size: 387 Bytes
Versions: 2
Compression:
Stored size: 387 Bytes
Contents
module TensorFlow module Audio class << self def decode_wav(contents, desired_channels: -1, desired_samples: -1) RawOps.decode_wav(contents: contents, desired_channels: desired_channels, desired_samples: desired_samples) end def encode_wav(audio, sample_rate) RawOps.encode_wav(audio: audio, sample_rate: sample_rate) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tensorflow-0.2.0 | lib/tensorflow/audio.rb |
tensorflow-0.1.2 | lib/tensorflow/audio.rb |