Class Args

Class Documentation

class cinn::lang::Args

Arguments of the PackedFunc.

Public Functions

Args() = default
Args(cinn_value_t *values, int *type_codes, int len)
void Append(const ArgValue &arg)

Append a value of type code type_code.

size_t size() const

Count of the arguments.

bool empty() const

if the arguments is empty

ArgValue &operator[](int i)

Get i-th element.

const ArgValue &operator[](int i) const
common::CINNValuePack ToValuePack() const