-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[Prim][PIR] PIR Prim support intarray, scalar, combineop #58581
[Prim][PIR] PIR Prim support intarray, scalar, combineop #58581
Conversation
0ffb39a
to
b2cff37
Compare
6f422b9
to
d43bd98
Compare
@@ -351,6 +351,17 @@ void BindOperation(py::module *m) { | |||
} | |||
return op_list; | |||
}) | |||
.def("get_output_intermediate_value", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.def("get_output_intermediate_value", | |
.def("get_output_value_intermediate_status", |
换成这个名字更容易理解一点?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
或许叫get_output_intermediate_status?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
def _analyse_decomp_results(orig_outs, decomp_outs): | ||
assert len(orig_outs) == len(decomp_outs) | ||
def _analyse_decomp_results(orig_outs, decomp_outs, op): | ||
intermediate_values = op.get_output_intermediate_value() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
同上
res = [] | ||
for org_item, new_item in zip(orig_outs, decomp_outs): | ||
for org_item, new_item, value in zip( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这儿value 改成output_intermediate_status
吧 他就是要给状态的标识
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, thks
…e#58581) * fix intarray codegen * fix code * remove unused code * reset code * support scalar * fix code * support combineop case
…e#58581) * fix intarray codegen * fix code * remove unused code * reset code * support scalar * fix code * support combineop case
PR types
New features
PR changes
Others
Description
Pcard-66975