@@ -23,7 +23,7 @@ from cuda.core._utils.cuda_utils import (
2323
2424@dataclass
2525class GraphDebugPrintOptions :
26- """ Customizable options for :obj:`_graph .GraphBuilder.debug_dot_print()`
26+ """ Customizable options for :obj:`~graph .GraphBuilder.debug_dot_print()`
2727
2828 Attributes
2929 ----------
@@ -119,7 +119,7 @@ class GraphDebugPrintOptions:
119119
120120@dataclass
121121class GraphCompleteOptions:
122- """Customizable options for :obj:`_graph .GraphBuilder.complete()`
122+ """Customizable options for :obj:`~graph .GraphBuilder.complete()`
123123
124124 Attributes
125125 ----------
@@ -188,7 +188,7 @@ class GraphBuilder:
188188 them with a specified dependency tree. It speeds up the workflow by combining the
189189 driver activities associated with CUDA kernel launches and CUDA API calls.
190190
191- Directly creating a :obj:`~_graph .GraphBuilder` is not supported due
191+ Directly creating a :obj:`~graph .GraphBuilder` is not supported due
192192 to ambiguity. New graph builders should instead be created through a
193193 :obj:`~_device.Device`, or a :obj:`~_stream.stream` object.
194194
@@ -326,16 +326,16 @@ class GraphBuilder:
326326 return self
327327
328328 def complete(self , options: GraphCompleteOptions | None = None ) -> "Graph":
329- """Completes the graph builder and returns the built :obj:`~_graph .Graph` object.
329+ """Completes the graph builder and returns the built :obj:`~graph .Graph` object.
330330
331331 Parameters
332332 ----------
333- options : :obj:`~_graph .GraphCompleteOptions`, optional
333+ options : :obj:`~graph .GraphCompleteOptions`, optional
334334 Customizable dataclass for the graph builder completion options.
335335
336336 Returns
337337 -------
338- graph : :obj:`~_graph .Graph`
338+ graph : :obj:`~graph .Graph`
339339 The newly built graph.
340340
341341 """
@@ -351,7 +351,7 @@ class GraphBuilder:
351351 ----------
352352 path : str
353353 File path to use for writting debug DOT output
354- options : :obj:`~_graph .GraphDebugPrintOptions`, optional
354+ options : :obj:`~graph .GraphDebugPrintOptions`, optional
355355 Customizable dataclass for the debug print options.
356356
357357 """
@@ -373,7 +373,7 @@ class GraphBuilder:
373373
374374 Returns
375375 -------
376- graph_builders : tuple[:obj:`~_graph .GraphBuilder`, ...]
376+ graph_builders : tuple[:obj:`~graph .GraphBuilder`, ...]
377377 A tuple of split graph builders. The first graph builder in the tuple
378378 is always the original graph builder.
379379
@@ -400,12 +400,12 @@ class GraphBuilder:
400400
401401 Parameters
402402 ----------
403- *graph_builders : :obj:`~_graph .GraphBuilder`
403+ *graph_builders : :obj:`~graph .GraphBuilder`
404404 The graph builders to join.
405405
406406 Returns
407407 -------
408- graph_builder : :obj:`~_graph .GraphBuilder`
408+ graph_builder : :obj:`~graph .GraphBuilder`
409409 The newly joined graph builder.
410410
411411 """
@@ -521,7 +521,7 @@ class GraphBuilder:
521521
522522 Returns
523523 -------
524- graph_builder : :obj:`~_graph .GraphBuilder`
524+ graph_builder : :obj:`~graph .GraphBuilder`
525525 The newly created conditional graph builder.
526526
527527 """
@@ -552,7 +552,7 @@ class GraphBuilder:
552552
553553 Returns
554554 -------
555- graph_builders : tuple[:obj:`~_graph .GraphBuilder`, :obj:`~_graph .GraphBuilder`]
555+ graph_builders : tuple[:obj:`~graph .GraphBuilder`, :obj:`~graph .GraphBuilder`]
556556 A tuple of two new graph builders , one for the if branch and one for the else branch.
557557
558558 """
@@ -586,7 +586,7 @@ class GraphBuilder:
586586
587587 Returns
588588 -------
589- graph_builders : tuple[:obj:`~_graph .GraphBuilder`, ...]
589+ graph_builders : tuple[:obj:`~graph .GraphBuilder`, ...]
590590 A tuple of new graph builders , one for each branch.
591591
592592 """
@@ -617,7 +617,7 @@ class GraphBuilder:
617617
618618 Returns
619619 -------
620- graph_builder : :obj:`~_graph .GraphBuilder`
620+ graph_builder : :obj:`~graph .GraphBuilder`
621621 The newly created while loop graph builder.
622622
623623 """
@@ -643,13 +643,13 @@ class GraphBuilder:
643643 self ._mnff.close()
644644
645645 def add_child (self , child_graph: GraphBuilder ):
646- """ Adds the child :obj:`~_graph .GraphBuilder` builder into self.
646+ """ Adds the child :obj:`~graph .GraphBuilder` builder into self.
647647
648648 The child graph builder will be added as a child node to the parent graph builder.
649649
650650 Parameters
651651 ----------
652- child_graph : :obj:`~_graph .GraphBuilder`
652+ child_graph : :obj:`~graph .GraphBuilder`
653653 The child graph builder. Must have finished building.
654654 """
655655 if not child_graph._building_ended:
@@ -743,7 +743,7 @@ class Graph:
743743 them with a specified dependency tree. It speeds up the workflow by combining the
744744 driver activities associated with CUDA kernel launches and CUDA API calls.
745745
746- Graphs must be built using a :obj:`~_graph .GraphBuilder` object.
746+ Graphs must be built using a :obj:`~graph .GraphBuilder` object.
747747
748748 """
749749
0 commit comments