dst#
- diffsptk.DST#
alias of
DiscreteSineTransform
- class diffsptk.DiscreteSineTransform(dst_length: int, dst_type: int = 2)[source]#
Discrete sine transform module.
- Parameters:
- dst_lengthint >= 1
The DST length, \(L\).
- dst_typeint in [1, 4]
The DST type.
- diffsptk.functional.dst(x: Tensor, dst_type: int = 2) Tensor [source]#
Compute DST.
- Parameters:
- xTensor [shape=(…, L)]
The input.
- dst_typeint in [1, 4]
The DST type.
- Returns:
- outTensor [shape=(…, L)]
The DST output.
See also