Class MinMaxDataType

  • All Implemented Interfaces:
    CustomOp

    public class MinMaxDataType
    extends DynamicCustomOp
    Returns the min or max (0 or 1 in int arguments) for a given data type. The first data type is passed in as an int represented in DataType.fromInt(int) The second value (as described above) is min or max representing the value. This value is returned as a scalar.
    • Constructor Detail

      • MinMaxDataType

        public MinMaxDataType()
      • MinMaxDataType

        public MinMaxDataType​(SameDiff sd,
                              int datatype,
                              int minOrMax)
      • MinMaxDataType

        public MinMaxDataType​(int datatype,
                              int minOrMax)