Rate this Page

getattr_from_fqn#

class torch.ao.quantization.utils.getattr_from_fqn(obj, fqn)[source]#

Given an obj and a fqn such as “foo.bar.baz”, returns gm.foo.bar.baz.

Return type:

Any