MPSRNNRecurrentMatrixState(3)
NAME
MPSRNNRecurrentMatrixState
SYNOPSIS
#import <MPSRNNLayer.h>
Inherits MPSState.
Instance Methods
(nullable MPSMatrix *) - getRecurrentOutputMatrixForLayerIndex:
(nullable MPSMatrix *) - getMemoryCellMatrixForLayerIndex:
Additional Inherited Members
Detailed Description
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.
Method Documentation
- (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.
Author
Generated automatically by Doxygen for
MetalPerformanceShaders.framework from the source code.
Version MetalPerformanceShaders-Thu2Jul 13 2017 MPSRNNRecurrentMatrixState(3)
Mac OS X 10.12.6 - Generated Tue Oct 31 19:55:38 CDT 2017