PlatformInfo

Function Usage

Sets the PlatFormInfo pointer of an operator to store the TilingParseContext result, that is, PlatformInfo.

Prototype

1
OpTilingParseContextBuilder &PlatformInfo(const void *platform_info)

Parameters

Parameter

Input/Output

Description

platform_info

Input

Pointer to platform information.

Returns

A reference to the OpTilingParseContextBuilder object. It is used for chaining method calls.

Constraints

The caller has the memory ownership of the void* parameter passed through a pointer. They must ensure that the pointer is valid throughout the lifecycle of the ContextHolder object.