()
| 542 | |
| 543 | |
| 544 | def test_inception_v3_eval(): |
| 545 | kwargs = {} |
| 546 | kwargs["transform_input"] = True |
| 547 | kwargs["aux_logits"] = True |
| 548 | kwargs["init_weights"] = False |
| 549 | name = "inception_v3" |
| 550 | model = models.Inception3(**kwargs) |
| 551 | model.aux_logits = False |
| 552 | model.AuxLogits = None |
| 553 | model = model.eval() |
| 554 | x = torch.rand(1, 3, 299, 299) |
| 555 | _check_jit_scriptable(model, (x,), unwrapper=script_model_unwrapper.get(name, None)) |
| 556 | _check_input_backprop(model, x) |
| 557 | |
| 558 | |
| 559 | def test_fasterrcnn_double(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…