An object that specifies properties used by a loss data descriptor.
SDKs
- iOS 11.3+
- macOS 10.13.4+
- Mac Catalyst 13.0+
- tvOS 11.3+
Framework
- Metal Performance Shaders
Declaration
@interface MPSCNNLossDataDescriptor : NSObject
An object that specifies properties used by a loss data descriptor.
SDKs
Framework
@interface MPSCNNLossDataDescriptor : NSObject
MPSCNNLoss
A kernel that computes the loss and loss gradient between specified predictions and labels.
MPSCNNLoss Descriptor
An object that specifies properties used by a loss kernel.
MPSCNNLoss Labels
A class that stores the per-element weight buffer used by loss and gradient loss kernels.
MPSCNNYOLOLoss
A kernel that computes the YOLO loss and loss gradient between specified predictions and labels.
MPSCNNYOLOLoss Descriptor
An object that specifies properties used by a YOLO loss kernel.