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

Overlapp_add #2116

Merged
merged 5 commits into from
Jul 11, 2023
Merged

Overlapp_add #2116

merged 5 commits into from
Jul 11, 2023

Conversation

turbotoribio
Copy link
Contributor

@turbotoribio turbotoribio commented Jul 11, 2023

port c++ Overlapp_Add op to open source in tflm_signal

-port Overlapp_Add op and corresponding to new open source location for C++

BUG=b/289291202

@turbotoribio turbotoribio marked this pull request as ready for review July 11, 2023 20:18
@turbotoribio turbotoribio requested a review from a team as a code owner July 11, 2023 20:18

auto* params = static_cast<TFLMSignalOverlapAddParams<T>*>(
context->AllocatePersistentBuffer(context,
sizeof(TFLMSignalOverlapAddParams<T>)));
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we add an early return if params is nullptr?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done !

signal/micro/kernels/overlap_add.cc Show resolved Hide resolved
signal/micro/kernels/overlap_add_test.cc Outdated Show resolved Hide resolved
signal/src/BUILD Show resolved Hide resolved
@mergify mergify bot merged commit 597ccf7 into tensorflow:main Jul 11, 2023
40 of 41 checks passed
@turbotoribio turbotoribio deleted the over branch July 12, 2023 23:07
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.

3 participants