class niftynet.layer.dilatedcontext.DilatedTensor(input_tensor, dilation_factor)¶
Bases: object
This context manager makes a wrapper of input_tensor
When created, the input_tensor is dilated,
the input_tensor resumes to original space when exiting the context.