functional__generate_wave_table | R Documentation |
A helper function for phaser. Generates a table with given parameters
functional__generate_wave_table(
wave_type,
data_type,
table_size,
min,
max,
phase,
device
)
wave_type |
(str): 'SINE' or 'TRIANGULAR' |
data_type |
(str): desired data_type ( |
table_size |
(int): desired table size |
min |
(float): desired min value |
max |
(float): desired max value |
phase |
(float): desired phase |
device |
(torch_device): Torch device on which table must be generated |
tensor
: A 1D tensor with wave table values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.