tvm.container

Container data structures used in TVM DSL.

class tvm.container.Array(handle)

Array container of TVM.

You do not need to create Array explicitly. Normally python list and tuple will be converted automatically to Array during tvm function call. You may get Array in return values of TVM function call.

class tvm.container.LoweredFunc(handle)

Represent a LoweredFunc in TVM.

class tvm.container.Map(handle)

Map container of TVM.

You do not need to create Map explicitly. Normally python dict will be converted automatically to Array during tvm function call. You may get Map in return values of TVM function call.

items()

Get the items from the map

class tvm.container.Range(handle)

Represent range in TVM.

You do not need to create Range explicitly. Python list and tuple will be converted automatically to Range in api functions.