Files
pytorch/test/expect/TestScript.test_annot_string_py3_fn.expect
Lu Fang c8c5e11fba Support variadic returns in Schema's operator<< (#23204)
Summary:
old: prim::PythonOp(...) ->
new: prim::PythonOp(...) -> ...

Pull Request resolved: https://github.com/pytorch/pytorch/pull/23204
ghstack-source-id: 87208343

Reviewed By: zrphercule

Differential Revision: D16433592

fbshipit-source-id: 36cbb329188f112e09c3b1708a8090781b830dfe
2019-07-26 10:58:00 -07:00

9 lines
472 B
Plaintext

foo(Tensor x, (Tensor, Tensor) y) -> ((Tensor, Tensor))
foo(Tensor x, (Tensor, Tensor) y) -> ((Tensor, Tensor))
foo(str x, (Tensor, Tensor) y) -> ((str, str))
foo(int x, (Tensor, Tensor) y) -> ((int, int))
foo(bool x, (Tensor, Tensor) y) -> ((bool, bool))
foo(float[3] x, (Tensor, Tensor) y) -> ((float[], float[]))
foo(int[2] x, (Tensor, Tensor) y) -> ((int[], int[]))
foo(int[] x, (Tensor, Tensor) y) -> ((int[], int[]))
foo(int? x, (Tensor, Tensor) y) -> ((int?, int?))