Skip to content

Commit

Permalink
Fix (graph): typo in class name (#765)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfraser authored Dec 16, 2023
1 parent 7c490d6 commit 0dd37f9
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 0dd37f9

Please sign in to comment.