MPSRNNRecurrentImageState(3)
NAME
MPSRNNRecurrentImageState
SYNOPSIS
#import <MPSRNNLayer.h>
Inherits MPSState.
Instance Methods
(nullable MPSImage *) - getRecurrentOutputImageForLayerIndex:
(nullable MPSImage *) - getMemoryCellImageForLayerIndex:
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 image-based RNN layer (stack)
to the next.
Method Documentation
- (nullable MPSImage*) getMemoryCellImageForLayerIndex: (NSUInteger)
layerIndex
Access the stored memory cell image 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 data, otherwise nil.
- (nullable MPSImage*) getRecurrentOutputImageForLayerIndex: (NSUInteger)
layerIndex
Access the stored recurrent image 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 image data, otherwise
nil.
Author
Generated automatically by Doxygen for
MetalPerformanceShaders.framework from the source code.
Version MetalPerformanceShaders-Thu2Jul 13 2017 MPSRNNRecurrentImageState(3)
Mac OS X 10.12.6 - Generated Tue Oct 31 19:55:04 CDT 2017