MCPcopy Create free account
hub / github.com/BertaBescos/DynaSLAM / batch_slice

Function batch_slice

src/python/utils.py:654–688  ·  view source on GitHub ↗

Splits inputs into slices and feeds each slice to a copy of the given computation graph and then combines the results. It allows you to run a graph on a batch of inputs even if the graph is written to support one instance only. inputs: list of tensors. All must have the same first d

(inputs, graph_fn, batch_size, names=None)

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