MCPcopy Create free account
hub / github.com/MotrixLab/AiOS / Struct

Class Struct

util/smplx/smplx/utils.py:103–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101
102
103class Struct(object):
104 def __init__(self, **kwargs):
105 for key, val in kwargs.items():
106 setattr(self, key, val)
107
108
109def to_np(array, dtype=np.float32):

Callers 5

__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected