# ABINet models use static input 32x128
_base_ = ['./text-recognition_static.py', '../../_base_/backends/tensorrt.py']

onnx_config = dict(input_shape=[128, 32])
backend_config = dict(
    common_config=dict(max_workspace_size=1 << 30),
    model_inputs=[
        dict(
            input_shapes=dict(
                input=dict(
                    min_shape=[1, 3, 32, 128],
                    opt_shape=[1, 3, 32, 128],
                    max_shape=[1, 3, 32, 128])))
    ])
