def METHOD_NAME(
    model_a_weights: RepeatedCompositeFieldContainer,
    model_b_weights: RepeatedCompositeFieldContainer,
    amount: float,
) -> List[TensorProto]:
    amount_b = amount / 100
    amount_a = 1 - amount_b
    interp_weights_list = []
    for weight_a, weight_b in zip(model_a_weights, model_b_weights):
        weight_name = weight_b.name
        weight_array_a = onph.to_array(weight_a)
        weight_array_b = onph.to_array(weight_b)
        assert (
            weight_array_a.shape == weight_array_b.shape
        ), "Weights must have same size and shape"
        weight_array_interp = (
            weight_array_a * amount_a + weight_array_b * amount_b
        ).astype(weight_array_a.dtype)
        weight_interp = onph.from_array(weight_array_interp, weight_name)
        interp_weights_list.append(weight_interp)
    return interp_weights_list