Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactored model and standardmodel #624

Merged
merged 8 commits into from
Nov 6, 2023

Conversation

AMHermansen
Copy link
Collaborator

Closes #599

Copy link
Collaborator

@RasmusOrsoe RasmusOrsoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @AMHermansen!

Thank you for this! I think the refactor looks good, but it also appears that you have removed the functionality introduced in #610 . Was this intentional?

def forward(
self, data: Union[Data, List[Data]]
) -> List[Union[Tensor, Data]]:
def forward(self, data: Data) -> List[Union[Tensor, Data]]:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you've removed the functionality introduced in #610. Was this intentional? If so, could you elaborate on why?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RasmusOrsoe Good catch, it would seem I was doing the refactor from an outdated branch prior to #610 . I've now added the functionality from #610 to the refactor.

@RasmusOrsoe RasmusOrsoe self-requested a review November 6, 2023 19:00
Copy link
Collaborator

@RasmusOrsoe RasmusOrsoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AMHermansen Thanks!

@AMHermansen AMHermansen merged commit baf5e37 into graphnet-team:main Nov 6, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Should we refactor Model and StandardModel?
2 participants