Prior to this commit, FAttrsGetter was defined as a function that returned Map<String, String>. However, it is used to define attributes in a Map<String, ObjectRef>, and in some cases is used to define attributes whose value is a dictionary (e.g. msc_attrs_getter in python/tvm/contrib/msc/core/transform/pattern.py).
This commit updates the type signature of FAttrsGetter to match its usage, returning a Map<String, ObjectRef>.
Prior to this commit,
FAttrsGetter
was defined as a function that returnedMap<String, String>
. However, it is used to define attributes in aMap<String, ObjectRef>
, and in some cases is used to define attributes whose value is a dictionary (e.g.msc_attrs_getter
inpython/tvm/contrib/msc/core/transform/pattern.py
).This commit updates the type signature of
FAttrsGetter
to match its usage, returning aMap<String, ObjectRef>
.