Objective-CclassMetalPerformanceShadersGraph
MPSGraphVariableOp
@interface MPSGraphVariableOp : MPSGraphOperation
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classMPSGraphOperation
Members 15
- ivar
unsigned int _dataType;+0x60 - ivar
NSArray *_shape;+0x68 - ivar
MPSGraphVariable *_variable;+0x58 - method
- (void).cxx_destruct; - method
- (unsigned int)dataType; - method
- (id)initWithGraph:(id)arg0 shape:(id)arg1 dataType:(unsigned int)arg2 name:(id)arg3; - method
- (id)initWithGraph:(id)arg0 variableMPSNDArray:(id)arg1 name:(id)arg2; - method
- (void *)makeMLIROpWithBuilder:(void *)arg0 symbolTable:(void *)arg1 inputValues:(void *)arg2 opInitialization:(BOOL)arg3 name:(id)arg4; - method
- (id)mpsNDArrayWithDevice:(id)arg0; - method
- (id)partialDerivativeForInputTensor:(id)arg0 incomingGradient:(id)arg1 inputIndex:(unsigned long long)arg2 name:(id)arg3; - method
- (id)shape; - method
- (id)variable; - property
@property(readonly, nonatomic) unsigned int dataType; - property
@property(readonly, nonatomic) NSArray *shape; - property
@property(readonly, nonatomic) MPSGraphVariable *variable;
Header
@interface MPSGraphVariableOp : MPSGraphOperation { MPSGraphVariable *_variable; unsigned int _dataType; NSArray *_shape; } @property (nonatomic, readonly) MPSGraphVariable *variable; @property (nonatomic, readonly) NSArray *shape; @property (nonatomic, readonly) unsigned int dataType; - (id)shape; - (id)variable; - (unsigned int)dataType; - (void).cxx_destruct; - (id)initWithGraph:(id)graph shape:(id)shape dataType:(unsigned int)dataType name:(id)name; - (id)initWithGraph:(id)graph variableMPSNDArray:(id)variableMPSNDArray name:(id)name; - (void *)makeMLIROpWithBuilder:(void *)builder symbolTable:(void *)symbolTable inputValues:(void *)inputValues opInitialization:(BOOL)opInitialization name:(id)name; - (id)mpsNDArrayWithDevice:(id)device; - (id)partialDerivativeForInputTensor:(id)inputTensor incomingGradient:(id)incomingGradient inputIndex:(unsigned long long)inputIndex name:(id)name; @end