(feature_vec)
| 56 | # inputs, unless otherwise specified (with the in_dims argument, |
| 57 | # please see the documentation for more details). |
| 58 | def model(feature_vec): |
| 59 | # Very simple linear model with activation |
| 60 | return feature_vec.dot(weights).relu() |
| 61 | |
| 62 | examples = torch.randn(batch_size, feature_size) |
| 63 | result = torch.vmap(model)(examples) |
no outgoing calls
no test coverage detected