aboutsummaryrefslogtreecommitdiff
path: root/ethosu/vela/operation_util.py
diff options
context:
space:
mode:
Diffstat (limited to 'ethosu/vela/operation_util.py')
-rw-r--r--ethosu/vela/operation_util.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/ethosu/vela/operation_util.py b/ethosu/vela/operation_util.py
index 36a8e592..aaabddbf 100644
--- a/ethosu/vela/operation_util.py
+++ b/ethosu/vela/operation_util.py
@@ -122,25 +122,6 @@ def create_add(
)
-def create_rescale_add(
- name: str,
- ifm: Tensor,
- ifm2: Tensor,
- rescale: Tuple[int, int],
- quantization: QuantizationParameters,
- activation: Optional[ActivationFunction] = None,
- dtype: Optional[DataType] = None,
- attrs: Optional[dict] = None,
- ifm_shape: Optional[Shape4D] = None,
- ifm2_shape: Optional[Shape4D] = None,
-) -> Operation:
- op = create_binary_elementwise(
- Op.RescaleAdd, name, ifm, ifm2, quantization, activation, dtype, attrs, ifm_shape, ifm2_shape
- )
- op.rescale = rescale
- return op
-
-
def create_clz(
name: str,
ifm: Tensor,