ShapeInferContext_GetAttribute property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtShapeInferContext> context, Pointer<Char> attr_name, Pointer<Pointer<OrtOpAttr> > attr)> >
ShapeInferContext_GetAttribute
getter/setter pair
Get attribute from OrtShapeInferContext. Note that OrtShapeInferContext is a per-node context, one could only read attribute from current node.
\paramin context
\paramin attr_name Name of the attribute
\paramout attr Handle of the attribute fetched
\since Version 1.17.
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtShapeInferContext> context,
ffi.Pointer<ffi.Char> attr_name,
ffi.Pointer<ffi.Pointer<OrtOpAttr>> attr,
)
>
>
ShapeInferContext_GetAttribute;