Skip to content
Snippets Groups Projects
Commit 4b8ee88b authored by Oscar Gustafsson's avatar Oscar Gustafsson :bicyclist:
Browse files

Fix documentation

parent de2f162c
No related branches found
No related tags found
1 merge request!252Various fixes
...@@ -327,7 +327,7 @@ class Operation(GraphComponent, SignalSourceProvider): ...@@ -327,7 +327,7 @@ class Operation(GraphComponent, SignalSourceProvider):
@abstractmethod @abstractmethod
def quantize_input(self, index: int, value: Num, bits: int) -> Num: def quantize_input(self, index: int, value: Num, bits: int) -> Num:
""" """
Truncate the value to be used as input at the given index to a certain bit Quantize the value to be used as input at the given index to a certain bit
length. length.
""" """
raise NotImplementedError raise NotImplementedError
...@@ -944,7 +944,7 @@ class AbstractOperation(Operation, AbstractGraphComponent): ...@@ -944,7 +944,7 @@ class AbstractOperation(Operation, AbstractGraphComponent):
bits_override: Optional[int] = None, bits_override: Optional[int] = None,
) -> Sequence[Num]: ) -> Sequence[Num]:
""" """
Truncate the values to be used as inputs to the bit lengths specified Quantize the values to be used as inputs to the bit lengths specified
by the respective signals connected to each input. by the respective signals connected to each input.
""" """
args = [] args = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment