Class MLCLSTMLayer

  • All Implemented Interfaces:
    NSObject

    @Deprecated
    public class MLCLSTMLayer
    extends MLCLayer
    Deprecated.
    MLCLSTMLayer A LSTM layer The hidden and cell state for inputs and outputs have a layout of [numberOfLayers, numberOfDirections, batchSize, hiddenSize]. API-Since: 14.0 Deprecated-Since: 100000.0 Deprecated-Message: Use Metal Performance Shaders Graph or BNNS instead.
    • Constructor Detail

      • MLCLSTMLayer

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
        Deprecated.
      • allocWithZone

        public static MLCLSTMLayer allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Deprecated.
      • automaticallyNotifiesObserversForKey

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

        @Nullable
        public @Nullable NSArray<? extends MLCTensor> biases()
        Deprecated.
        [@property] biases The array of tensors describing the bias terms for the input, hidden, cell and output gates
      • biasesParameters

        @Nullable
        public @Nullable NSArray<? extends MLCTensorParameter> biasesParameters()
        Deprecated.
        [@property] biasesParameters The bias tensor parameter used for optimizer update
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
        Deprecated.
      • 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)
        Deprecated.
      • classFallbacksForKeyedArchiver

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

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

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

        public static java.lang.String description_static()
        Deprecated.
      • descriptor

        @NotNull
        public @NotNull MLCLSTMDescriptor descriptor()
        Deprecated.
        [@property] descriptor The LSTM descriptor
      • gateActivations

        @NotNull
        public @NotNull NSArray<? extends MLCActivationDescriptor> gateActivations()
        Deprecated.
        [@property] gateActivations The array of gate activations for input, hidden, cell and output gates The default gate activations are: sigmoid, sigmoid, tanh, sigmoid
      • hash_static

        public static long hash_static()
        Deprecated.
      • hiddenWeights

        @NotNull
        public @NotNull NSArray<? extends MLCTensor> hiddenWeights()
        Deprecated.
        [@property] hiddenWeights The array of tensors describing the hidden weights for the input, hidden, cell and output gates
      • hiddenWeightsParameters

        @NotNull
        public @NotNull NSArray<? extends MLCTensorParameter> hiddenWeightsParameters()
        Deprecated.
        [@property] hiddenWeightsParameters The hidden weights tensor parameters used for optimizer update
      • inputWeights

        @NotNull
        public @NotNull NSArray<? extends MLCTensor> inputWeights()
        Deprecated.
        [@property] inputWeights The array of tensors describing the input weights for the input, hidden, cell and output gates
      • inputWeightsParameters

        @NotNull
        public @NotNull NSArray<? extends MLCTensorParameter> inputWeightsParameters()
        Deprecated.
        [@property] inputWeightsParameters The input weights tensor parameters used for optimizer update
      • instanceMethodSignatureForSelector

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

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

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

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

        public static MLCLSTMLayer layerWithDescriptorInputWeightsHiddenWeightsBiases​(@NotNull
                                                                                      @NotNull MLCLSTMDescriptor descriptor,
                                                                                      @NotNull
                                                                                      @NotNull NSArray<? extends MLCTensor> inputWeights,
                                                                                      @NotNull
                                                                                      @NotNull NSArray<? extends MLCTensor> hiddenWeights,
                                                                                      @Nullable
                                                                                      @Nullable NSArray<? extends MLCTensor> biases)
        Deprecated.
        Create a LSTM layer
        Parameters:
        descriptor - The LSTM descriptor
        inputWeights - An array of (layerCount * 4) tensors describing the input weights for the input, hidden, cell and output gates for layer0, layer1.. layer(n-1) for layerCount=n.
        hiddenWeights - An array of (layerCount * 4) tensors describing the hidden weights for the input, hidden, cell and output gates for layer0, layer1.. layer(n-1) for layerCount=n.
        Returns:
        A new LSTM layer.
      • layerWithDescriptorInputWeightsHiddenWeightsPeepholeWeightsBiases

        public static MLCLSTMLayer layerWithDescriptorInputWeightsHiddenWeightsPeepholeWeightsBiases​(@NotNull
                                                                                                     @NotNull MLCLSTMDescriptor descriptor,
                                                                                                     @NotNull
                                                                                                     @NotNull NSArray<? extends MLCTensor> inputWeights,
                                                                                                     @NotNull
                                                                                                     @NotNull NSArray<? extends MLCTensor> hiddenWeights,
                                                                                                     @Nullable
                                                                                                     @Nullable NSArray<? extends MLCTensor> peepholeWeights,
                                                                                                     @Nullable
                                                                                                     @Nullable NSArray<? extends MLCTensor> biases)
        Deprecated.
        Create a LSTM layer
        Parameters:
        descriptor - The LSTM descriptor
        inputWeights - An array of (layerCount * 4) tensors describing the input weights for the input, hidden, cell and output gates for layer0, layer1.. layer(n-1) for layerCount=n.
        hiddenWeights - An array of (layerCount * 4) tensors describing the hidden weights for the input, hidden, cell and output gates for layer0, layer1.. layer(n-1) for layerCount=n.
        peepholeWeights - An array of (layerCount * 4) tensors describing the peephole weights for the input, hidden, cell and output gates for layer0, layer1.. layer(n-1) for layerCount=n.
        Returns:
        A new LSTM layer.
      • layerWithDescriptorInputWeightsHiddenWeightsPeepholeWeightsBiasesGateActivationsOutputResultActivation

        public static MLCLSTMLayer layerWithDescriptorInputWeightsHiddenWeightsPeepholeWeightsBiasesGateActivationsOutputResultActivation​(@NotNull
                                                                                                                                          @NotNull MLCLSTMDescriptor descriptor,
                                                                                                                                          @NotNull
                                                                                                                                          @NotNull NSArray<? extends MLCTensor> inputWeights,
                                                                                                                                          @NotNull
                                                                                                                                          @NotNull NSArray<? extends MLCTensor> hiddenWeights,
                                                                                                                                          @Nullable
                                                                                                                                          @Nullable NSArray<? extends MLCTensor> peepholeWeights,
                                                                                                                                          @Nullable
                                                                                                                                          @Nullable NSArray<? extends MLCTensor> biases,
                                                                                                                                          @NotNull
                                                                                                                                          @NotNull NSArray<? extends MLCActivationDescriptor> gateActivations,
                                                                                                                                          @NotNull
                                                                                                                                          @NotNull MLCActivationDescriptor outputResultActivation)
        Deprecated.
        Create a LSTM layer
        Parameters:
        descriptor - The LSTM descriptor
        inputWeights - An array of (layerCount * 4) tensors describing the input weights for the input, hidden, cell and output gates for layer0, layer1.. layer(n-1) for layerCount=n. For bidirectional LSTM, the forward time weights for all stacked layers will come first followed by backward time weights
        hiddenWeights - An array of (layerCount * 4) tensors describing the hidden weights for the input, hidden, cell and output gates for layer0, layer1.. layer(n-1) for layerCount=n. For bidirectional LSTM, the forward time weights for all stacked layers will come first followed by backward time weights
        peepholeWeights - An array of (layerCount * 4) tensors describing the peephole weights for the input, hidden, cell and output gates for layer0, layer1.. layer(n-1) for layerCount=n.
        biases - An array of (layerCount * 4) tensors describing the input weights for the input, hidden, cell and output gates for layer0, layer1.. layer(n-1) for layerCount=n. For bidirectional LSTM, the forward time bias terms for all stacked layers will come first followed by backward time bias terms
        gateActivations - An array of 4 neuron descriptors for the input, hidden, cell and output gate activations.
        outputResultActivation - The neuron descriptor used for the activation function applied to output result. Default is tanh.
        Returns:
        A new LSTM layer.
      • new_objc

        public static MLCLSTMLayer new_objc()
        Deprecated.
      • outputResultActivation

        @NotNull
        public @NotNull MLCActivationDescriptor outputResultActivation()
        Deprecated.
        [@property] outputResultActivation The output activation descriptor
      • peepholeWeights

        @Nullable
        public @Nullable NSArray<? extends MLCTensor> peepholeWeights()
        Deprecated.
        [@property] peepholeWeights The array of tensors describing the peephole weights for the input, hidden, cell and output gates
      • peepholeWeightsParameters

        @Nullable
        public @Nullable NSArray<? extends MLCTensorParameter> peepholeWeightsParameters()
        Deprecated.
        [@property] peepholeWeightsParameters The peephole weights tensor parameters used for optimizer update
      • resolveClassMethod

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

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

        public static void setVersion_static​(long aVersion)
        Deprecated.
      • superclass_static

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

        public static boolean supportsDataTypeOnDevice​(int dataType,
                                                       @NotNull
                                                       @NotNull MLCDevice device)
        Deprecated.
      • version_static

        public static long version_static()
        Deprecated.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.