Instance Method

encodeGradientSequenceToCommandBuffer:forwardSources:forwardSourceOffsets:sourceGradients:sourceGradientOffsets:destinationGradients:destinationOffsets:weightGradients:trainingStates:recurrentInputState:recurrentOutputStates:weights:

No overview available.

Declaration

- (void)encodeGradientSequenceToCommandBuffer:(id<MTLCommandBuffer>)commandBuffer forwardSources:(NSArray<MPSMatrix *> *)forwardSources forwardSourceOffsets:(NSUInteger *)forwardSourceOffsets sourceGradients:(NSArray<MPSMatrix *> *)sourceGradients sourceGradientOffsets:(NSUInteger *)sourceGradientOffsets destinationGradients:(NSArray<MPSMatrix *> *)destinationGradients destinationOffsets:(NSUInteger *)destinationOffsets weightGradients:(NSArray<MPSMatrix *> *)weightGradients trainingStates:(NSArray<MPSRNNMatrixTrainingState *> *)trainingStates recurrentInputState:(MPSRNNRecurrentMatrixState *)recurrentInputState recurrentOutputStates:(NSMutableArray<MPSRNNRecurrentMatrixState *> *)recurrentOutputStates weights:(NSArray<MPSMatrix *> *)weights;