Bind arguments to the actor method for Ray DAG building. This method generates and returns an intermediate representation (IR) node that indicates the actor method will be called with the given arguments at execution time. This method is used in both :ref:`
(self, *args, **kwargs)
| 901 | |
| 902 | @DeveloperAPI |
| 903 | def bind(self, *args, **kwargs): |
| 904 | """ |
| 905 | Bind arguments to the actor method for Ray DAG building. |
| 906 | |
| 907 | This method generates and returns an intermediate representation (IR) |
| 908 | node that indicates the actor method will be called with the given |
| 909 | arguments at execution time. |
| 910 | |
| 911 | This method is used in both :ref:`Ray DAG <ray-dag-guide>` and |
| 912 | :ref:`Ray Compiled Graph <ray-compiled-graph>` for building a DAG. |
| 913 | """ |
| 914 | return self._bind(args, kwargs) |
| 915 | |
| 916 | def remote(self, *args, **kwargs): |
| 917 | return self._remote(args, kwargs) |