Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Zeta36/tensorflow-tex-wavenet
/ functions
Functions
36 in github.com/Zeta36/tensorflow-tex-wavenet
⨍
Functions
36
◇
Types & classes
2
↓ 7 callers
Function
create_variable
Create a convolution filter variable with the specified name and shape, and initialize it using Xavier initialition.
wavenet/model.py:6
↓ 6 callers
Function
create_bias_variable
Create a bias variable with the specified name and shape and initialize it to zero.
wavenet/model.py:14
↓ 3 callers
Method
_generator_conv
Perform convolution for a single convolutional processing step.
wavenet/model.py:211
↓ 3 callers
Function
causal_conv
(value, filter_, dilation, name='causal_conv')
wavenet/ops.py:25
↓ 3 callers
Method
dequeue
(self, num_elements)
wavenet/text_reader.py:52
↓ 2 callers
Method
_create_network
Construct the WaveNet network.
wavenet/model.py:258
↓ 2 callers
Method
_one_hot
One-hot encodes the waveform amplitudes. This allows the definition of the network as a categorical distribution over a finite set of
wavenet/model.py:374
↓ 2 callers
Function
save
(saver, sess, logdir, step)
train.py:68
↓ 2 callers
Function
write_text
(waveform, filename)
generate.py:72
↓ 1 callers
Method
_create_causal_layer
Creates a single causal convolution layer. The layer can change the number of channels.
wavenet/model.py:152
↓ 1 callers
Method
_create_dilation_layer
Creates a single causal dilated convolution layer. The layer contains a gated filter that connects to dense output and to a skip conn
wavenet/model.py:161
↓ 1 callers
Method
_create_generator
Construct an efficient incremental generator.
wavenet/model.py:300
↓ 1 callers
Method
_create_variables
This function creates all variables used by the network. This allows us to share them between multiple calls to the loss function and
wavenet/model.py:75
↓ 1 callers
Method
_generator_causal_layer
(self, input_batch, state_batch, in_channels, out_channels)
wavenet/model.py:220
↓ 1 callers
Method
_generator_dilation_layer
(self, input_batch, state_batch, layer_index, dilation, in_channels, dilatio
wavenet/model.py:228
↓ 1 callers
Function
_read_text
(filename)
wavenet/text_reader.py:17
↓ 1 callers
Function
batch_to_time
(value, dilation, name=None)
wavenet/ops.py:16
↓ 1 callers
Function
find_files
Recursively finds all files matching the pattern.
wavenet/text_reader.py:9
↓ 1 callers
Function
get_arguments
()
train.py:28
↓ 1 callers
Function
get_arguments
()
generate.py:21
↓ 1 callers
Function
get_default_logdir
(logdir_root)
train.py:101
↓ 1 callers
Function
load
(saver, sess, logdir)
train.py:81
↓ 1 callers
Function
load_generic_text
Generator that yields text raw from the directory.
wavenet/text_reader.py:21
↓ 1 callers
Method
loss
Creates a WaveNet network and returns the autoencoding loss. The variables are all scoped to the given name.
wavenet/model.py:428
↓ 1 callers
Function
main
()
train.py:147
↓ 1 callers
Function
main
()
generate.py:83
↓ 1 callers
Method
predict_proba
Computes the probability distribution of the next sample based on all samples in the input waveform. If you want to generate audio by
wavenet/model.py:389
↓ 1 callers
Method
predict_proba_incremental
Computes the probability distribution of the next sample incrementally, based on a single sample and all previously passed samples.
wavenet/model.py:407
↓ 1 callers
Method
start_threads
(self, sess, n_threads=1)
wavenet/text_reader.py:83
↓ 1 callers
Method
stop_threads
()
wavenet/text_reader.py:79
↓ 1 callers
Function
time_to_batch
(value, dilation, name=None)
wavenet/ops.py:6
↓ 1 callers
Function
validate_directories
Validate and arrange directory related arguments.
train.py:106
Method
__init__
(self, text_dir, coord, sample_size=None,
wavenet/text_reader.py:37
Method
__init__
Initializes the WaveNet model. Args: batch_size: How many audio files are supplied per batch (recommended: 1).
wavenet/model.py:36
Function
_str_to_bool
Convert string to bool (in argparse context).
generate.py:22
Method
thread_main
(self, sess)
wavenet/text_reader.py:56