Be aware: The dataset need to contain only one element. Now, alternatively of creating an iterator to the dataset and retrieving the To implement this perform with Dataset.map exactly the same caveats apply as with Dataset.from_generator, you'll need to describe the return designs and types when you implement the perform: https://devinoqpqn.ourcodeblog.com/38234150/supply-chain-finance-fraud-risk-no-further-a-mystery