Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Update batch norm reference in tfjs-node #1697
Comments
|
Hi, could I take a look at this as a first issue or @nkreeger is working on it? |
|
@theodddore go for it! OpDef registry in core TF is here: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/ops/compat/ops_history.v1.pbtxt We match up those OpDefs in the tfjs node backend for each op here: |
|
Actually - this might need to be a cleanup in tfjs-core:
|
|
Hi, thanks for the tips. I'll start working on it! |
|
Hi @nkreeger, it seems that batchNormalization from backend is used by batchNorm (using the FusedBatchNorm opDef), so it's my understanding that we should just perform the cleanup you mentioned above in tfjs-core. If what I say is correct, should I remove batchNormalization also from src/tensor.ts, or is it needed as legacy code? |


Looks like a new OpDef is ready (and current one is deprecated):