Files
pytorch/test/expect/TestScript.test_annot_string_py3_method.expect
Lu Fang 722f80a07d Align String str() with the format in FunctionSchema (#23201)
Summary:
old: string
new: str

Pull Request resolved: https://github.com/pytorch/pytorch/pull/23201
ghstack-source-id: 87125580

Reviewed By: zrphercule

Differential Revision: D16432340

fbshipit-source-id: 56bc7e8efbc2276315f464958cf38704f75dd06e
2019-07-25 11:31:00 -07:00

9 lines
704 B
Plaintext

foo(ClassType<TestModule> self, Tensor x, (Tensor, Tensor) y) -> (Tensor, Tensor)
foo(ClassType<TestModule> self, Tensor x, (Tensor, Tensor) y) -> (Tensor, Tensor)
foo(ClassType<TestModule> self, str x, (Tensor, Tensor) y) -> (str, str)
foo(ClassType<TestModule> self, int x, (Tensor, Tensor) y) -> (int, int)
foo(ClassType<TestModule> self, bool x, (Tensor, Tensor) y) -> (bool, bool)
foo(ClassType<TestModule> self, float[] x, (Tensor, Tensor) y) -> (float[], float[])
foo(ClassType<TestModule> self, int[] x, (Tensor, Tensor) y) -> (int[], int[])
foo(ClassType<TestModule> self, int[] x, (Tensor, Tensor) y) -> (int[], int[])
foo(ClassType<TestModule> self, int? x, (Tensor, Tensor) y) -> (int?, int?)