Closed fritzo closed 3 years ago
This adds support for torch.nn.Module instances in @function, make_funsor(), and make_op.
torch.nn.Module
@function
make_funsor()
make_op
This also fixes a couple unrelated docs errors:
make_op()
This adds support for
torch.nn.Module
instances in@function
,make_funsor()
, andmake_op
.This also fixes a couple unrelated docs errors:
Tested
@function
(this example will later be changed to usemake_op()
)make_funsor()
make_op()