@@ -288,21 +288,20 @@ class FourierPositionalEmbedding(Module):
288288
289289 Parameters
290290 ----------
291- in_dim : int, optional
292- Dimension of the input coordinates. Default 3.
293- num_bands : int, optional
294- Number of frequency bands when ``freqs`` is not given. Default 10.
295- include_input : bool, optional
296- Prepend the raw input coordinates to the embedding. Default True.
297- base_freq : float, optional
291+ in_dim : int, optional, default=3
292+ Dimension of the input coordinates.
293+ num_bands : int, optional, default=10
294+ Number of frequency bands when ``freqs`` is not given.
295+ include_input : bool, optional, default=True
296+ Prepend the raw input coordinates to the embedding.
297+ base_freq : float, optional, default=math.pi
298298 Frequency of the first band for the generated schedule.
299- Default ``math.pi``.
300- freq_scale : float, optional
299+ freq_scale : float, optional, default=2.0
301300 Geometric ratio between consecutive band frequencies for the
302- generated schedule. Default 2.0.
303- freqs : torch.Tensor or sequence of float, optional
301+ generated schedule.
302+ freqs : torch.Tensor or sequence of float, optional, default=None
304303 Explicit 1-D frequency schedule. Overrides ``num_bands``,
305- ``base_freq`` and ``freq_scale`` when provided. Default None.
304+ ``base_freq`` and ``freq_scale`` when provided.
306305
307306 Forward
308307 -------
0 commit comments