ray.actor.ActorClass#

class ray.actor.ActorClass(name, bases, attr)[source]#

An actor class.

This is a decorated class. It can be used to create actors.

__ray_metadata__#

Contains metadata for the actor.

Methods

__init__

Prevents users from directly inheriting from an ActorClass.

bind

For Ray DAG building that creates static graph from decorated class or functions.

options

Configures and overrides the actor instantiation parameters.

remote

Create an actor.