class_docstr: DilatedEncoder used in YOLOF
class_docstr_tok: ["DilatedEncoder","used","in","YOLOF"]
code: def from_config(cls, cfg, input_shape):
      return {
          "in_channels": [i.channels for i in input_shape],
      }
  
file_path: PaddleDetection/ppdet/modeling/necks/dilated_encoder.py
imports: import paddle
  import paddle.nn
  from paddle import ParamAttr
  from paddle.regularizer import L2Decay
  from paddle.nn.initializer import KaimingUniform, Constant, Normal
  from ppdet.core.workspace import register, serializable
  from ..shape_spec import ShapeSpec
label_desc: Use image node_id 3 for calling the DilatedEncoder obj's underlying member method code with example usage: obj.from_config(cls, cfg, input_shape) and returns: dict