source
espnet2.torch_utils.recursive_op.recursive_average(obj, weight: Tensor, distributed: bool = False)