diff --git a/src/finn/core/onnx_exec.py b/src/finn/core/onnx_exec.py index ebb5ee6d4470757127972297aec00f2a92fe4023..2da307ac60dc378c59deb31f221e794def803d73 100644 --- a/src/finn/core/onnx_exec.py +++ b/src/finn/core/onnx_exec.py @@ -41,7 +41,8 @@ def execute_node(node, context, graph): """Executes a single node by using onnxruntime, with custom function or if dataflow partition by using remote execution or rtlsim. - * Input/output provided via context.""" + * Input/output provided via context. + """ if node.op_type == "StreamingDataflowPartition": sdp_node = getCustomOp(node) @@ -102,7 +103,8 @@ def execute_onnx(model, input_dict, return_full_exec_context=False): * If return return_full_exec_context is True, the full set of tensors used by the execution (including inputs, weights, activations and final outputs) - will be returned as a dict.""" + will be returned as a dict. + """ if not model.check_all_tensor_shapes_specified(): raise Exception("Found unspecified tensor shapes, try infer_shapes") diff --git a/src/finn/custom_op/fpgadataflow/__init__.py b/src/finn/custom_op/fpgadataflow/__init__.py index 7ae9d982fe04930188ec6cc4fb0b53f133703298..e5fe7516b51fa27a7fe23de32b7815e5e33450a1 100644 --- a/src/finn/custom_op/fpgadataflow/__init__.py +++ b/src/finn/custom_op/fpgadataflow/__init__.py @@ -329,7 +329,8 @@ compilation transformations? * var: makes it possible to reuse the function for different c++ code generation. I.e. if set to "ipgen" in StreamingFCLayer_Batch additional PRAGMA defines are - added.""" + added. + """ pass @abstractmethod