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