class_docstr: Serve parameters for a single process.
class_docstr_tok: ["Serve","parameters","for","a","single","process","."]
code: def inc_grad(self, model_id: int, name: str, value: FloatsXd) -> None:
      key = (model_id, name)
      if self.proxy is not None:
          self.proxy.inc_grad(model_id, name, value)
      elif not self.has_grad(model_id, name):  # pragma: no cover
          if hasattr(value, "copy"):
              # Adjustment for Jax
              self._grads[key] = value.copy()
          elif not value.flags["C_CONTIGUOUS"]:
              xp = get_array_module(value)
              self._grads[(model_id, name)] = xp.ascontiguousarray(
                  value
              )
          else:
              self._grads[(model_id, name)] = value
      else:
          self._grads[(model_id, name)] += value
  
file_path: thinc/thinc/backends/_param_server.py
imports: from typing import Any, Dict, Optional, Tuple
  from ..types import FloatsXd
  from ..util import get_array_module
label_desc: Use image node_id 10 for calling the ParamServer obj's underlying member method code with example usage: obj.inc_grad(model_id, name, value) without return types