@@ -1518,7 +1518,7 @@ class LRN(OnnxOpConverter):
1518
1518
@classmethod
1519
1519
def _impl_v1 (cls , inputs , attr , params ):
1520
1520
"""LRN support only NCHW format
1521
- https://github.com/onnx/onnx/blob/master /docs/Operators.md#LRN
1521
+ https://github.com/onnx/onnx/blob/main /docs/Operators.md#LRN
1522
1522
"""
1523
1523
axis = 1
1524
1524
alpha = attr .get ("alpha" , 0.0001 )
@@ -1949,7 +1949,7 @@ def _impl_v8(cls, inputs, attr, params):
1949
1949
# However, ONNX Expand supports multi-directional broadcasting, which allows
1950
1950
# above pattern and also some extent of 'shape' can be smaller than the corresponding
1951
1951
# extent of 'input'. In this case, the extent of 'shape' must be 1.
1952
- # https://github.com/onnx/onnx/blob/master /docs/Broadcasting.md
1952
+ # https://github.com/onnx/onnx/blob/main /docs/Broadcasting.md
1953
1953
# In above cases, we cannot directorly apply 'op.broadcast_to' instead of 'expand'
1954
1954
# so, here we solved this problem by expanding the given 'shape' itself.
1955
1955
def expand_shape (in_shape , shape ):
@@ -3219,7 +3219,7 @@ def _get_convert_map(opset):
3219
3219
3220
3220
class GraphProto :
3221
3221
"""A helper class for handling Relay expression copying from pb2.GraphProto.
3222
- Definition: https://github.com/onnx/onnx/blob/master /onnx/onnx.proto
3222
+ Definition: https://github.com/onnx/onnx/blob/main /onnx/onnx.proto
3223
3223
3224
3224
Parameters
3225
3225
----------
0 commit comments