MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / _is_write

Method _is_write

python/paddle/hapi/callbacks.py:1215–1216  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1213 _ = self.run
1214
1215 def _is_write(self):
1216 return paddle.distributed.ParallelEnv().local_rank == 0
1217
1218 @property
1219 def run(self):

Callers 6

runMethod · 0.95
on_train_beginMethod · 0.95
_updatesMethod · 0.95
on_train_batch_endMethod · 0.95
on_train_endMethod · 0.95
on_eval_endMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected