Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
run
Method · 0.95
on_train_begin
Method · 0.95
_updates
Method · 0.95
on_train_batch_end
Method · 0.95
on_train_end
Method · 0.95
on_eval_end
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected