Class MPSCNNDropoutNode

  • All Implemented Interfaces:
    NSObjectProtocol, org.robovm.objc.ObjCProtocol

    public class MPSCNNDropoutNode
    extends MPSNNFilterNode
    Since:
    Available in iOS 11.3 and later.
    • Constructor Detail

      • MPSCNNDropoutNode

        protected MPSCNNDropoutNode()
      • MPSCNNDropoutNode

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

        public MPSCNNDropoutNode​(MPSNNImageNode source)
      • MPSCNNDropoutNode

        public MPSCNNDropoutNode​(MPSNNImageNode source,
                                 float keepProbability)
      • MPSCNNDropoutNode

        public MPSCNNDropoutNode​(MPSNNImageNode source,
                                 float keepProbability,
                                 long seed,
                                 MTLSize maskStrideInPixels)
    • Method Detail

      • getKeepProbability

        public float getKeepProbability()
      • getSeed

        public long getSeed()
      • getMaskStrideInPixels

        public MTLSize getMaskStrideInPixels()
      • init

        protected long init​(MPSNNImageNode source,
                            float keepProbability)
      • init

        protected long init​(MPSNNImageNode source,
                            float keepProbability,
                            long seed,
                            MTLSize maskStrideInPixels)