fritzo: @neerajprad can you please confirm this is the proper way to fix the rng seed in PyTest? I tried to follow a much-simplified form of how we do this in Pyro.
diff --git a/funsor/__init__.py b/funsor/__init__.py
index f70a8d5..45c7281 100644
--- a/funsor/__init__.py
+++ b/funsor/__init__.py
@@ -1,9 +1,9 @@
 from __future__ import absolute_import, division, print_function
 
-from funsor.domains import Domain, find_domain, bint, reals
+from funsor.domains import Domain, bint, find_domain, reals
 from funsor.interpreter import reinterpret
 from funsor.terms import Funsor, Number, Variable, of_shape, to_funsor
-from funsor.torch import Function, Tensor, arange, function
+from funsor.torch import Function, Tensor, arange, einsum, function
 
 from . import distributions, domains, handlers, interpreter, minipyro, ops, terms, torch
 
@@ -18,6 +18,7 @@ __all__ = [
     'backward',
     'distributions',
     'domains',
+    'einsum',
     'find_domain',
     'function',
     'handlers',
diff --git a/funsor/torch.py b/funsor/torch.py
index 459b049..846c04c 100644
--- a/funsor/torch.py
+++ b/funsor/torch.py
@@ -7,7 +7,7 @@ import torch
 from six import add_metaclass, integer_types
 
 import funsor.ops as ops
-from funsor.domains import Domain, find_domain, bint
+from funsor.domains import Domain, bint, find_domain, reals
 from funsor.six import getargspec
 from funsor.terms import Binary, Funsor, FunsorMeta, Number, Variable, eager, to_funsor
 
@@ -377,11 +377,35 @@ def function(*signature):
     return functools.partial(_function, inputs, output)
 
 
+def einsum(equation, *operands):
+    """
+    Wrapper around :func:`torch.einsum` to operate on real-valued Funsors.
+
+    Note this operates only on the ``output`` tensor. To perform sum-product
+    contractions on named dimensions, instead use ``+`` and
+    :class:`~funsor.terms.Reduce`.
+    """
+    assert isinstance(equation, str)
+    assert isinstance(operands, tuple)
+    for x in operands:
+        assert isinstance(x, Funsor)
+        assert x.dtype == 'real'
+    inputs, output = equation.split('->')
+    inputs = inputs.split(',')
+    sizes = {dim: size
+             for input_, operand in zip(inputs, operands)
+             for dim, size in zip(input_, operand.output.shape)}
+    output = reals(*(sizes[dim] for dim in output))
+    fn = functools.partial(torch.einsum, equation)
+    return Function(fn, output, operands)
+
+
 __all__ = [
     'Function',
     'Tensor',
     'align_tensors',
     'arange',
+    'einsum',
     'function',
     'materialize',
 ]

Nondeterministic test failure in test_einsum.py
I suspect this is due to nondeterminism somewhere, like use of a dict rather than an `OrderedDict`.
```
==== FAILURES ====
____ test_einsum[a,ab,bc,cd->] ____

equation = 'a,ab,bc,cd->'

    @pytest.mark.parametrize('equation', EINSUM_EXAMPLES + XFAIL_EINSUM_EXAMPLES)
    def test_einsum(equation):
        inputs, outputs, operands, sizes = make_example(equation)
        funsor_operands = [
            funsor.Tensor(operand, OrderedDict([(d, funsor.bint(sizes[d])) for d in inp]))
            for inp, operand in zip(inputs, operands)
        ]
        expected = torch.einsum(equation, operands)
        actual = naive_einsum(equation, *funsor_operands)
        assert expected.shape == actual.data.shape
>       assert torch.allclose(expected, actual.data)
E       AssertionError: assert False
E        +  where False = <built-in method allclose of type object at 0x11953f470>(tensor(-0.0174), tensor(-0.0174))
E        +    where <built-in method allclose of type object at 0x11953f470> = torch.allclose
E        +    and   tensor(-0.0174) = Tensor(-0.01743006706237793, OrderedDict(), 'real').data

test/test_einsum.py:76: AssertionError
==== 1 failed, 785 passed, 9 skipped, 16 xfailed in 3.28 seconds ====
make: *** [test] Error 1
```
diff --git a/test/conftest.py b/test/conftest.py
new file mode 100644
index 0000000..511326d
--- /dev/null
+++ b/test/conftest.py
@@ -0,0 +1,7 @@
+from __future__ import absolute_import, division, print_function
+
+import pyro
+
+
+def pytest_runtest_setup(item):
+    pyro.set_rng_seed(0)
diff --git a/test/test_torch.py b/test/test_torch.py
index 17602c1..2aaa65a 100644
--- a/test/test_torch.py
+++ b/test/test_torch.py
@@ -387,3 +387,29 @@ def test_align():
         for j in range(3):
             for k in range(4):
                 assert x(i=i, j=j, k=k) == y(i=i, j=j, k=k)
+
+
+@pytest.mark.parametrize('equation', [
+    'a->a',
+    'a,a->a',
+    'a,b->',
+    'a,b->a',
+    'a,b->b',
+    'a,b->ab',
+    'a,b->ba',
+    'ab,ba->',
+    'ab,ba->a',
+    'ab,ba->b',
+    'ab,ba->ab',
+    'ab,ba->ba',
+    'ab,bc->ac',
+])
+def test_einsum(equation):
+    sizes = dict(a=2, b=3, c=4)
+    inputs, outputs = equation.split('->')
+    inputs = inputs.split(',')
+    tensors = [torch.randn(tuple(sizes[d] for d in dims)) for dims in inputs]
+    funsors = [Tensor(x) for x in tensors]
+    expected = Tensor(torch.einsum(equation, *tensors))
+    actual = funsor.einsum(equation, *funsors)
+    assert_close(actual, expected)

pip install -e .[dev]
parse_log_pytest
pytest
pytest
apt-get update apt-get install -y gcc
3.6
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work
certifi==2021.5.30
contextlib2==21.6.0
dataclasses==0.8
flake8==5.0.4
-e git+https://github.com/pyro-ppl/funsor.git@f9643eea1d55898e7227c3b9f0c953b9874c4854#egg=funsor
importlib-metadata==4.2.0
importlib-resources==5.4.0
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
isort==5.10.1
mccabe==0.7.0
more-itertools @ file:///tmp/build/80754af9/more-itertools_1637733554872/work
multipledispatch==1.0.0
numpy==1.19.5
opt-einsum==3.3.0
packaging @ file:///tmp/build/80754af9/packaging_1637314298585/work
pluggy @ file:///tmp/build/80754af9/pluggy_1615976315926/work
py @ file:///opt/conda/conda-bld/py_1644396412707/work
pycodestyle==2.9.1
pyflakes==2.5.0
pyparsing @ file:///tmp/build/80754af9/pyparsing_1635766073266/work
pyro-api==0.1.2
pyro-ppl==1.8.0
pytest==6.2.4
six==1.17.0
toml @ file:///tmp/build/80754af9/toml_1616166611790/work
torch==1.10.2
tqdm==4.64.1
typing_extensions @ file:///opt/conda/conda-bld/typing_extensions_1647553014482/work
zipp @ file:///tmp/build/80754af9/zipp_1633618647012/work

name: funsor
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - attrs=21.4.0=pyhd3eb1b0_0
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - importlib_metadata=4.8.1=hd3eb1b0_0
  - iniconfig=1.1.1=pyhd3eb1b0_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - more-itertools=8.12.0=pyhd3eb1b0_0
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - packaging=21.3=pyhd3eb1b0_0
  - pip=21.2.2=py36h06a4308_0
  - pluggy=0.13.1=py36h06a4308_0
  - py=1.11.0=pyhd3eb1b0_0
  - pyparsing=3.0.4=pyhd3eb1b0_0
  - pytest=6.2.4=py36h06a4308_2
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - toml=0.10.2=pyhd3eb1b0_0
  - typing_extensions=4.1.1=pyh06a4308_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zipp=3.6.0=pyhd3eb1b0_0
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - contextlib2==21.6.0
      - dataclasses==0.8
      - flake8==5.0.4
      - importlib-metadata==4.2.0
      - importlib-resources==5.4.0
      - isort==5.10.1
      - mccabe==0.7.0
      - multipledispatch==1.0.0
      - numpy==1.19.5
      - opt-einsum==3.3.0
      - pycodestyle==2.9.1
      - pyflakes==2.5.0
      - pyro-api==0.1.2
      - pyro-ppl==1.8.0
      - six==1.17.0
      - torch==1.10.2
      - tqdm==4.64.1
prefix: /opt/conda/envs/funsor

test/test_torch.py::test_einsum[a->a] test/test_torch.py::test_einsum[a,a->a] test/test_torch.py::test_einsum[a,b->] test/test_torch.py::test_einsum[a,b->a] test/test_torch.py::test_einsum[a,b->b] test/test_torch.py::test_einsum[a,b->ab] test/test_torch.py::test_einsum[a,b->ba] test/test_torch.py::test_einsum[ab,ba->] test/test_torch.py::test_einsum[ab,ba->a] test/test_torch.py::test_einsum[ab,ba->b] test/test_torch.py::test_einsum[ab,ba->ab] test/test_torch.py::test_einsum[ab,ba->ba] test/test_torch.py::test_einsum[ab,bc->ac]
test/test_torch.py::test_advanced_indexing_lazy[output_shape0] test/test_torch.py::test_advanced_indexing_lazy[output_shape1] test/test_torch.py::test_advanced_indexing_lazy[output_shape2]
test/test_torch.py::test_to_funsor[dtype0-shape0] test/test_torch.py::test_to_funsor[dtype0-shape1] test/test_torch.py::test_to_funsor[dtype0-shape2] test/test_torch.py::test_to_funsor[dtype1-shape0] test/test_torch.py::test_to_funsor[dtype1-shape1] test/test_torch.py::test_to_funsor[dtype1-shape2] test/test_torch.py::test_to_funsor[dtype2-shape0] test/test_torch.py::test_to_funsor[dtype2-shape1] test/test_torch.py::test_to_funsor[dtype2-shape2] test/test_torch.py::test_cons_hash test/test_torch.py::test_indexing test/test_torch.py::test_advanced_indexing_shape test/test_torch.py::test_advanced_indexing_tensor[output_shape0] test/test_torch.py::test_advanced_indexing_tensor[output_shape1] test/test_torch.py::test_advanced_indexing_tensor[output_shape2] test/test_torch.py::test_unary[~-dims0] test/test_torch.py::test_unary[~-dims1] test/test_torch.py::test_unary[~-dims2] test/test_torch.py::test_unary[--dims0] test/test_torch.py::test_unary[--dims1] test/test_torch.py::test_unary[--dims2] test/test_torch.py::test_unary[abs-dims0] test/test_torch.py::test_unary[abs-dims1] test/test_torch.py::test_unary[abs-dims2] test/test_torch.py::test_unary[sqrt-dims0] test/test_torch.py::test_unary[sqrt-dims1] test/test_torch.py::test_unary[sqrt-dims2] test/test_torch.py::test_unary[exp-dims0] test/test_torch.py::test_unary[exp-dims1] test/test_torch.py::test_unary[exp-dims2] test/test_torch.py::test_unary[log-dims0] test/test_torch.py::test_unary[log-dims1] test/test_torch.py::test_unary[log-dims2] test/test_torch.py::test_unary[log1p-dims0] test/test_torch.py::test_unary[log1p-dims1] test/test_torch.py::test_unary[log1p-dims2] test/test_torch.py::test_binary_funsor_funsor[+-dims10-dims20] test/test_torch.py::test_binary_funsor_funsor[+-dims10-dims21] test/test_torch.py::test_binary_funsor_funsor[+-dims10-dims22] test/test_torch.py::test_binary_funsor_funsor[+-dims10-dims23] test/test_torch.py::test_binary_funsor_funsor[+-dims11-dims20] test/test_torch.py::test_binary_funsor_funsor[+-dims11-dims21] test/test_torch.py::test_binary_funsor_funsor[+-dims11-dims22] test/test_torch.py::test_binary_funsor_funsor[+-dims11-dims23] test/test_torch.py::test_binary_funsor_funsor[+-dims12-dims20] test/test_torch.py::test_binary_funsor_funsor[+-dims12-dims21] test/test_torch.py::test_binary_funsor_funsor[+-dims12-dims22] test/test_torch.py::test_binary_funsor_funsor[+-dims12-dims23] test/test_torch.py::test_binary_funsor_funsor[+-dims13-dims20] test/test_torch.py::test_binary_funsor_funsor[+-dims13-dims21] test/test_torch.py::test_binary_funsor_funsor[+-dims13-dims22] test/test_torch.py::test_binary_funsor_funsor[+-dims13-dims23] test/test_torch.py::test_binary_funsor_funsor[--dims10-dims20] test/test_torch.py::test_binary_funsor_funsor[--dims10-dims21] test/test_torch.py::test_binary_funsor_funsor[--dims10-dims22] test/test_torch.py::test_binary_funsor_funsor[--dims10-dims23] test/test_torch.py::test_binary_funsor_funsor[--dims11-dims20] test/test_torch.py::test_binary_funsor_funsor[--dims11-dims21] test/test_torch.py::test_binary_funsor_funsor[--dims11-dims22] test/test_torch.py::test_binary_funsor_funsor[--dims11-dims23] test/test_torch.py::test_binary_funsor_funsor[--dims12-dims20] test/test_torch.py::test_binary_funsor_funsor[--dims12-dims21] test/test_torch.py::test_binary_funsor_funsor[--dims12-dims22] test/test_torch.py::test_binary_funsor_funsor[--dims12-dims23] test/test_torch.py::test_binary_funsor_funsor[--dims13-dims20] test/test_torch.py::test_binary_funsor_funsor[--dims13-dims21] test/test_torch.py::test_binary_funsor_funsor[--dims13-dims22] test/test_torch.py::test_binary_funsor_funsor[--dims13-dims23] test/test_torch.py::test_binary_funsor_funsor[*-dims10-dims20] test/test_torch.py::test_binary_funsor_funsor[*-dims10-dims21] test/test_torch.py::test_binary_funsor_funsor[*-dims10-dims22] test/test_torch.py::test_binary_funsor_funsor[*-dims10-dims23] test/test_torch.py::test_binary_funsor_funsor[*-dims11-dims20] test/test_torch.py::test_binary_funsor_funsor[*-dims11-dims21] test/test_torch.py::test_binary_funsor_funsor[*-dims11-dims22] test/test_torch.py::test_binary_funsor_funsor[*-dims11-dims23] test/test_torch.py::test_binary_funsor_funsor[*-dims12-dims20] test/test_torch.py::test_binary_funsor_funsor[*-dims12-dims21] test/test_torch.py::test_binary_funsor_funsor[*-dims12-dims22] test/test_torch.py::test_binary_funsor_funsor[*-dims12-dims23] test/test_torch.py::test_binary_funsor_funsor[*-dims13-dims20] test/test_torch.py::test_binary_funsor_funsor[*-dims13-dims21] test/test_torch.py::test_binary_funsor_funsor[*-dims13-dims22] test/test_torch.py::test_binary_funsor_funsor[*-dims13-dims23] test/test_torch.py::test_binary_funsor_funsor[/-dims10-dims20] test/test_torch.py::test_binary_funsor_funsor[/-dims10-dims21] test/test_torch.py::test_binary_funsor_funsor[/-dims10-dims22] test/test_torch.py::test_binary_funsor_funsor[/-dims10-dims23] test/test_torch.py::test_binary_funsor_funsor[/-dims11-dims20] test/test_torch.py::test_binary_funsor_funsor[/-dims11-dims21] test/test_torch.py::test_binary_funsor_funsor[/-dims11-dims22] test/test_torch.py::test_binary_funsor_funsor[/-dims11-dims23] test/test_torch.py::test_binary_funsor_funsor[/-dims12-dims20] test/test_torch.py::test_binary_funsor_funsor[/-dims12-dims21] test/test_torch.py::test_binary_funsor_funsor[/-dims12-dims22] test/test_torch.py::test_binary_funsor_funsor[/-dims12-dims23] test/test_torch.py::test_binary_funsor_funsor[/-dims13-dims20] test/test_torch.py::test_binary_funsor_funsor[/-dims13-dims21] test/test_torch.py::test_binary_funsor_funsor[/-dims13-dims22] test/test_torch.py::test_binary_funsor_funsor[/-dims13-dims23] test/test_torch.py::test_binary_funsor_funsor[**-dims10-dims20] test/test_torch.py::test_binary_funsor_funsor[**-dims10-dims21] test/test_torch.py::test_binary_funsor_funsor[**-dims10-dims22] test/test_torch.py::test_binary_funsor_funsor[**-dims10-dims23] test/test_torch.py::test_binary_funsor_funsor[**-dims11-dims20] test/test_torch.py::test_binary_funsor_funsor[**-dims11-dims21] test/test_torch.py::test_binary_funsor_funsor[**-dims11-dims22] test/test_torch.py::test_binary_funsor_funsor[**-dims11-dims23] test/test_torch.py::test_binary_funsor_funsor[**-dims12-dims20] test/test_torch.py::test_binary_funsor_funsor[**-dims12-dims21] test/test_torch.py::test_binary_funsor_funsor[**-dims12-dims22] test/test_torch.py::test_binary_funsor_funsor[**-dims12-dims23] test/test_torch.py::test_binary_funsor_funsor[**-dims13-dims20] test/test_torch.py::test_binary_funsor_funsor[**-dims13-dims21] test/test_torch.py::test_binary_funsor_funsor[**-dims13-dims22] test/test_torch.py::test_binary_funsor_funsor[**-dims13-dims23] test/test_torch.py::test_binary_funsor_funsor[==-dims10-dims20] test/test_torch.py::test_binary_funsor_funsor[==-dims10-dims21] test/test_torch.py::test_binary_funsor_funsor[==-dims10-dims22] test/test_torch.py::test_binary_funsor_funsor[==-dims10-dims23] test/test_torch.py::test_binary_funsor_funsor[==-dims11-dims20] test/test_torch.py::test_binary_funsor_funsor[==-dims11-dims21] test/test_torch.py::test_binary_funsor_funsor[==-dims11-dims22] test/test_torch.py::test_binary_funsor_funsor[==-dims11-dims23] test/test_torch.py::test_binary_funsor_funsor[==-dims12-dims20] test/test_torch.py::test_binary_funsor_funsor[==-dims12-dims21] test/test_torch.py::test_binary_funsor_funsor[==-dims12-dims22] test/test_torch.py::test_binary_funsor_funsor[==-dims12-dims23] test/test_torch.py::test_binary_funsor_funsor[==-dims13-dims20] test/test_torch.py::test_binary_funsor_funsor[==-dims13-dims21] test/test_torch.py::test_binary_funsor_funsor[==-dims13-dims22] test/test_torch.py::test_binary_funsor_funsor[==-dims13-dims23] test/test_torch.py::test_binary_funsor_funsor[!=-dims10-dims20] test/test_torch.py::test_binary_funsor_funsor[!=-dims10-dims21] test/test_torch.py::test_binary_funsor_funsor[!=-dims10-dims22] test/test_torch.py::test_binary_funsor_funsor[!=-dims10-dims23] test/test_torch.py::test_binary_funsor_funsor[!=-dims11-dims20] test/test_torch.py::test_binary_funsor_funsor[!=-dims11-dims21] test/test_torch.py::test_binary_funsor_funsor[!=-dims11-dims22] test/test_torch.py::test_binary_funsor_funsor[!=-dims11-dims23] test/test_torch.py::test_binary_funsor_funsor[!=-dims12-dims20] test/test_torch.py::test_binary_funsor_funsor[!=-dims12-dims21] test/test_torch.py::test_binary_funsor_funsor[!=-dims12-dims22] test/test_torch.py::test_binary_funsor_funsor[!=-dims12-dims23] test/test_torch.py::test_binary_funsor_funsor[!=-dims13-dims20] test/test_torch.py::test_binary_funsor_funsor[!=-dims13-dims21] test/test_torch.py::test_binary_funsor_funsor[!=-dims13-dims22] test/test_torch.py::test_binary_funsor_funsor[!=-dims13-dims23] test/test_torch.py::test_binary_funsor_funsor[<-dims10-dims20] test/test_torch.py::test_binary_funsor_funsor[<-dims10-dims21] test/test_torch.py::test_binary_funsor_funsor[<-dims10-dims22] test/test_torch.py::test_binary_funsor_funsor[<-dims10-dims23] test/test_torch.py::test_binary_funsor_funsor[<-dims11-dims20] test/test_torch.py::test_binary_funsor_funsor[<-dims11-dims21] test/test_torch.py::test_binary_funsor_funsor[<-dims11-dims22] test/test_torch.py::test_binary_funsor_funsor[<-dims11-dims23] test/test_torch.py::test_binary_funsor_funsor[<-dims12-dims20] test/test_torch.py::test_binary_funsor_funsor[<-dims12-dims21] test/test_torch.py::test_binary_funsor_funsor[<-dims12-dims22] test/test_torch.py::test_binary_funsor_funsor[<-dims12-dims23] test/test_torch.py::test_binary_funsor_funsor[<-dims13-dims20] test/test_torch.py::test_binary_funsor_funsor[<-dims13-dims21] test/test_torch.py::test_binary_funsor_funsor[<-dims13-dims22] test/test_torch.py::test_binary_funsor_funsor[<-dims13-dims23] test/test_torch.py::test_binary_funsor_funsor[<=-dims10-dims20] test/test_torch.py::test_binary_funsor_funsor[<=-dims10-dims21] test/test_torch.py::test_binary_funsor_funsor[<=-dims10-dims22] test/test_torch.py::test_binary_funsor_funsor[<=-dims10-dims23] test/test_torch.py::test_binary_funsor_funsor[<=-dims11-dims20] test/test_torch.py::test_binary_funsor_funsor[<=-dims11-dims21] test/test_torch.py::test_binary_funsor_funsor[<=-dims11-dims22] test/test_torch.py::test_binary_funsor_funsor[<=-dims11-dims23] test/test_torch.py::test_binary_funsor_funsor[<=-dims12-dims20] test/test_torch.py::test_binary_funsor_funsor[<=-dims12-dims21] test/test_torch.py::test_binary_funsor_funsor[<=-dims12-dims22] test/test_torch.py::test_binary_funsor_funsor[<=-dims12-dims23] test/test_torch.py::test_binary_funsor_funsor[<=-dims13-dims20] test/test_torch.py::test_binary_funsor_funsor[<=-dims13-dims21] test/test_torch.py::test_binary_funsor_funsor[<=-dims13-dims22] test/test_torch.py::test_binary_funsor_funsor[<=-dims13-dims23] test/test_torch.py::test_binary_funsor_funsor[>-dims10-dims20] test/test_torch.py::test_binary_funsor_funsor[>-dims10-dims21] test/test_torch.py::test_binary_funsor_funsor[>-dims10-dims22] test/test_torch.py::test_binary_funsor_funsor[>-dims10-dims23] test/test_torch.py::test_binary_funsor_funsor[>-dims11-dims20] test/test_torch.py::test_binary_funsor_funsor[>-dims11-dims21] test/test_torch.py::test_binary_funsor_funsor[>-dims11-dims22] test/test_torch.py::test_binary_funsor_funsor[>-dims11-dims23] test/test_torch.py::test_binary_funsor_funsor[>-dims12-dims20] test/test_torch.py::test_binary_funsor_funsor[>-dims12-dims21] test/test_torch.py::test_binary_funsor_funsor[>-dims12-dims22] test/test_torch.py::test_binary_funsor_funsor[>-dims12-dims23] test/test_torch.py::test_binary_funsor_funsor[>-dims13-dims20] test/test_torch.py::test_binary_funsor_funsor[>-dims13-dims21] test/test_torch.py::test_binary_funsor_funsor[>-dims13-dims22] test/test_torch.py::test_binary_funsor_funsor[>-dims13-dims23] test/test_torch.py::test_binary_funsor_funsor[>=-dims10-dims20] test/test_torch.py::test_binary_funsor_funsor[>=-dims10-dims21] test/test_torch.py::test_binary_funsor_funsor[>=-dims10-dims22] test/test_torch.py::test_binary_funsor_funsor[>=-dims10-dims23] test/test_torch.py::test_binary_funsor_funsor[>=-dims11-dims20] test/test_torch.py::test_binary_funsor_funsor[>=-dims11-dims21] test/test_torch.py::test_binary_funsor_funsor[>=-dims11-dims22] test/test_torch.py::test_binary_funsor_funsor[>=-dims11-dims23] test/test_torch.py::test_binary_funsor_funsor[>=-dims12-dims20] test/test_torch.py::test_binary_funsor_funsor[>=-dims12-dims21] test/test_torch.py::test_binary_funsor_funsor[>=-dims12-dims22] test/test_torch.py::test_binary_funsor_funsor[>=-dims12-dims23] test/test_torch.py::test_binary_funsor_funsor[>=-dims13-dims20] test/test_torch.py::test_binary_funsor_funsor[>=-dims13-dims21] test/test_torch.py::test_binary_funsor_funsor[>=-dims13-dims22] test/test_torch.py::test_binary_funsor_funsor[>=-dims13-dims23] test/test_torch.py::test_binary_funsor_funsor[min-dims10-dims20] test/test_torch.py::test_binary_funsor_funsor[min-dims10-dims21] test/test_torch.py::test_binary_funsor_funsor[min-dims10-dims22] test/test_torch.py::test_binary_funsor_funsor[min-dims10-dims23] test/test_torch.py::test_binary_funsor_funsor[min-dims11-dims20] test/test_torch.py::test_binary_funsor_funsor[min-dims11-dims21] test/test_torch.py::test_binary_funsor_funsor[min-dims11-dims22] test/test_torch.py::test_binary_funsor_funsor[min-dims11-dims23] test/test_torch.py::test_binary_funsor_funsor[min-dims12-dims20] test/test_torch.py::test_binary_funsor_funsor[min-dims12-dims21] test/test_torch.py::test_binary_funsor_funsor[min-dims12-dims22] test/test_torch.py::test_binary_funsor_funsor[min-dims12-dims23] test/test_torch.py::test_binary_funsor_funsor[min-dims13-dims20] test/test_torch.py::test_binary_funsor_funsor[min-dims13-dims21] test/test_torch.py::test_binary_funsor_funsor[min-dims13-dims22] test/test_torch.py::test_binary_funsor_funsor[min-dims13-dims23] test/test_torch.py::test_binary_funsor_funsor[max-dims10-dims20] test/test_torch.py::test_binary_funsor_funsor[max-dims10-dims21] test/test_torch.py::test_binary_funsor_funsor[max-dims10-dims22] test/test_torch.py::test_binary_funsor_funsor[max-dims10-dims23] test/test_torch.py::test_binary_funsor_funsor[max-dims11-dims20] test/test_torch.py::test_binary_funsor_funsor[max-dims11-dims21] test/test_torch.py::test_binary_funsor_funsor[max-dims11-dims22] test/test_torch.py::test_binary_funsor_funsor[max-dims11-dims23] test/test_torch.py::test_binary_funsor_funsor[max-dims12-dims20] test/test_torch.py::test_binary_funsor_funsor[max-dims12-dims21] test/test_torch.py::test_binary_funsor_funsor[max-dims12-dims22] test/test_torch.py::test_binary_funsor_funsor[max-dims12-dims23] test/test_torch.py::test_binary_funsor_funsor[max-dims13-dims20] test/test_torch.py::test_binary_funsor_funsor[max-dims13-dims21] test/test_torch.py::test_binary_funsor_funsor[max-dims13-dims22] test/test_torch.py::test_binary_funsor_funsor[max-dims13-dims23] test/test_torch.py::test_binary_funsor_funsor[&-dims10-dims20] test/test_torch.py::test_binary_funsor_funsor[&-dims10-dims21] test/test_torch.py::test_binary_funsor_funsor[&-dims10-dims22] test/test_torch.py::test_binary_funsor_funsor[&-dims10-dims23] test/test_torch.py::test_binary_funsor_funsor[&-dims11-dims20] test/test_torch.py::test_binary_funsor_funsor[&-dims11-dims21] test/test_torch.py::test_binary_funsor_funsor[&-dims11-dims22] test/test_torch.py::test_binary_funsor_funsor[&-dims11-dims23] test/test_torch.py::test_binary_funsor_funsor[&-dims12-dims20] test/test_torch.py::test_binary_funsor_funsor[&-dims12-dims21] test/test_torch.py::test_binary_funsor_funsor[&-dims12-dims22] test/test_torch.py::test_binary_funsor_funsor[&-dims12-dims23] test/test_torch.py::test_binary_funsor_funsor[&-dims13-dims20] test/test_torch.py::test_binary_funsor_funsor[&-dims13-dims21] test/test_torch.py::test_binary_funsor_funsor[&-dims13-dims22] test/test_torch.py::test_binary_funsor_funsor[&-dims13-dims23] test/test_torch.py::test_binary_funsor_funsor[|-dims10-dims20] test/test_torch.py::test_binary_funsor_funsor[|-dims10-dims21] test/test_torch.py::test_binary_funsor_funsor[|-dims10-dims22] test/test_torch.py::test_binary_funsor_funsor[|-dims10-dims23] test/test_torch.py::test_binary_funsor_funsor[|-dims11-dims20] test/test_torch.py::test_binary_funsor_funsor[|-dims11-dims21] test/test_torch.py::test_binary_funsor_funsor[|-dims11-dims22] test/test_torch.py::test_binary_funsor_funsor[|-dims11-dims23] test/test_torch.py::test_binary_funsor_funsor[|-dims12-dims20] test/test_torch.py::test_binary_funsor_funsor[|-dims12-dims21] test/test_torch.py::test_binary_funsor_funsor[|-dims12-dims22] test/test_torch.py::test_binary_funsor_funsor[|-dims12-dims23] test/test_torch.py::test_binary_funsor_funsor[|-dims13-dims20] test/test_torch.py::test_binary_funsor_funsor[|-dims13-dims21] test/test_torch.py::test_binary_funsor_funsor[|-dims13-dims22] test/test_torch.py::test_binary_funsor_funsor[|-dims13-dims23] test/test_torch.py::test_binary_funsor_funsor[^-dims10-dims20] test/test_torch.py::test_binary_funsor_funsor[^-dims10-dims21] test/test_torch.py::test_binary_funsor_funsor[^-dims10-dims22] test/test_torch.py::test_binary_funsor_funsor[^-dims10-dims23] test/test_torch.py::test_binary_funsor_funsor[^-dims11-dims20] test/test_torch.py::test_binary_funsor_funsor[^-dims11-dims21] test/test_torch.py::test_binary_funsor_funsor[^-dims11-dims22] test/test_torch.py::test_binary_funsor_funsor[^-dims11-dims23] test/test_torch.py::test_binary_funsor_funsor[^-dims12-dims20] test/test_torch.py::test_binary_funsor_funsor[^-dims12-dims21] test/test_torch.py::test_binary_funsor_funsor[^-dims12-dims22] test/test_torch.py::test_binary_funsor_funsor[^-dims12-dims23] test/test_torch.py::test_binary_funsor_funsor[^-dims13-dims20] test/test_torch.py::test_binary_funsor_funsor[^-dims13-dims21] test/test_torch.py::test_binary_funsor_funsor[^-dims13-dims22] test/test_torch.py::test_binary_funsor_funsor[^-dims13-dims23] test/test_torch.py::test_binary_funsor_scalar[+-dims0-0.5] test/test_torch.py::test_binary_funsor_scalar[+-dims1-0.5] test/test_torch.py::test_binary_funsor_scalar[+-dims2-0.5] test/test_torch.py::test_binary_funsor_scalar[+-dims3-0.5] test/test_torch.py::test_binary_funsor_scalar[--dims0-0.5] test/test_torch.py::test_binary_funsor_scalar[--dims1-0.5] test/test_torch.py::test_binary_funsor_scalar[--dims2-0.5] test/test_torch.py::test_binary_funsor_scalar[--dims3-0.5] test/test_torch.py::test_binary_funsor_scalar[*-dims0-0.5] test/test_torch.py::test_binary_funsor_scalar[*-dims1-0.5] test/test_torch.py::test_binary_funsor_scalar[*-dims2-0.5] test/test_torch.py::test_binary_funsor_scalar[*-dims3-0.5] test/test_torch.py::test_binary_funsor_scalar[/-dims0-0.5] test/test_torch.py::test_binary_funsor_scalar[/-dims1-0.5] test/test_torch.py::test_binary_funsor_scalar[/-dims2-0.5] test/test_torch.py::test_binary_funsor_scalar[/-dims3-0.5] test/test_torch.py::test_binary_funsor_scalar[**-dims0-0.5] test/test_torch.py::test_binary_funsor_scalar[**-dims1-0.5] test/test_torch.py::test_binary_funsor_scalar[**-dims2-0.5] test/test_torch.py::test_binary_funsor_scalar[**-dims3-0.5] test/test_torch.py::test_binary_funsor_scalar[==-dims0-0.5] test/test_torch.py::test_binary_funsor_scalar[==-dims1-0.5] test/test_torch.py::test_binary_funsor_scalar[==-dims2-0.5] test/test_torch.py::test_binary_funsor_scalar[==-dims3-0.5] test/test_torch.py::test_binary_funsor_scalar[!=-dims0-0.5] test/test_torch.py::test_binary_funsor_scalar[!=-dims1-0.5] test/test_torch.py::test_binary_funsor_scalar[!=-dims2-0.5] test/test_torch.py::test_binary_funsor_scalar[!=-dims3-0.5] test/test_torch.py::test_binary_funsor_scalar[<-dims0-0.5] test/test_torch.py::test_binary_funsor_scalar[<-dims1-0.5] test/test_torch.py::test_binary_funsor_scalar[<-dims2-0.5] test/test_torch.py::test_binary_funsor_scalar[<-dims3-0.5] test/test_torch.py::test_binary_funsor_scalar[<=-dims0-0.5] test/test_torch.py::test_binary_funsor_scalar[<=-dims1-0.5] test/test_torch.py::test_binary_funsor_scalar[<=-dims2-0.5] test/test_torch.py::test_binary_funsor_scalar[<=-dims3-0.5] test/test_torch.py::test_binary_funsor_scalar[>-dims0-0.5] test/test_torch.py::test_binary_funsor_scalar[>-dims1-0.5] test/test_torch.py::test_binary_funsor_scalar[>-dims2-0.5] test/test_torch.py::test_binary_funsor_scalar[>-dims3-0.5] test/test_torch.py::test_binary_funsor_scalar[>=-dims0-0.5] test/test_torch.py::test_binary_funsor_scalar[>=-dims1-0.5] test/test_torch.py::test_binary_funsor_scalar[>=-dims2-0.5] test/test_torch.py::test_binary_funsor_scalar[>=-dims3-0.5] test/test_torch.py::test_binary_funsor_scalar[min-dims0-0.5] test/test_torch.py::test_binary_funsor_scalar[min-dims1-0.5] test/test_torch.py::test_binary_funsor_scalar[min-dims2-0.5] test/test_torch.py::test_binary_funsor_scalar[min-dims3-0.5] test/test_torch.py::test_binary_funsor_scalar[max-dims0-0.5] test/test_torch.py::test_binary_funsor_scalar[max-dims1-0.5] test/test_torch.py::test_binary_funsor_scalar[max-dims2-0.5] test/test_torch.py::test_binary_funsor_scalar[max-dims3-0.5] test/test_torch.py::test_binary_scalar_funsor[+-dims0-0.5] test/test_torch.py::test_binary_scalar_funsor[+-dims1-0.5] test/test_torch.py::test_binary_scalar_funsor[+-dims2-0.5] test/test_torch.py::test_binary_scalar_funsor[+-dims3-0.5] test/test_torch.py::test_binary_scalar_funsor[--dims0-0.5] test/test_torch.py::test_binary_scalar_funsor[--dims1-0.5] test/test_torch.py::test_binary_scalar_funsor[--dims2-0.5] test/test_torch.py::test_binary_scalar_funsor[--dims3-0.5] test/test_torch.py::test_binary_scalar_funsor[*-dims0-0.5] test/test_torch.py::test_binary_scalar_funsor[*-dims1-0.5] test/test_torch.py::test_binary_scalar_funsor[*-dims2-0.5] test/test_torch.py::test_binary_scalar_funsor[*-dims3-0.5] test/test_torch.py::test_binary_scalar_funsor[/-dims0-0.5] test/test_torch.py::test_binary_scalar_funsor[/-dims1-0.5] test/test_torch.py::test_binary_scalar_funsor[/-dims2-0.5] test/test_torch.py::test_binary_scalar_funsor[/-dims3-0.5] test/test_torch.py::test_binary_scalar_funsor[**-dims0-0.5] test/test_torch.py::test_binary_scalar_funsor[**-dims1-0.5] test/test_torch.py::test_binary_scalar_funsor[**-dims2-0.5] test/test_torch.py::test_binary_scalar_funsor[**-dims3-0.5] test/test_torch.py::test_binary_scalar_funsor[==-dims0-0.5] test/test_torch.py::test_binary_scalar_funsor[==-dims1-0.5] test/test_torch.py::test_binary_scalar_funsor[==-dims2-0.5] test/test_torch.py::test_binary_scalar_funsor[==-dims3-0.5] test/test_torch.py::test_binary_scalar_funsor[!=-dims0-0.5] test/test_torch.py::test_binary_scalar_funsor[!=-dims1-0.5] test/test_torch.py::test_binary_scalar_funsor[!=-dims2-0.5] test/test_torch.py::test_binary_scalar_funsor[!=-dims3-0.5] test/test_torch.py::test_binary_scalar_funsor[<-dims0-0.5] test/test_torch.py::test_binary_scalar_funsor[<-dims1-0.5] test/test_torch.py::test_binary_scalar_funsor[<-dims2-0.5] test/test_torch.py::test_binary_scalar_funsor[<-dims3-0.5] test/test_torch.py::test_binary_scalar_funsor[<=-dims0-0.5] test/test_torch.py::test_binary_scalar_funsor[<=-dims1-0.5] test/test_torch.py::test_binary_scalar_funsor[<=-dims2-0.5] test/test_torch.py::test_binary_scalar_funsor[<=-dims3-0.5] test/test_torch.py::test_binary_scalar_funsor[>-dims0-0.5] test/test_torch.py::test_binary_scalar_funsor[>-dims1-0.5] test/test_torch.py::test_binary_scalar_funsor[>-dims2-0.5] test/test_torch.py::test_binary_scalar_funsor[>-dims3-0.5] test/test_torch.py::test_binary_scalar_funsor[>=-dims0-0.5] test/test_torch.py::test_binary_scalar_funsor[>=-dims1-0.5] test/test_torch.py::test_binary_scalar_funsor[>=-dims2-0.5] test/test_torch.py::test_binary_scalar_funsor[>=-dims3-0.5] test/test_torch.py::test_binary_scalar_funsor[min-dims0-0.5] test/test_torch.py::test_binary_scalar_funsor[min-dims1-0.5] test/test_torch.py::test_binary_scalar_funsor[min-dims2-0.5] test/test_torch.py::test_binary_scalar_funsor[min-dims3-0.5] test/test_torch.py::test_binary_scalar_funsor[max-dims0-0.5] test/test_torch.py::test_binary_scalar_funsor[max-dims1-0.5] test/test_torch.py::test_binary_scalar_funsor[max-dims2-0.5] test/test_torch.py::test_binary_scalar_funsor[max-dims3-0.5] test/test_torch.py::test_reduce_all[sum-dims0] test/test_torch.py::test_reduce_all[sum-dims1] test/test_torch.py::test_reduce_all[sum-dims2] test/test_torch.py::test_reduce_all[sum-dims3] test/test_torch.py::test_reduce_all[prod-dims0] test/test_torch.py::test_reduce_all[prod-dims1] test/test_torch.py::test_reduce_all[prod-dims2] test/test_torch.py::test_reduce_all[prod-dims3] test/test_torch.py::test_reduce_all[logsumexp-dims0] test/test_torch.py::test_reduce_all[logsumexp-dims1] test/test_torch.py::test_reduce_all[logsumexp-dims2] test/test_torch.py::test_reduce_all[logsumexp-dims3] test/test_torch.py::test_reduce_all[all-dims0] test/test_torch.py::test_reduce_all[all-dims1] test/test_torch.py::test_reduce_all[all-dims2] test/test_torch.py::test_reduce_all[all-dims3] test/test_torch.py::test_reduce_all[any-dims0] test/test_torch.py::test_reduce_all[any-dims1] test/test_torch.py::test_reduce_all[any-dims2] test/test_torch.py::test_reduce_all[any-dims3] test/test_torch.py::test_reduce_all[min-dims0] test/test_torch.py::test_reduce_all[min-dims1] test/test_torch.py::test_reduce_all[min-dims2] test/test_torch.py::test_reduce_all[min-dims3] test/test_torch.py::test_reduce_all[max-dims0] test/test_torch.py::test_reduce_all[max-dims1] test/test_torch.py::test_reduce_all[max-dims2] test/test_torch.py::test_reduce_all[max-dims3] test/test_torch.py::test_reduce_subset[sum-dims0-reduced_vars0] test/test_torch.py::test_reduce_subset[sum-dims1-reduced_vars1] test/test_torch.py::test_reduce_subset[sum-dims2-reduced_vars2] test/test_torch.py::test_reduce_subset[sum-dims3-reduced_vars3] test/test_torch.py::test_reduce_subset[sum-dims4-reduced_vars4] test/test_torch.py::test_reduce_subset[sum-dims5-reduced_vars5] test/test_torch.py::test_reduce_subset[sum-dims6-reduced_vars6] test/test_torch.py::test_reduce_subset[sum-dims7-reduced_vars7] test/test_torch.py::test_reduce_subset[sum-dims8-reduced_vars8] test/test_torch.py::test_reduce_subset[sum-dims9-reduced_vars9] test/test_torch.py::test_reduce_subset[sum-dims10-reduced_vars10] test/test_torch.py::test_reduce_subset[sum-dims11-reduced_vars11] test/test_torch.py::test_reduce_subset[sum-dims12-reduced_vars12] test/test_torch.py::test_reduce_subset[sum-dims13-reduced_vars13] test/test_torch.py::test_reduce_subset[prod-dims0-reduced_vars0] test/test_torch.py::test_reduce_subset[prod-dims1-reduced_vars1] test/test_torch.py::test_reduce_subset[prod-dims2-reduced_vars2] test/test_torch.py::test_reduce_subset[prod-dims3-reduced_vars3] test/test_torch.py::test_reduce_subset[prod-dims4-reduced_vars4] test/test_torch.py::test_reduce_subset[prod-dims5-reduced_vars5] test/test_torch.py::test_reduce_subset[prod-dims6-reduced_vars6] test/test_torch.py::test_reduce_subset[prod-dims7-reduced_vars7] test/test_torch.py::test_reduce_subset[prod-dims8-reduced_vars8] test/test_torch.py::test_reduce_subset[prod-dims9-reduced_vars9] test/test_torch.py::test_reduce_subset[prod-dims10-reduced_vars10] test/test_torch.py::test_reduce_subset[prod-dims11-reduced_vars11] test/test_torch.py::test_reduce_subset[prod-dims12-reduced_vars12] test/test_torch.py::test_reduce_subset[prod-dims13-reduced_vars13] test/test_torch.py::test_reduce_subset[logsumexp-dims0-reduced_vars0] test/test_torch.py::test_reduce_subset[logsumexp-dims1-reduced_vars1] test/test_torch.py::test_reduce_subset[logsumexp-dims2-reduced_vars2] test/test_torch.py::test_reduce_subset[logsumexp-dims3-reduced_vars3] test/test_torch.py::test_reduce_subset[logsumexp-dims4-reduced_vars4] test/test_torch.py::test_reduce_subset[logsumexp-dims5-reduced_vars5] test/test_torch.py::test_reduce_subset[logsumexp-dims6-reduced_vars6] test/test_torch.py::test_reduce_subset[logsumexp-dims7-reduced_vars7] test/test_torch.py::test_reduce_subset[logsumexp-dims8-reduced_vars8] test/test_torch.py::test_reduce_subset[logsumexp-dims9-reduced_vars9] test/test_torch.py::test_reduce_subset[logsumexp-dims10-reduced_vars10] test/test_torch.py::test_reduce_subset[logsumexp-dims11-reduced_vars11] test/test_torch.py::test_reduce_subset[logsumexp-dims12-reduced_vars12] test/test_torch.py::test_reduce_subset[logsumexp-dims13-reduced_vars13] test/test_torch.py::test_reduce_subset[all-dims0-reduced_vars0] test/test_torch.py::test_reduce_subset[all-dims1-reduced_vars1] test/test_torch.py::test_reduce_subset[all-dims2-reduced_vars2] test/test_torch.py::test_reduce_subset[all-dims3-reduced_vars3] test/test_torch.py::test_reduce_subset[all-dims4-reduced_vars4] test/test_torch.py::test_reduce_subset[all-dims5-reduced_vars5] test/test_torch.py::test_reduce_subset[all-dims6-reduced_vars6] test/test_torch.py::test_reduce_subset[all-dims7-reduced_vars7] test/test_torch.py::test_reduce_subset[all-dims8-reduced_vars8] test/test_torch.py::test_reduce_subset[all-dims9-reduced_vars9] test/test_torch.py::test_reduce_subset[all-dims10-reduced_vars10] test/test_torch.py::test_reduce_subset[all-dims11-reduced_vars11] test/test_torch.py::test_reduce_subset[all-dims12-reduced_vars12] test/test_torch.py::test_reduce_subset[all-dims13-reduced_vars13] test/test_torch.py::test_reduce_subset[any-dims0-reduced_vars0] test/test_torch.py::test_reduce_subset[any-dims1-reduced_vars1] test/test_torch.py::test_reduce_subset[any-dims2-reduced_vars2] test/test_torch.py::test_reduce_subset[any-dims3-reduced_vars3] test/test_torch.py::test_reduce_subset[any-dims4-reduced_vars4] test/test_torch.py::test_reduce_subset[any-dims5-reduced_vars5] test/test_torch.py::test_reduce_subset[any-dims6-reduced_vars6] test/test_torch.py::test_reduce_subset[any-dims7-reduced_vars7] test/test_torch.py::test_reduce_subset[any-dims8-reduced_vars8] test/test_torch.py::test_reduce_subset[any-dims9-reduced_vars9] test/test_torch.py::test_reduce_subset[any-dims10-reduced_vars10] test/test_torch.py::test_reduce_subset[any-dims11-reduced_vars11] test/test_torch.py::test_reduce_subset[any-dims12-reduced_vars12] test/test_torch.py::test_reduce_subset[any-dims13-reduced_vars13] test/test_torch.py::test_reduce_subset[min-dims0-reduced_vars0] test/test_torch.py::test_reduce_subset[min-dims1-reduced_vars1] test/test_torch.py::test_reduce_subset[min-dims2-reduced_vars2] test/test_torch.py::test_reduce_subset[min-dims3-reduced_vars3] test/test_torch.py::test_reduce_subset[min-dims4-reduced_vars4] test/test_torch.py::test_reduce_subset[min-dims5-reduced_vars5] test/test_torch.py::test_reduce_subset[min-dims6-reduced_vars6] test/test_torch.py::test_reduce_subset[min-dims7-reduced_vars7] test/test_torch.py::test_reduce_subset[min-dims8-reduced_vars8] test/test_torch.py::test_reduce_subset[min-dims9-reduced_vars9] test/test_torch.py::test_reduce_subset[min-dims10-reduced_vars10] test/test_torch.py::test_reduce_subset[min-dims11-reduced_vars11] test/test_torch.py::test_reduce_subset[min-dims12-reduced_vars12] test/test_torch.py::test_reduce_subset[min-dims13-reduced_vars13] test/test_torch.py::test_reduce_subset[max-dims0-reduced_vars0] test/test_torch.py::test_reduce_subset[max-dims1-reduced_vars1] test/test_torch.py::test_reduce_subset[max-dims2-reduced_vars2] test/test_torch.py::test_reduce_subset[max-dims3-reduced_vars3] test/test_torch.py::test_reduce_subset[max-dims4-reduced_vars4] test/test_torch.py::test_reduce_subset[max-dims5-reduced_vars5] test/test_torch.py::test_reduce_subset[max-dims6-reduced_vars6] test/test_torch.py::test_reduce_subset[max-dims7-reduced_vars7] test/test_torch.py::test_reduce_subset[max-dims8-reduced_vars8] test/test_torch.py::test_reduce_subset[max-dims9-reduced_vars9] test/test_torch.py::test_reduce_subset[max-dims10-reduced_vars10] test/test_torch.py::test_reduce_subset[max-dims11-reduced_vars11] test/test_torch.py::test_reduce_subset[max-dims12-reduced_vars12] test/test_torch.py::test_reduce_subset[max-dims13-reduced_vars13] test/test_torch.py::test_function_matmul test/test_torch.py::test_function_lazy_matmul test/test_torch.py::test_align
funsor/__init__.py funsor/torch.py
funsor/__init__.py funsor/torch.py