Class DnnTransform


  • public class DnnTransform
    extends Lop
    • Method Detail

      • updateLopProperties

        public void updateLopProperties()
      • toString

        public String toString()
        Description copied from class: Lop
        Method to have Lops print their state. This is for debugging purposes.
        Specified by:
        toString in class Lop
      • getOp

        public Types.OpOpDnn getOp()
        method to get operation type
        Returns:
        operation type
      • getInstructions

        public String getInstructions​(String input,
                                      String bias,
                                      String output)
        Description copied from class: Lop
        Method should be overridden if needed
        Overrides:
        getInstructions in class Lop
        Parameters:
        input - input 1
        bias - input 2
        output - output
        Returns:
        instructions as string
      • getInstructions

        public String getInstructions​(String input,
                                      String C,
                                      String HW,
                                      String output)
        Description copied from class: Lop
        Method should be overridden if needed
        Overrides:
        getInstructions in class Lop
        Parameters:
        input - input 1
        C - input 2
        HW - input 3
        output - output
        Returns:
        instructions as string
      • getInstructions

        public String getInstructions​(String input1,
                                      String input2,
                                      String input3,
                                      String input4,
                                      String output)
        Description copied from class: Lop
        Method should be overridden if needed
        Overrides:
        getInstructions in class Lop
        Parameters:
        input1 - input 1
        input2 - input 2
        input3 - input 3
        input4 - input 4
        output - output
        Returns:
        instructions as string
      • getInstructions

        public String getInstructions​(String input1,
                                      String input2,
                                      String input3,
                                      String input4,
                                      String input5,
                                      String input6,
                                      String output)
        Description copied from class: Lop
        Method should be overridden if needed
        Overrides:
        getInstructions in class Lop
        Parameters:
        input1 - input 1
        input2 - input 2
        input3 - input 3
        input4 - input 4
        input5 - input 5
        input6 - input 6
        output - output
        Returns:
        instructions as string
      • appendOperands

        public void appendOperands​(int startInputIndex,
                                   int endInputIndex,
                                   String output,
                                   StringBuilder sb)