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

Fuse depthwise conv2d with activation function without biasAdd #4910

Merged
merged 8 commits into from Jun 3, 2021

Conversation

pyu10055
Copy link
Collaborator

@pyu10055 pyu10055 commented Apr 8, 2021

This PR allows depthwise conv2d without biasAdd to fuse with activation

To see the logs from the Cloud Build CI, please join either our discussion or announcement mailing list.


This change is Reviewable

@pyu10055 pyu10055 requested a review from lina128 April 8, 2021 04:00
@google-cla google-cla bot added the cla: yes label Apr 8, 2021
Copy link
Collaborator

@lina128 lina128 left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 1 approvals obtained (waiting on @pyu10055)


tfjs-converter/src/operations/executors/convolution_executor.ts, line 34 at r1 (raw file):

  const isBiasAdd = extraOp === 'biasadd';
  const noBiasAdd = extraOp === 'noop';

Why noBiasAdd can't be !isBiasAdd?

Copy link
Collaborator Author

@pyu10055 pyu10055 left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 1 approvals obtained (waiting on @lina128)


tfjs-converter/src/operations/executors/convolution_executor.ts, line 34 at r1 (raw file):

Previously, lina128 (Na Li) wrote…

Why noBiasAdd can't be !isBiasAdd?

Done.

Copy link
Collaborator

@lina128 lina128 left a comment

Choose a reason for hiding this comment

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

LGTM

Reviewable status: :shipit: complete! 1 of 1 approvals obtained (waiting on @lina128)

@lina128 lina128 merged commit 89afd1a into master Jun 3, 2021
@pyu10055 pyu10055 deleted the fuse_depthwise branch November 4, 2021 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants