class_docstr: Client object for cugraph_service, which defines the API that clients can
  use to access the cugraph_service server.
class_docstr_tok: ["Client","object","for","cugraph_service",",","which","defines","the","API","that","clients","can","use","to","access","the","cugraph_service","server","."]
docstr: Samples the graph and returns a UniformNeighborSampleResult instance.
  
  Parameters:
  start_list : list[int]
  
  fanout_vals : list[int]
  
  with_replacement : bool
  
  graph_id : int, default is defaults.graph_id
  
  result_device : int, default is None
  
  Returns
  -------
  result : UniformNeighborSampleResult
      Instance containing three CuPy device arrays.
  
      result.sources: CuPy array
          Contains the source vertices from the sampling result
      result.destinations: CuPy array
          Contains the destination vertices from the sampling result
      result.indices: CuPy array
          Contains the indices from the sampling result for path reconstruction
docstr_tok: ["Samples","the","graph","and","returns","a","UniformNeighborSampleResult","instance",".","Parameters",":","start_list",":","list","[","int","]","fanout_vals",":","list","[","int","]","with_replacement",":","bool","graph_id",":","int",",","default","is","defaults.graph_id","result_device",":","int",",","default","is","None","Returns","--","--","--","-","result",":","UniformNeighborSampleResult","Instance","containing","three","CuPy","device","arrays",".","result.sources",":","CuPy","array","Contains","the","source","vertices","from","the","sampling","result","result.destinations",":","CuPy","array","Contains","the","destination","vertices","from","the","sampling","result","result.indices",":","CuPy","array","Contains","the","indices","from","the","sampling","result","for","path","reconstruction"]
code: def uniform_neighbor_sample(
      self,
      start_list,
      fanout_vals,
      with_replacement=True,
      *,
      graph_id=defaults.graph_id,
      result_device=None,
  ):
      """
      Samples the graph and returns a UniformNeighborSampleResult instance.
  
      Parameters:
      start_list : list[int]
  
      fanout_vals : list[int]
  
      with_replacement : bool
  
      graph_id : int, default is defaults.graph_id
  
      result_device : int, default is None
  
      Returns
      -------
      result : UniformNeighborSampleResult
          Instance containing three CuPy device arrays.
  
          result.sources: CuPy array
              Contains the source vertices from the sampling result
          result.destinations: CuPy array
              Contains the destination vertices from the sampling result
          result.indices: CuPy array
              Contains the indices from the sampling result for path reconstruction
      """
  
      if result_device is not None:
          result_obj = run_async(
              self.__uniform_neighbor_sample_to_device,
              start_list,
              fanout_vals,
              with_replacement,
              graph_id,
              result_device,
          )
  
      else:
          result_obj = self.__client.uniform_neighbor_sample(
              start_list,
              fanout_vals,
              with_replacement,
              graph_id,
              client_host=None,
              client_result_port=None,
          )
  
      return result_obj
  
imports: from cugraph_service_client.remote_graph_utils import import_optional, MissingModule
  import numpy
  from functools import wraps
  from collections.abc import Sequence
  import pickle
  import ucp
  import asyncio
  import threading
  from cugraph_service_client import defaults
  from cugraph_service_client.remote_graph import RemoteGraph
  from cugraph_service_client import extension_return_dtype_map
  from cugraph_service_client.types import ValueWrapper, GraphVertexEdgeID, UniformNeighborSampleResult
  from cugraph_service_client.cugraph_service_thrift import create_client
label_desc: Use image node_id 36 for calling the CugraphServiceClient obj's underlying member method code with example usage: obj.uniform_neighbor_sample(start_list, fanout_vals, with_replacement) and returns: result_obj