functional__generate_wave_table.Rd
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
)
(str): 'SINE' or 'TRIANGULAR'
(str): desired data_type ( INT
or FLOAT
)
(int): desired table size
(float): desired min value
(float): desired max value
(float): desired phase
(torch_device): Torch device on which table must be generated
tensor
: A 1D tensor with wave table values