rudimentary code; passing logic for ordering and input size calculation; need to check design decisions

This commit is contained in:
evonneng committed 2022-04-12 03:55:31 +00:00
1 parent f89bb8f7be
commit 69ea3ae45e
6 files changed
+72 -36

No files matched your search

+7
View File
@@ -19,6 +19,13 @@ class Encoding(nn.Module):
raise ValueError("Input dimension should be greater than zero")
self.in_dim = in_dim
def build_model(self) -> None:
"""TODO: create base module class from which this extends"""
def set_in_dim(self, in_dim: int) -> None:
"""TODO: create base module class from which this extends"""
self.in_dim = in_dim
def get_out_dim(self) -> int:
"""Calculates output dimension of encoding.