Quark APIs for PyTorch

Quark APIs for PyTorch#

User facing APIs: