Update docstrings

This commit is contained in:
Matt Tancik authored and Matthew Tancik committed 2022-06-10 09:03:43 -07:00
1 parent cc79708df7
commit 37a3692b45
11 files changed
+197 -130

No files matched your search

+4 -5
View File
@@ -25,14 +25,13 @@ from pyrad.fields.modules.base import FieldModule
class Embedding(FieldModule):
"""Index into embeddings.
# TODO: add different types of initializations
Args:
in_dim (int): Number of embeddings
out_dim (int): Dimension of the embedding vectors
"""
def __init__(self, in_dim: int, out_dim: int) -> None:
"""
Args:
in_dim (int): Number of embeddings
out_dim (int): Dimension of the embedding vectors
"""
super().__init__()
self.in_dim = in_dim
self.out_dim = out_dim