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: Computes random walks for each node in 'start_vertices', under the
  node2vec sampling framework.
  
  Parameters
  ----------
  start_vertices: int or list or cudf.Series or cudf.DataFrame
      A single node or a list or a cudf.Series of nodes from which to run
      the random walks. In case of multi-column vertices it should be
      a cudf.DataFrame. Only supports int32 currently.
  
  max_depth: int
      The maximum depth of the random walks
  
  Returns
  -------
  
  Examples
  --------
  >>>
docstr_tok: ["Computes","random","walks","for","each","node","in","'start_vertices","'",",","under","the","node2vec","sampling","framework",".","Parameters","--","--","--","--","--","start_vertices",":","int","or","list","or","cudf.Series","or","cudf.DataFrame","A","single","node","or","a","list","or","a","cudf.Series","of","nodes","from","which","to","run","the","random","walks",".","In","case","of","multi-column","vertices","it","should","be","a","cudf.DataFrame",".","Only","supports","int32","currently",".","max_depth",":","int","The","maximum","depth","of","the","random","walks","Returns","--","--","--","-","Examples","--","--","--","--",">",">",">"]
code: def node2vec(
      self, start_vertices, max_depth, graph_id=defaults.graph_id
  ):
      """
      Computes random walks for each node in 'start_vertices', under the
      node2vec sampling framework.
  
      Parameters
      ----------
      start_vertices: int or list or cudf.Series or cudf.DataFrame
          A single node or a list or a cudf.Series of nodes from which to run
          the random walks. In case of multi-column vertices it should be
          a cudf.DataFrame. Only supports int32 currently.
  
      max_depth: int
          The maximum depth of the random walks
  
      Returns
      -------
  
      Examples
      --------
      >>>
      """
      # FIXME: finish docstring above
  
      # start_vertices must be a list (cannot just be an iterable), and
      # assume return value is tuple of python lists on host.
      if not isinstance(start_vertices, list):
          start_vertices = [start_vertices]
      # FIXME: ensure list is a list of int32, since Thrift interface
      # specifies that?
      node2vec_result = self.__client.node2vec(
          start_vertices, max_depth, graph_id
      )
      return (
          node2vec_result.vertex_paths,
          node2vec_result.edge_weights,
          node2vec_result.path_sizes,
      )
  
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 35 for calling the CugraphServiceClient obj's underlying member method code with example usage: obj.node2vec(start_vertices, max_depth, graph_id) and returns: node2vec_result,  node2vec_result,  node2vec_result