Skip to content

[TMVA][SOFIE] Add batch normalization operator#9307

Merged
lmoneta merged 3 commits intoroot-project:masterfrom
lmoneta:tmva_sofie_batch-normalization
Nov 18, 2021
Merged

[TMVA][SOFIE] Add batch normalization operator#9307
lmoneta merged 3 commits intoroot-project:masterfrom
lmoneta:tmva_sofie_batch-normalization

Conversation

@lmoneta
Copy link
Copy Markdown
Member

@lmoneta lmoneta commented Nov 17, 2021

Add the new operator developed by Aaradhya Saxena.

This PR extends #8882 and updates to the new Session class of Sofie.
It includes also the test for Batch normalization operator

AaradhyaSaxena and others added 2 commits November 17, 2021 14:09
…imensions less than 4.

For example this is the case when using models created with torch BatchNorm1d (Batch normalization for dense layers)
@phsft-bot
Copy link
Copy Markdown

Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-ubuntu16/nortcxxmod, ROOT-ubuntu2004/soversion, mac1015/python3, mac11/cxx17, windows10/cxx14
How to customize builds

@lmoneta
Copy link
Copy Markdown
Member Author

lmoneta commented Nov 17, 2021

@phsft-bot build just on ROOT-ubuntu18.04/default with flags -Dtmva-sofie=On

@phsft-bot
Copy link
Copy Markdown

Starting build on ROOT-ubuntu18.04/default with flags -Dtmva-sofie=On
How to customize builds

 Fix 1d Batch normalization. Do not assume tensor that the input is
 of size 4 and tensor output is of size 4
 Fix a warning message in Sofie parser for batchnorm operator
 Fix linking of Blas in TestSofieModels
@lmoneta lmoneta force-pushed the tmva_sofie_batch-normalization branch from 7972484 to 1d4cdd2 Compare November 18, 2021 09:30
@phsft-bot
Copy link
Copy Markdown

Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-ubuntu16/nortcxxmod, ROOT-ubuntu2004/soversion, mac1015/python3, mac11/cxx17, windows10/cxx14
How to customize builds

@lmoneta
Copy link
Copy Markdown
Member Author

lmoneta commented Nov 18, 2021

@phsft-bot build just on ROOT-ubuntu18.04/default with flags -Dtmva-sofie=On

@phsft-bot
Copy link
Copy Markdown

Starting build on ROOT-ubuntu18.04/default with flags -Dtmva-sofie=On
How to customize builds

@lmoneta lmoneta merged commit 6de255a into root-project:master Nov 18, 2021
@lmoneta lmoneta deleted the tmva_sofie_batch-normalization branch November 18, 2021 10:12
@hahnjo
Copy link
Copy Markdown
Member

hahnjo commented Nov 24, 2021

@lmoneta for future commits, can you please leave an empty line between the subject (first line) and the commit description (starting in line 3)? Having text in the second line makes git log --oneline horrible to read because git thinks that the entire commit message is the subject...

@lmoneta
Copy link
Copy Markdown
Member Author

lmoneta commented Nov 24, 2021

You are right ! Sorry for this, I have never used git log --oneline.

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.

5 participants