MCPcopy Create free account
hub / github.com/XiangLi1999/PrefixTuning / nested_numpify

Function nested_numpify

transformers/src/transformers/trainer_utils.py:158–162  ·  view source on GitHub ↗

Numpify `tensors` (even if it's a nested list/tuple of tensors).

(tensors)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

prediction_loopMethod · 0.90
prediction_loopMethod · 0.85
prediction_loopMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected