Skip to content

Commit

Permalink
[graph] Fix typo in class name
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfraser committed Nov 22, 2023
1 parent bd46f89 commit b9ea062
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/brevitas/graph/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

__all__ = [
'Transform',
'PerInputTrasform',
'PerInputTransform',
'GraphTransform',
'PerInputModuleToModuleByHook',
'ModuleToModule',
Expand All @@ -40,7 +40,7 @@ def apply(self, model: Module) -> Module:
pass


class PerInputTrasform(ABC):
class PerInputTransform(ABC):

@abstractmethod
def apply(self, model: Module, inp: torch.Tensor) -> Module:
Expand All @@ -66,7 +66,7 @@ def apply(self, graph_model: GraphModule) -> GraphModule:
return graph_model


class PerInputModuleToModuleByHook(PerInputTrasform, ABC):
class PerInputModuleToModuleByHook(PerInputTransform, ABC):

def __init__(self):
self.input_size_map = {}
Expand Down

0 comments on commit b9ea062

Please sign in to comment.