Skip to content

Typos in the class initialization #61

@ivanstepanovftw

Description

@ivanstepanovftw

Hello @vsitzmann,

class Sine(nn.Module):
    def __init(self):
        super().__init__()

should be

class Sine(nn.Module):
    def __init__(self):
        super(Sine).__init__(self)

Diff:

class Sine(nn.Module):
-    def __init(self):
+    def __init__(self):
-        super().__init__()
+        super(Sine).__init__(self)

Defined here

class Sine(nn.Module):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions