MCPcopy
hub / github.com/ladaapp/lada / clone

Method clone

lada/utils/video_utils.py:283–283  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

281 def __hash__(self): return hash(self.name)
282
283 def clone(self): return EncodingPreset(**dataclasses.asdict(self))
284
285def get_default_preset_name():
286 if os_utils.has_nvidia_gpu() and is_nvidia_cuda_encoding_available():

Callers 15

forwardMethod · 0.80
extract_gt_dataMethod · 0.80
r1_gradient_penalty_lossFunction · 0.80
super_extract_gt_dataMethod · 0.80
forwardMethod · 0.80
_post_process_batchFunction · 0.80
xyxy2xywhFunction · 0.80
xywh2xyxyFunction · 0.80
xywhn2xyxyFunction · 0.80
xyxy2xywhnFunction · 0.80

Calls 1

EncodingPresetClass · 0.85

Tested by

no test coverage detected