ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more


Injects tagged values into a function.

Transforms a function to one where tagged values can injected. In implementation, returns a function that takes plants as an additional initial argument.

f a function to be transformed
tag str, the harvest tag that will be planted.
**harvest_kwargs additional keyword arguments that will be passed to harvest.

A function that takes in an additional initial input (a dictionary mapping names to values to be injected).