code: def _get_teacher_encoder(self):
      teacher_encoder = copy.deepcopy(self.student_encoder)
      set_requires_grad(teacher_encoder, False)
      return teacher_encoder
  
imports: import copy
  import random
  from functools import wraps, partial
  import torch
  from torch import nn, einsum
  import torch.nn.functional
  from torchvision import transforms
  from einops import rearrange, reduce, repeat
label_desc: Use image node_id 2 for calling the EsViTTrainer obj's underlying member method code with example usage: obj._get_teacher_encoder() and returns: teacher_encoder