Class MPSCNNBinaryFullyConnectedNode

    • Constructor Detail

      • MPSCNNBinaryFullyConnectedNode

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • automaticallyNotifiesObserversForKey

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

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

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

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

        @NotNull
        public static @NotNull 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​(@NotNull
                                                                    @NotNull MPSNNImageNode sourceNode,
                                                                    @NotNull
                                                                    @NotNull 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​(@NotNull
                                                                                       @NotNull MPSNNImageNode sourceNode,
                                                                                       @NotNull
                                                                                       @NotNull 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

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • nodeWithSourceWeightsScaleValueTypeFlags

        public static MPSCNNBinaryFullyConnectedNode nodeWithSourceWeightsScaleValueTypeFlags​(@NotNull
                                                                                              @NotNull MPSNNImageNode sourceNode,
                                                                                              @NotNull
                                                                                              @NotNull 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​(@NotNull
                                                                                                                                         @NotNull MPSNNImageNode sourceNode,
                                                                                                                                         @NotNull
                                                                                                                                         @NotNull MPSCNNConvolutionDataSource weights,
                                                                                                                                         @Nullable
                                                                                                                                         @Nullable org.moe.natj.general.ptr.ConstFloatPtr outputBiasTerms,
                                                                                                                                         @Nullable
                                                                                                                                         @Nullable org.moe.natj.general.ptr.ConstFloatPtr outputScaleTerms,
                                                                                                                                         @Nullable
                                                                                                                                         @Nullable org.moe.natj.general.ptr.ConstFloatPtr inputBiasTerms,
                                                                                                                                         @Nullable
                                                                                                                                         @Nullable 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. API-Since: 11.3
      • nodeWithSourceWeightsOutputBiasTermsOutputScaleTermsInputBiasTermsInputScaleTermsTypeFlags

        public static MPSCNNBinaryFullyConnectedNode nodeWithSourceWeightsOutputBiasTermsOutputScaleTermsInputBiasTermsInputScaleTermsTypeFlags​(@NotNull
                                                                                                                                                @NotNull MPSNNImageNode sourceNode,
                                                                                                                                                @NotNull
                                                                                                                                                @NotNull MPSCNNConvolutionDataSource weights,
                                                                                                                                                @Nullable
                                                                                                                                                @Nullable org.moe.natj.general.ptr.ConstFloatPtr outputBiasTerms,
                                                                                                                                                @Nullable
                                                                                                                                                @Nullable org.moe.natj.general.ptr.ConstFloatPtr outputScaleTerms,
                                                                                                                                                @Nullable
                                                                                                                                                @Nullable org.moe.natj.general.ptr.ConstFloatPtr inputBiasTerms,
                                                                                                                                                @Nullable
                                                                                                                                                @Nullable 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. API-Since: 11.3
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.