code: def pytest_addoption(parser):
      parser.addoption(
          "--nnabla-ext",
          type=str,
          default="cpu",
          help='Extension path, e.g. "cpu", "cuda", "cudnn".',
      )
      parser.addoption(
          "--nnabla-ext-type-config",
          type=str,
          default="float",
          help='Extension type-config, e.g. "float", "half".',
      )
      parser.addoption(
          "--nnabla-ext-device-id",
          type=str,
          default="0",
          help="Keyward argument `device_id` of extensions specifies"
          " gpu index where test runs",
      )
      parser.addoption(
          "--nnabla-benchmark-output",
          type=str,
          default="benchmark-output",
          help="Pass a directory path to where benchmark log will outputs.",
      )
  
imports: import pytest
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: pytest_addoption(parser) without return types