Class ListObj#

Inheritance Relationships#

Base Type#

Class Documentation#

class ListObj : public tvm::ffi::SeqBaseObj#

List node content in list.

Public Static Functions

static inline ObjectPtr<ListObj> CreateRepeated(int64_t n, const Any &val)#

Constructs a container with n elements. Each element is a copy of val.

Parameters:
  • n – The size of the container

  • val – The init value

Returns:

Ref-counted ListObj requested