Skip to content

adding basic OpCopy class#402

Merged
mosheraboh merged 4 commits into
masterfrom
op_copy
Jul 3, 2025
Merged

adding basic OpCopy class#402
mosheraboh merged 4 commits into
masterfrom
op_copy

Conversation

@mosheraboh
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread fuse/data/ops/ops_common.py Outdated
:param key_source: from where to copy
:param key_dest: where to copy to
"""
sample_dict[key_dest] = sample_dict[key_source]
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Do we want to have some way of actually copying the content?

as it is it looks like it will only create another reference to the same object

YoelShoshan
YoelShoshan previously approved these changes Jul 1, 2025
Copy link
Copy Markdown
Collaborator

@YoelShoshan YoelShoshan left a comment

Choose a reason for hiding this comment

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

See comment inline about copying the content

YoelShoshan
YoelShoshan previously approved these changes Jul 2, 2025
Copy link
Copy Markdown
Collaborator

@YoelShoshan YoelShoshan left a comment

Choose a reason for hiding this comment

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

looks great!

@mosheraboh mosheraboh merged commit 65c9acd into master Jul 3, 2025
5 of 6 checks passed
@mosheraboh mosheraboh deleted the op_copy branch July 3, 2025 10:48
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.

2 participants