Objective-CclassMetalPerformanceShadersGraph
MPSGraphScaledDotProductAttentionOp
@interface MPSGraphScaledDotProductAttentionOp : MPSGraphOperation
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classMPSGraphOperation
Members 10
- ivar
BOOL _hasCausalMask;+0x59 - ivar
BOOL _hasSinks;+0x58 - method
- (BOOL)hasCausalMask; - method
- (BOOL)hasSinks; - method
- (void *)makeMLIROpWithBuilder:(void *)arg0 symbolTable:(void *)arg1 inputValues:(void *)arg2 opInitialization:(BOOL)arg3 name:(id)arg4; - method
- (id)partialDerivativeForInputTensor:(id)arg0 incomingGradient:(id)arg1 inputIndex:(unsigned long long)arg2 name:(id)arg3; - method
- (void)setHasCausalMask:(BOOL)arg0; - method
- (void)setHasSinks:(BOOL)arg0; - property
@property(nonatomic) BOOL hasCausalMask; - property
@property(nonatomic) BOOL hasSinks;
Header
@interface MPSGraphScaledDotProductAttentionOp : MPSGraphOperation { BOOL _hasSinks; BOOL _hasCausalMask; } @property (nonatomic) BOOL hasSinks; @property (nonatomic) BOOL hasCausalMask; - (BOOL)hasSinks; - (void)setHasSinks:(BOOL)hasSinks; - (BOOL)hasCausalMask; - (void *)makeMLIROpWithBuilder:(void *)builder symbolTable:(void *)symbolTable inputValues:(void *)inputValues opInitialization:(BOOL)opInitialization name:(id)name; - (id)partialDerivativeForInputTensor:(id)inputTensor incomingGradient:(id)incomingGradient inputIndex:(unsigned long long)inputIndex name:(id)name; - (void)setHasCausalMask:(BOOL)hasCausalMask; @end