You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[feature]: support for trigonometric functions in XLA #8315
I'd like to request support for basic trigonometric functions in XLA, things like cos, sin, etc, as well as basic geometry options like cross products. These are already supported in TF and I imagine there's native support in eigen. Looking through tf2xla I didn't see them anywhere.
I think element-wise trigonometric functions can be added - I don't see a strong reason not to support them, because building them out of other XLA primitives would be challenging
Does the "contributions welcome" tag mean no one at Google has any plans to add this? Also what about things like cross? It's currently a builtin TF function.
Thanks for the update, and I'm glad that sin will be in there soon!
Regarding cross--it's certainly possible to build out of existing XLA blocks, but my concern was speed. Is that not a valid concern? TF-level cross can be defined pretty easily indeed:
Activity
prb12 commentedon Mar 12, 2017
@learyg @eliben We currently only have Tanh - any reason not to have the rest?
fxsuper commentedon Mar 26, 2017
Any updates on this?
eliben commentedon Mar 26, 2017
I think element-wise trigonometric functions can be added - I don't see a strong reason not to support them, because building them out of other XLA primitives would be challenging
fxsuper commentedon Mar 27, 2017
Does the "contributions welcome" tag mean no one at Google has any plans to add this? Also what about things like
cross? It's currently a builtin TF function.girving commentedon Jun 16, 2017
@fxsuper Yep, no one at Google is working on this.
fxsuper commentedon Jul 25, 2017
Thanks for the update, and I'm glad that
sinwill be in there soon!Regarding
cross--it's certainly possible to build out of existing XLA blocks, but my concern was speed. Is that not a valid concern? TF-level cross can be defined pretty easily indeed:I'm asking so that I know whether to start a new issue or not. Thanks.
fxsuper commentedon Jul 26, 2017
Thanks for investigating this! I just opened a new issue.