EncodeBase64 and DecodeBase64 ops#376
Conversation
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here (e.g. What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
|
I signed it! |
|
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
pyu10055
left a comment
There was a problem hiding this comment.
Thank you for the contribution! approved with couple minor comments.
| @@ -0,0 +1,64 @@ | |||
| /** | |||
| * @license | |||
| * Copyright 2018 Google Inc. All Rights Reserved. | |||
There was a problem hiding this comment.
update to 2019 for all files, thanks.
| import {Node} from '../types'; | ||
|
|
||
| import {executeOp} from './string_executor'; | ||
| // tslint:disable-next-line:max-line-length |
| node.op = 'EncodeBase64'; | ||
| node.attrParams.pad = createBoolAttr(true); | ||
| executeOp(node, {input1}, context); | ||
|
|
There was a problem hiding this comment.
remove the empty line here.
- per review comment
- per review comment
- per review comment
- per review request
|
@pyu10055 thank you, i have made the updates as requested. |
pyu10055
left a comment
There was a problem hiding this comment.
This change depends on a PR with tfjs-core, will need to wait for tfjs-core merging that first, and publishing a new version.
|
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
the TF implementation of the pix2pix model which fails conversion because of
the Open NSFW model also fails conversion with some of the same ops (tensorflow/tfjs#433).
i would like to take the opportunity to implement some of the ops in TensorFlow.js. starting with this pull request for
DecodeBase64andEncodeBase64.along with this
tfjs-converterPR, there is a corresponding PR intfjs-core(tensorflow/tfjs-core#1779)This change is