MCPcopy Create free account

hub / github.com/NVlabs/GSPN / functions

Functions643 in github.com/NVlabs/GSPN

Methodevaluate
Evaluate if new feature vectors are at the manifold.
generation/evaluator.py:291
Functionfilter2d
r"""Filter a batch of 2D images using the given 2D FIR filter. By default, the result is padded so that its shape matches the input. User-spe
t2i/src/eval/ops/upfirdn2d.py:275
Methodflops_gspn_fn
(B, D, H, W)
generation/gspn.py:497
Functionfma
(a, b, c)
t2i/src/eval/ops/fma.py:15
Functionformat_time
Convert the seconds to human readable string with days, hours, minutes and seconds.
t2i/src/eval/dnnlib/util.py:138
Functionformat_time_brief
Convert the seconds to human readable string with days, hours, minutes and seconds.
t2i/src/eval/dnnlib/util.py:152
Methodforward
(ctx, X, B, G1, G2, G3, items_each_chunk)
ops/gaterecurrent/gaterecurrent2dnoind.py:25
Methodforward
(self, x: torch.Tensor)
generation/gspn.py:46
Methodforward
(self, x, c=None)
generation/gspn.py:70
Methodforward
(self, t)
generation/gspn.py:120
Methodforward
(self, labels, train, force_drop_ids=None)
generation/gspn.py:148
Methodforward
(self, hidden_states, shortcut=None, skip=None)
generation/gspn.py:251
Methodforward
Get Inception feature maps Parameters ---------- inp : torch.autograd.Variable Input tensor of shape Bx3xHxW. Val
generation/tools/inception.py:142
Methodforward
(self, x)
generation/tools/inception.py:229
Methodforward
(self, x)
generation/tools/inception.py:254
Methodforward
(self, x)
generation/tools/inception.py:282
Methodforward
(self, x)
generation/tools/inception.py:315
Methodforward
( self, hidden_states, encoder_hidden_states=None, attention_mask=None,
t2i/src/fusion/gspn.py:165
Methodforward
(self, *args, **kwargs)
t2i/src/distrifuser/modules/base_module.py:22
Methodforward
( self, hidden_states: torch.FloatTensor, encoder_hidden_states: torch.FloatTensor or
t2i/src/distrifuser/modules/pp/attn.py:46
Methodforward
( self, hidden_states: torch.FloatTensor, encoder_hidden_states: torch.FloatTensor or
t2i/src/distrifuser/modules/pp/attn.py:167
Methodforward
( self, hidden_states: torch.FloatTensor, encoder_hidden_states: torch.FloatTensor or
t2i/src/distrifuser/modules/pp/attn.py:261
Methodforward
(self, x: torch.Tensor)
t2i/src/distrifuser/modules/pp/groupnorm.py:14
Methodforward
(self, x: torch.Tensor, *args, **kwargs)
t2i/src/distrifuser/modules/pp/conv2d.py:43
Methodforward
( self, hidden_states: torch.FloatTensor, encoder_hidden_states: torch.FloatTensor or
t2i/src/distrifuser/modules/tp/attention.py:93
Methodforward
(self, x: torch.Tensor)
t2i/src/distrifuser/modules/tp/conv2d.py:37
Methodforward
(self, hidden_states: torch.Tensor, scale: float = 1.0)
t2i/src/distrifuser/modules/tp/feed_forward.py:63
Methodforward
( self, input_tensor: torch.FloatTensor, temb: torch.FloatTensor, scale: float
t2i/src/distrifuser/modules/tp/resnet.py:117
Methodforward
( self, sample: torch.FloatTensor, timestep: torch.Tensor or float or int, enc
t2i/src/distrifuser/models/distri_sdxl_unet_tp.py:42
Methodforward
(self, *args, **kwargs)
t2i/src/distrifuser/models/base_model.py:24
Methodforward
( self, sample: torch.FloatTensor, timestep: torch.Tensor or float or int, enc
t2i/src/distrifuser/models/naive_patch_sdxl.py:16
Methodforward
( self, sample: torch.FloatTensor, timestep: torch.Tensor or float or int, enc
t2i/src/distrifuser/models/distri_sdxl_unet_pp.py:49
Methodforward
(ctx, input, grid)
t2i/src/eval/ops/grid_sample_gradfix.py:46
Methodforward
(ctx, grad_output, input, grid)
t2i/src/eval/ops/grid_sample_gradfix.py:63
Methodforward
(ctx, x, b)
t2i/src/eval/ops/bias_act.py:150
Methodforward
(ctx, dy, x, b, y)
t2i/src/eval/ops/bias_act.py:183
Methodforward
(ctx, x, f)
t2i/src/eval/ops/upfirdn2d.py:233
Methodforward
(ctx, a, b, c)
t2i/src/eval/ops/fma.py:22
Methodforward
(ctx, input, weight, bias)
t2i/src/eval/ops/conv2d_gradfix.py:109
Methodforward
(ctx, grad_output, input)
t2i/src/eval/ops/conv2d_gradfix.py:142
Methodforward
(self, x: torch.Tensor)
classification/models/modules.py:33
Methodforward
(self, x: torch.Tensor)
classification/models/modules.py:43
Methodforward
(self, x)
classification/models/modules.py:83
Methodforward
(self, x: torch.Tensor)
classification/models/modules.py:96
Methodforward
(self, x)
classification/models/modules.py:112
Methodforward
(self, x: torch.Tensor)
classification/models/modules.py:134
Methodforward
(self, x)
classification/models/modules.py:155
Methodforward
(self, x)
classification/models/modules.py:172
Methodforward
(self, x)
classification/models/modules.py:185
Methodforward
(self, x: torch.Tensor)
classification/models/modules.py:202
Methodforward
(self, x)
classification/models/modules.py:213
Methodforward
(self, input: torch.Tensor)
classification/models/gspn.py:292
Methodforward
(self, x: torch.Tensor)
classification/models/gspn.py:556
Methodforward_corev1
(self, x: torch.Tensor=None, **kwargs)
classification/models/gspn.py:137
Methodforward_with_cfg
Forward pass of GSPN, but also batches the unconditional forward pass for classifier-free guidance.
generation/gspn.py:476
Methodforwardv1
(self, x: torch.Tensor, **kwargs)
classification/models/gspn.py:163
Functiongaterecurrent2dnoind_backward_cuda
ops/gaterecurrent/src/gaterecurrent2dnoind_cuda.cpp:65
Functiongaterecurrent2dnoind_forward_cuda
ops/gaterecurrent/src/gaterecurrent2dnoind_cuda.cpp:37
Functionget_2d_sincos_pos_embed
(embed_dim, grid_size, cls_token=False, extra_tokens=0)
generation/gspn.py:531
Functionget_blip_caption
(example, idx)
t2i/src/train/distill.py:54
Functionget_blip_caption
(example, idx)
t2i/src/train/distill_sdxl.py:55
Methodget_cycle_length
(self, cycles=0)
classification/utils/cosine_lr.py:112
Functionget_dtype_and_ctype
Given a type name string (or an object having a __name__ attribute), return matching Numpy and ctypes types that have the same size in bytes.
t2i/src/eval/dnnlib/util.py:200
Methodget_epoch_values
(self, epoch: int)
classification/utils/cosine_lr.py:100
Methodget_epoch_values
(self, epoch: int)
classification/utils/lr_scheduler.py:109
Methodget_epoch_values
(self, epoch: int)
classification/utils/lr_scheduler.py:146
Functionget_grad_norm
(parameters, norm_type=2)
classification/utils/utils.py:130
Functionget_local_rank
()
t2i/src/eval/distributed.py:38
Functionget_module_dir_by_obj_name
Get the directory path of the module containing the given object name.
t2i/src/eval/dnnlib/util.py:305
Functionget_named_beta_schedule
Get a pre-defined beta schedule for the given name. The beta schedule library consists of beta schedules which remain similar in the limi
generation/diffusion/gaussian_diffusion.py:104
Functionget_none_linear_projection
(query_dim, mid_dim=None)
t2i/src/fusion/gspn.py:22
Functionget_plugin
(module_name, sources, **build_kwargs)
t2i/src/eval/custom_ops.py:46
Functionget_swin_layer
(name, num_layers, depths)
classification/utils/optimizer.py:125
Functionget_top_level_function_name
Return the fully-qualified name of a top-level function.
t2i/src/eval/dnnlib/util.py:316
Methodget_update_values
(self, num_updates: int)
classification/utils/cosine_lr.py:106
Methodget_update_values
(self, num_updates: int)
classification/utils/lr_scheduler.py:115
Methodget_update_values
(self, num_updates: int)
classification/utils/lr_scheduler.py:152
Functiongrid_sample
(input, grid)
t2i/src/eval/ops/grid_sample_gradfix.py:27
Methodgspn_flop_jit
(inputs, outputs, verbose=True)
generation/gspn.py:496
Methodguidance_rescale
(self)
t2i/src/pipelines/pipeline_highres_sdxl.py:860
Methodguidance_rescale
(self)
t2i/src/pipelines/pipeline_superres_sdxl.py:861
Methodguidance_scale
(self)
t2i/src/pipelines/pipeline_highres_sdxl.py:856
Methodguidance_scale
(self)
t2i/src/pipelines/pipeline_superres_sdxl.py:857
Functionimport_abspy
(name="models", path="classification/")
classification/utils/utils.py:17
Functionimport_hook
r"""Register an import hook that is called whenever a persistent object is being unpickled. A typical use case is to patch the pickled source
t2i/src/eval/persistence.py:153
Methodimread
(path)
classification/data/zipreader.py:93
Functioninit
()
t2i/src/eval/distributed.py:14
Methodinit_args
(self)
t2i/src/eval/persistence.py:114
Methodinit_kwargs
(self)
t2i/src/eval/persistence.py:119
Functioninit_multiprocessing
r"""Initializes `torch_utils.training_stats` for collecting statistics across multiple processes. This function must be called after `tor
t2i/src/eval/training_stats.py:33
Methodinterrupt
(self)
t2i/src/pipelines/pipeline_highres_sdxl.py:883
Methodinterrupt
(self)
t2i/src/pipelines/pipeline_superres_sdxl.py:884
Functionis_pickleable
(obj: Any)
t2i/src/eval/dnnlib/util.py:223
Methodis_vb
(self)
generation/diffusion/gaussian_diffusion.py:60
Functionlist_dir_recursively_with_ignore
List all files recursively in a given directory while ignoring given file and directory names. Returns list of tuples containing both absolute and
t2i/src/eval/dnnlib/util.py:328
Methodlist_files
(path, extension=None)
classification/data/zipreader.py:67
Methodlist_folder
(path)
classification/data/zipreader.py:49
Methodno_weight_decay
(self)
generation/gspn.py:417
Functionno_weight_gradients
()
t2i/src/eval/ops/conv2d_gradfix.py:26
Methodnum_timesteps
(self)
t2i/src/pipelines/pipeline_highres_sdxl.py:879
← previousnext →501–600 of 643, ranked by callers