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):
@abstractmethod
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.
"""
raise NotImplementedError
......@@ -944,7 +944,7 @@ class AbstractOperation(Operation, AbstractGraphComponent):
bits_override: Optional[int] = None,
) -> 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.
"""
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