The ray tutorial explains, that for having a method on an object, which returns multiple object_ids one can use the @ray.method() decorator see here. But in the example 'Learning to play Pong' the method compute gradient actually has two return values, which are called as object_ids later, but it is not coded as ray.method with the respective decoratorsee here. I would like to understand what the use of ray.method is now.
Asked
Active
Viewed 378 times