(video_reader, batch_index)
| 121 | gc.collect() |
| 122 | |
| 123 | def get_video_reader_batch(video_reader, batch_index): |
| 124 | frames = video_reader.get_batch(batch_index).asnumpy() |
| 125 | return frames |
| 126 | |
| 127 | def resize_frame(frame, target_short_side): |
| 128 | h, w, _ = frame.shape |
nothing calls this directly
no outgoing calls
no test coverage detected