↓ 4 callersMethod_transpose_for_scoresTranspose a 3D tensor [b, s, np*hn] into a 4D tensor with size [b, np, s, hn].
fengshen/models/DAVAE/GPT2ModelForLatent.py:137
↓ 4 callersMethod_transpose_for_scoresTranspose a 3D tensor [b, s, np*hn] into a 4D tensor with size [b, np, s, hn].
fengshen/models/transfo_xl_denoise/modeling_transfo_xl_denoise.py:223
↓ 3 callersMethod__init__(
self,
config,
input_size,
output_size,
bias=True,
input_is_p
fengshen/models/megatron/mpu/layers.py:393
↓ 3 callersFunctioncreate_gaussian_diffusion(
*,
steps=1000,
learn_sigma=False,
sigma_small=False,
noise_schedule="linear",
use_kl
fengshen/examples/disco_project/guided_diffusion/guided_diffusion/script_util.py:390
↓ 3 callersMethodget_att_mask(self, attention_mask, entity_labels_idx, relation_labels_idx, entity_type_list=None, relation_type_list=None,
fengshen/models/uniex/modeling_uniex.py:322
↓ 3 callersFunctionimage_transform(
image_size: int,
is_train: bool,
mean=(0.48145466, 0.4578275, 0.40821073),
s
fengshen/data/clip_dataloader/flickr.py:48