Function tvm::script::printer::RawCallDocTranslate

Function tvm::script::printer::RawCallDocTranslate#

Function Documentation#

ExprDoc tvm::script::printer::RawCallDocTranslate(DocTranslatorObj *d, const CallObj *call, ffi::Optional<ffi::Array<ExprDoc>> translated_args = std::nullopt)#

Emit an explicit Call constructor preserving all call fields.

Parameters:
  • d – The translator for the call’s fields.

  • call – The typed call node; this is not the FDocTranslate hook signature.

  • translated_args – Optional already-translated arguments.

Returns:

The explicit constructor Doc.