Skip to content

Commit

Permalink
Remove typehints to support upgraded onnx version
Browse files Browse the repository at this point in the history
Signed-off-by: Ashvin Kumar <quic_ashvkuma@quicinc.com>
  • Loading branch information
quic-ashvkuma authored Oct 26, 2023
1 parent 5621512 commit a42eda6
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
from typing import List, Union, Tuple, Dict
from enum import Enum
import numpy as np
from onnx import onnx_pb

from aimet_common.utils import AimetLogger
from aimet_common.connected_graph.connectedgraph_utils import get_all_input_ops
Expand Down Expand Up @@ -76,7 +75,7 @@ class ClsSetLayerPairInfo:
Models a pair of layers that were scaled using CLS. And related information.
"""

def __init__(self, layer1: onnx_pb.NodeProto, layer2: onnx_pb.NodeProto, scale_factor: np.ndarray,
def __init__(self, layer1, layer2, scale_factor: np.ndarray,
relu_activation_between_layers: bool):
"""
:param layer1: Layer whose bias is folded
Expand Down

0 comments on commit a42eda6

Please sign in to comment.