MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / args_def

Method args_def

paddle/phi/capi/include/wrapper_base.h:545–550  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543 explicit Kernel(PD_Kernel* kernel) : WrapperBase<PD_Kernel>(kernel) {}
544
545 KernelArgsDef args_def() const {
546 C_Status status;
547 auto ptr = PD_KernelGetArgsDef(raw_data(), &status);
548 PD_CHECK_STATUS(status);
549 return KernelArgsDef(ptr);
550 }
551
552 TensorArgDef InputAt(size_t idx) { return args_def().input_defs()[idx]; }
553

Callers 13

PD_KernelGetArgsDefFunction · 0.80
HasRuntimeAttributesMethod · 0.80
PrepareDataMethod · 0.80
BuildPhiKernelContextMethod · 0.80
ApplyDataTransformFunction · 0.80
PreparePhiDataFunction · 0.80
BuildOutputsFunction · 0.80
BuildInputsFunction · 0.80
RewritePdOpMethod · 0.80

Calls 2

PD_KernelGetArgsDefFunction · 0.85
KernelArgsDefClass · 0.70

Tested by 1

TESTFunction · 0.64