def METHOD_NAME():
    description = """Computes a general notion of inner product between two fields of
        possibly different dimensionality."""
    spec = Specification(
        description=description,
        map_input_pin_spec={
            0: PinSpecification(
                name="fieldA",
                type_names=[
                    "field",
                    "fields_container",
                    "double",
                    "vector<double>",
                ],
                optional=False,
                document="""Field or fields container with only one field
    is expected""",
            ),
            1: PinSpecification(
                name="fieldB",
                type_names=[
                    "field",
                    "fields_container",
                    "double",
                    "vector<double>",
                ],
                optional=False,
                document="""Field or fields container with only one field
    is expected""",
            ),
        },
        map_output_pin_spec={
            0: PinSpecification(
                name="field",
                type_names=["field"],
                optional=False,
                document="""""",
            ),
        },
    )
    return spec