Cleanup TorchVision related functions (#18790)
This commit is contained in:
parent
066c5443f5
commit
5306a8cc1f
4 changed files with 8 additions and 13 deletions
|
|
@ -336,7 +336,7 @@ class Concat(nn.Module):
|
|||
class Index(nn.Module):
|
||||
"""Returns a particular index of the input."""
|
||||
|
||||
def __init__(self, c1, c2, index=0):
|
||||
def __init__(self, index=0):
|
||||
"""Returns a particular index of the input."""
|
||||
super().__init__()
|
||||
self.index = index
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue