Class MPSCNNBinaryFullyConnectedNode

    • Constructor Detail

      • MPSCNNBinaryFullyConnectedNode

        protected MPSCNNBinaryFullyConnectedNode​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • initWithSourceWeights

        public MPSCNNBinaryFullyConnectedNode initWithSourceWeights​(MPSNNImageNode sourceNode,
                                                                    MPSCNNConvolutionDataSource weights)
        Description copied from class: MPSCNNConvolutionNode
        Init a node representing a MPSCNNConvolution kernel
        Overrides:
        initWithSourceWeights in class MPSCNNBinaryConvolutionNode
        Parameters:
        sourceNode - The MPSNNImageNode representing the source MPSImage for the filter
        weights - A pointer to a valid object conforming to the MPSCNNConvolutionDataSource protocol. This object is provided by you to encapsulate storage for convolution weights and biases. If it is used for training, it may not have a neuron embedded in the convolution descriptor.
        Returns:
        A new MPSNNFilter node for a MPSCNNConvolution kernel.
      • initWithSourceWeightsScaleValueTypeFlags

        public MPSCNNBinaryFullyConnectedNode initWithSourceWeightsScaleValueTypeFlags​(MPSNNImageNode sourceNode,
                                                                                       MPSCNNConvolutionDataSource weights,
                                                                                       float scaleValue,
                                                                                       long type,
                                                                                       long flags)
        Init a node representing a MPSCNNBinaryFullyConnected kernel
        Overrides:
        initWithSourceWeightsScaleValueTypeFlags in class MPSCNNBinaryConvolutionNode
        Parameters:
        sourceNode - The MPSNNImageNode representing the source MPSImage for the filter
        weights - A pointer to a valid object conforming to the MPSCNNConvolutionDataSource protocol. This object is provided by you to encapsulate storage for convolution weights and biases.
        scaleValue - A floating point value used to scale the entire convolution.
        type - What kind of binarization strategy is to be used.
        flags - See documentation of MPSCNNBinaryConvolutionFlags.
        Returns:
        A new MPSNNFilter node for a MPSCNNBinaryFullyConnected kernel.
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • nodeWithSourceWeightsScaleValueTypeFlags

        public static MPSCNNBinaryFullyConnectedNode nodeWithSourceWeightsScaleValueTypeFlags​(MPSNNImageNode sourceNode,
                                                                                              MPSCNNConvolutionDataSource weights,
                                                                                              float scaleValue,
                                                                                              long type,
                                                                                              long flags)
        Init an autoreleased node representing a MPSCNNBinaryFullyConnected kernel
        Parameters:
        sourceNode - The MPSNNImageNode representing the source MPSImage for the filter
        weights - A pointer to a valid object conforming to the MPSCNNConvolutionDataSource protocol. This object is provided by you to encapsulate storage for convolution weights and biases.
        scaleValue - A floating point value used to scale the entire convolution.
        type - What kind of binarization strategy is to be used.
        flags - See documentation of MPSCNNBinaryConvolutionFlags.
        Returns:
        A new MPSNNFilter node for a MPSCNNBinaryFullyConnected kernel.
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • initWithSourceWeightsOutputBiasTermsOutputScaleTermsInputBiasTermsInputScaleTermsTypeFlags

        public MPSCNNBinaryFullyConnectedNode initWithSourceWeightsOutputBiasTermsOutputScaleTermsInputBiasTermsInputScaleTermsTypeFlags​(MPSNNImageNode sourceNode,
                                                                                                                                         MPSCNNConvolutionDataSource weights,
                                                                                                                                         org.moe.natj.general.ptr.ConstFloatPtr outputBiasTerms,
                                                                                                                                         org.moe.natj.general.ptr.ConstFloatPtr outputScaleTerms,
                                                                                                                                         org.moe.natj.general.ptr.ConstFloatPtr inputBiasTerms,
                                                                                                                                         org.moe.natj.general.ptr.ConstFloatPtr inputScaleTerms,
                                                                                                                                         long type,
                                                                                                                                         long flags)
        Init a node representing a MPSCNNBinaryFullyConnected kernel
        Overrides:
        initWithSourceWeightsOutputBiasTermsOutputScaleTermsInputBiasTermsInputScaleTermsTypeFlags in class MPSCNNBinaryConvolutionNode
        Parameters:
        sourceNode - The MPSNNImageNode representing the source MPSImage for the filter
        weights - A pointer to a valid object conforming to the MPSCNNConvolutionDataSource protocol. This object is provided by you to encapsulate storage for convolution weights and biases.
        outputBiasTerms - A pointer to bias terms to be applied to the convolution output. See MPSCNNBinaryConvolution for more details.
        outputScaleTerms - A pointer to scale terms to be applied to binary convolution results per output feature channel. See MPSCNNBinaryConvolution for more details.
        inputBiasTerms - A pointer to offset terms to be applied to the input before convolution and before input scaling. See MPSCNNBinaryConvolution for more details.
        inputScaleTerms - A pointer to scale terms to be applied to the input before convolution, but after input biasing. See MPSCNNBinaryConvolution for more details.
        type - What kind of binarization strategy is to be used.
        flags - See documentation of MPSCNNBinaryConvolutionFlags.
        Returns:
        A new MPSNNFilter node for a MPSCNNBinaryFullyConnected kernel.
      • nodeWithSourceWeightsOutputBiasTermsOutputScaleTermsInputBiasTermsInputScaleTermsTypeFlags

        public static MPSCNNBinaryFullyConnectedNode nodeWithSourceWeightsOutputBiasTermsOutputScaleTermsInputBiasTermsInputScaleTermsTypeFlags​(MPSNNImageNode sourceNode,
                                                                                                                                                MPSCNNConvolutionDataSource weights,
                                                                                                                                                org.moe.natj.general.ptr.ConstFloatPtr outputBiasTerms,
                                                                                                                                                org.moe.natj.general.ptr.ConstFloatPtr outputScaleTerms,
                                                                                                                                                org.moe.natj.general.ptr.ConstFloatPtr inputBiasTerms,
                                                                                                                                                org.moe.natj.general.ptr.ConstFloatPtr inputScaleTerms,
                                                                                                                                                long type,
                                                                                                                                                long flags)
        Init an autoreleased node representing a MPSCNNBinaryFullyConnected kernel
        Parameters:
        sourceNode - The MPSNNImageNode representing the source MPSImage for the filter
        weights - A pointer to a valid object conforming to the MPSCNNConvolutionDataSource protocol. This object is provided by you to encapsulate storage for convolution weights and biases.
        outputBiasTerms - A pointer to bias terms to be applied to the convolution output. See MPSCNNBinaryConvolution for more details.
        outputScaleTerms - A pointer to scale terms to be applied to binary convolution results per output feature channel. See MPSCNNBinaryConvolution for more details.
        inputBiasTerms - A pointer to offset terms to be applied to the input before convolution and before input scaling. See MPSCNNBinaryConvolution for more details.
        inputScaleTerms - A pointer to scale terms to be applied to the input before convolution, but after input biasing. See MPSCNNBinaryConvolution for more details.
        type - What kind of binarization strategy is to be used.
        flags - See documentation of MPSCNNBinaryConvolutionFlags.
        Returns:
        A new MPSNNFilter node for a MPSCNNBinaryFullyConnected kernel.