Interface OpInfo

  • All Superinterfaces:
    Comparable<OpInfo>

    public interface OpInfo
    extends Comparable<OpInfo>
    Metadata about an Op implementation.
    Author:
    Curtis Rueden, David Kolb, Gabriel Selzer
    • Field Detail

      • IMPL_DECLARATION

        static final String IMPL_DECLARATION
        Identifier for an unaltered OpInfo in an Op signature
        See Also:
        Constant Field Values
    • Method Detail

      • opType

        Type opType()
        Generic type of the op. This will be the parameterized type of the concrete class
      • declaredHints

        Hints declaredHints()
        The hints declared by the Op
      • inputs

        default List<Member<?>> inputs()
        The op's input parameters.
      • inputTypes

        default List<Type> inputTypes()
        The types of the op's input parameters.
      • outputs

        default List<Member<?>> outputs()
        The op's output parameters.
      • output

        default Member<?> output()
        The op's output parameter, if there is exactly one.
      • outputType

        default Type outputType()
        The type of the op's output parameter, if there is exactly one.
      • priority

        double priority()
        The op's priority.
      • implementationName

        String implementationName()
        A fully qualified, unambiguous name for this specific op implementation.
      • createOpInstance

        StructInstance<?> createOpInstance​(List<?> dependencies)
        Creates an instance of the op's associated Struct metadata.
      • version

        String version()
        The version of the Op.
      • id

        String id()
        A unique identifier for an Op.
      • description

        default String description()
        A description of the Op's behavior.