MCPcopy Create free account
hub / github.com/aviralkumar2907/CQL / map_recursive

Function map_recursive

d4rl/rlkit/pythonplusplus.py:243–261  ·  view source on GitHub ↗

Apply `fctn` to each element in x_or_iterable. This is a generalization of the map function since this will work recursively for iterables. :param fctn: Function from element of iterable to something. :param x_or_iterable: An element or an Iterable of an element. :return:

(fctn, x_or_iterable)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected