Class MPSMatrixSum

    • Constructor Detail

      • MPSMatrixSum

        public MPSMatrixSum()
      • MPSMatrixSum

        protected MPSMatrixSum​(NSObject.Handle h,
                               long handle)
      • MPSMatrixSum

        public MPSMatrixSum​(MTLDevice device,
                            long count,
                            long rows,
                            long columns,
                            boolean transpose)
      • MPSMatrixSum

        public MPSMatrixSum​(NSCoder decoder)
    • Method Detail

      • getRows

        public long getRows()
      • getColumns

        public long getColumns()
      • getCount

        public long getCount()
      • isTranspose

        public boolean isTranspose()
      • getNeuronParameterA

        public float getNeuronParameterA()
      • getNeuronParameterB

        public float getNeuronParameterB()
      • getNeuronParameterC

        public float getNeuronParameterC()
      • init

        protected long init​(MTLDevice device,
                            long count,
                            long rows,
                            long columns,
                            boolean transpose)
      • setNeuronType

        public void setNeuronType​(MPSCNNNeuronType neuronType,
                                  float parameterA,
                                  float parameterB,
                                  float parameterC)