MPSRNNRecurrentMatrixState(3) MetalPerformanceShaders.framework MPSRNNRecurrentMatrixState(3)

MPSRNNRecurrentMatrixState

#import <MPSRNNLayer.h>

Inherits MPSState.


(nullable MPSMatrix *) - getRecurrentOutputMatrixForLayerIndex:
(nullable MPSMatrix *) - getMemoryCellMatrixForLayerIndex:

This depends on Metal.framework This class holds all the data that is passed from one sequence iteration of the matrix-based RNN layer to the next.

- (nullable MPSMatrix*) getMemoryCellMatrixForLayerIndex: (NSUInteger) layerIndex

Access the stored memory cell matrix data (if present).

Parameters:

layerIndex Index of the layer whose to get - belongs to { 0, 1,...,

See also:

numberOfLayers - 1 }

Returns:

For valid layerIndex the memory cell image matrix, otherwise nil.

- (nullable MPSMatrix*) getRecurrentOutputMatrixForLayerIndex: (NSUInteger) layerIndex

Access the stored recurrent matrix data.

Parameters:

layerIndex Index of the layer whose to get - belongs to { 0, 1,...,

See also:

numberOfLayers - 1 }

Returns:

For valid layerIndex the recurrent output matrix data, otherwise nil.

Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.

Mon Jul 9 2018 Version MetalPerformanceShaders-119.3