class_docstr: Provides methods that implement functionality of route guide server.
class_docstr_tok: ["Provides","methods","that","implement","functionality","of","route","guide","server","."]
code: def _load_puncutation_model(self, punctuation_model_path):
      if punctuation_model_path.endswith(".nemo"):
          self.punctuation_model = nemo_nlp.models.PunctuationCapitalizationModel.restore_from(
              restore_path=punctuation_model_path
          )
          self.punctuation_model.eval()
      else:
          raise NotImplemented(
              f"Only support .nemo files, but got: {punctuation_model_path}"
          )
  
      if torch.cuda.is_available():
          self.punctuation_model = self.punctuation_model.cuda()
  
file_path: NeMo/tools/nmt_grpc_service/server.py
imports: import argparse
  import os
  from concurrent import futures
  import api.nmt_pb2
  import api.nmt_pb2_grpc
  import grpc
  import torch
  import nemo.collections.nlp
  from nemo.utils import logging
label_desc: Use image node_id 2 for calling the RivaTranslateServicer obj's underlying member method code with example usage: obj._load_puncutation_model(punctuation_model_path) without return types