class_docstr: Wrapper to make sure LPIPS never leaves evaluation mode.
class_docstr_tok: ["Wrapper","to","make","sure","LPIPS","never","leaves","evaluation","mode","."]
docstr: Force network to always be in evaluation mode.
code: def train(self, mode: bool) -> "_NoTrainLpips":  # type: ignore[override]
      """Force network to always be in evaluation mode."""
      return super().train(False)
  
imports: import inspect
  import os
  from typing import List, NamedTuple, Optional, Tuple, Union
  import torch
  from torch import Tensor, nn
  from typing_extensions import Literal
  from torchmetrics.utilities.imports import _TORCHVISION_AVAILABLE, _TORCHVISION_GREATER_EQUAL_0_13
label_desc: Use image node_id 1 for calling the _NoTrainLpips obj's underlying member method code with example usage: obj.train(mode) and returns: super