MCPcopy Create free account
hub / github.com/VincentHancoder/SSGD / preprocess_example_input

Function preprocess_example_input

mmdet/core/export/pytorch2onnx.py:102–159  ·  view source on GitHub ↗

Prepare an example input image for ``generate_inputs_and_wrap_model``. Args: input_config (dict): customized config describing the example input. Returns: tuple: (one_img, one_meta), tensor of the example input image and \ meta information for the example input

(input_config)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

onnx2tensorrtFunction · 0.90
pytorch2onnxFunction · 0.90

Calls 2

keysMethod · 0.80
getMethod · 0.80

Tested by

no test coverage detected