def construct_inputs_from_placeholders(
    input_placeholders: Dict[str, Placeholder], upper_bound: int
) -> [List[TensorType]]:
    """Construct the `inputs` param from placeholders with upper_bound."""
    inputs: [List[TensorType]] = []
    for input_name, placeholder in input_placeholders.items():
        input_shape = [
            ct.RangeDim(upper_bound=upper_bound) if is_symbolic(shape) else shape
            for shape in placeholder.sym_shape
        ]
        input_tensor_type = TensorType(name=input_name, shape=input_shape)
        inputs.append(input_tensor_type)
    return inputs
Construct the `inputs` param from placeholders with upper_bound.
coremltools/converters/mil/mil/ops/tests/testing_utils.py