MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / DenseNetAdjoint

Class DenseNetAdjoint

tests/integration/test_vis_gradbased.py:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22
23class DenseNetAdjoint(DenseNet121):
24
25 def __call__(self, x, adjoint_info):
26 if adjoint_info != 42:
27 raise ValueError
28 return super().__call__(x)
29
30
31DENSENET2D = DenseNet121(spatial_dims=2, in_channels=1, out_channels=3)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…