class_docstr: Encoder Decoder depther.
  
  EncoderDecoder typically consists of backbone and decode_head.
class_docstr_tok: ["Encoder","Decoder","depther",".","EncoderDecoder","typically","consists","of","backbone","and","decode_head","."]
docstr: Inference with full image.
docstr_tok: ["Inference","with","full","image","."]
code: def whole_inference(self, img, img_meta, rescale, size=None):
      """Inference with full image."""
      return self.encode_decode(img, img_meta, rescale, size=size)
  
imports: from collections import OrderedDict
  import torch
  import torch.nn
  import torch.nn.functional
  from .ops import resize
label_desc: Use image node_id 8 for calling the DepthEncoderDecoder obj's underlying member method code with example usage: obj.whole_inference(img, img_meta, rescale, size) and returns: self