Add logspace test modules (#72052)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/72052
Test Plan: tofu_demands_tests
Reviewed By: cccclai
Differential Revision: D33885099
fbshipit-source-id: 53eb12c6f4416d35f118a1357b714fec16d74157
(cherry picked from commit 2608cd937975f938c6bbc9ac5b5f9bf197ff1b95)