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

support shallow copy of pipelines #262

Merged
merged 4 commits into from Jan 25, 2023
Merged

Conversation

michalozeryflato
Copy link
Collaborator

No description provided.

@michalozeryflato
Copy link
Collaborator Author

made this change to allow shallow copy & extended of dynamic pipeline (adding augmentation during train)

mosheraboh
mosheraboh previously approved these changes Jan 24, 2023
Copy link
Collaborator

@mosheraboh mosheraboh left a comment

Choose a reason for hiding this comment

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

Nice
Minor comment inline

@@ -54,6 +56,12 @@ def __init__(
self._op_ids = op_ids
self._verbose = verbose

def copy(self):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice,
Can you please add in a comment that it is a shallow copy (both pipelines will still use the same instances of ops)?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@michalozeryflato michalozeryflato merged commit 1f28fc2 into master Jan 25, 2023
@michalozeryflato michalozeryflato deleted the default_pipeline_copy branch January 25, 2023 11:44
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.

None yet

2 participants