Make IrCloner able to handle int64_t (nothing to clone, just return as is, in the future, we could add more types), std::tuple, and std::unordered_set, and their combinations recursively, for example, a set of tuple of (int64, vector).
Split from https://github.com/csarofeen/pytorch/pull/2488
Make
IrCloner
able to handleint64_t
(nothing to clone, just return as is, in the future, we could add more types),std::tuple
, andstd::unordered_set
, and their combinations recursively, for example, a set of tuple of (int64, vector). Split from https://github.com/csarofeen/pytorch/pull/2488