Replace simple if_true / if_false cases in Declarations.cwrap. (#26285)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/26285
I renamed:
THTensor_(std / var) -> THTensor(std_single / var_single)
THTensor(stdall / varall) -> THTensor(std_all, var_all)
because I reversed the meaning of the bias/unbiased parameters (to match ATen) and type checking wouldn't catch failures.
Test Plan: Imported from OSS
Differential Revision: D17397227
Pulled By: gchanan
fbshipit-source-id: 244fe878d4e1045620137c00fbaea6e6f919fc8d