In new Object node system, if we define a packed func which requires Map<std::string, Arrayrelay::Expr> type argument, we cannot pass normal python dict such as {“data”: (relay.Any(), 3, 224, 224)} into it.
TVMError: Check failed: ObjectTypeChecker<TObjectRef>: :Check(ptr): Expected type Map[str,List[relay.Expr]] but get StrMap
This check failed due to the checking for Array element type returned false. Before new object system, this method is valid. Do we want to add it back or switch to new method?