MPSCNNYOLOLossNode(3) | MetalPerformanceShaders.framework | MPSCNNYOLOLossNode(3) |
MPSCNNYOLOLossNode
#import <MPSNNGraphNodes.h>
Inherits MPSNNFilterNode.
(nonnull instancetype) - initWithSource:lossDescriptor:
(MPSNNGradientFilterNode *__nonnull) -
gradientFilterWithSources:
(nonnull instancetype) + nodeWithSource:lossDescriptor:
MPSNNLabelsNode * inputLabels
This node calculates loss information during training typically immediately after the inference portion of network evaluation is performed. The result image of the loss operations is typically the first gradient image to be comsumed by the gradient passes that work their way back up the graph. In addition, the node will update the loss image in the MPSNNLabels with the desired estimate of correctness.
The loss filter is its own gradient filter and doesn't provide a corresponding gradient node. The image returned by the loss filter is the gradient image to be consumed by the gradient filters corresponding to preceeding inference nodes.
Reimplemented from MPSNNFilterNode.
Get the input node for labes and weights, for example to set the handle
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.
Mon Jul 9 2018 | Version MetalPerformanceShaders-119.3 |