question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feeding in dictionary of data?

See original GitHub issue

Hey all!

One thing I really enjoyed about Tensorflow was the feeddict option where I could then access the data by the keys to easily access and process the data in chunks. E.g

{
    "data_to_be_embedded": ... #Some (batch_size, N , M) matrix
    "timeseries data": ... # (batch_size, timeseries_window)
}

I suppose one option would be to define multiple models and wrap them all into a single function which applies them key-value by key-value. Is there a more “idiomatic” way of doing this in Haiku?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
tomhennigancommented, Mar 15, 2022

Thank you! Do you know if there are any plans to split oryx out of TFP? It seems generic enough that it could stand on its own.

There has been some discussion about creating a standalone version of oryx’s fetch apis (sow, reap etc) since that side of the library is very robust (e.g. behaviour under transforms/control flow is well defined, although there are some questions about while_loop), and definitely useful as a standalone component (e.g. to power logging our other use cases where you want intermediate values). I’d hope that will happen within the next 3-6mo.

0reactions
IanQScommented, Mar 16, 2022

Thank you! I’m closing hte issue out now

Read more comments on GitHub >

github_iconTop Results From Across the Web

Feeding a data dictionary or a list of conditions into the ...
I was wondering if it is possible to feed conditions from a list or a data dictionary into Psychopy's “Conditions” tab.
Read more >
What is a Data Feed? - Definition from Techopedia
A data feed is a mechanism for delivering data streams from a server to a client automatically or on demand. The data feed...
Read more >
FEED | definition in the Cambridge English Dictionary
feed meaning: 1. to give food to a person, group, or animal: 2. ... feed sth into sth The data is fed into...
Read more >
Feed - definition of feed by The Free Dictionary
1. a. To give food to; supply with nourishment: feed the children. b. To provide as food or nourishment: fed fish to the...
Read more >
What does data feed mean? - Definitions.net
Data feed is a mechanism for users to receive updated data from data sources. It is commonly used by real-time applications in point-to-point...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found