MCPcopy Create free account
hub / github.com/PaddlePaddle/FastDeploy / is_fully_copied

Method is_fully_copied

fastdeploy/model_executor/utils.py:106–108  ·  view source on GitHub ↗

Return True if the tensor is fully filled along tracked dimension(s).

(self)

Source from the content-addressed store, hash-verified

104 self.trackers[batch_id].mark(start, end)
105
106 def is_fully_copied(self) -> bool:
107 """Return True if the tensor is fully filled along tracked dimension(s)."""
108 return all(tr.is_full() for tr in self.trackers)
109
110
111def set_weight_attrs(param, param_attr_map: Optional[dict[str, Any]]):

Callers 4

fnFunction · 0.80
weight_fully_copiedFunction · 0.80

Calls 1

is_fullMethod · 0.80

Tested by

no test coverage detected