Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Add helper functions for plotting #46

Open
irenedea opened this issue Mar 22, 2022 · 1 comment
Open

Add helper functions for plotting #46

irenedea opened this issue Mar 22, 2022 · 1 comment
Labels
good first issue Good for newcomers

Comments

@irenedea
Copy link

"@irenedea Is there a clear way to extract a floating value out of a DTensor? Because that's what I'll need to do to use the DiffKt function for the graph..."

Originally posted by @thomasnield in https://github.com/facebookresearch/diffkt/pull/459#discussion_r829253228

It's not easy to transform a DTensor into a list that is consumable by lets-plot

We can address this by either (1) adding helper functions for lets-plot that take DTensor/FloatTensor as input or (2) adding helper functions to transform DTensor/FloatTensor to Kotlin lists

@irenedea irenedea added the good first issue Good for newcomers label Mar 22, 2022
@thomasnield
Copy link
Contributor

I'm personally biased towards having a means of turning a DTensor and its implementations into a Kotlin collection/array of float values.

That will allow greater interoperability with more libraries.

@gafter gafter transferred this issue from another repository May 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants