Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ai4ce/NYU-VPR
/ functions
Functions
2,323 in github.com/ai4ce/NYU-VPR
⨍
Functions
2,323
◇
Types & classes
300
↳
Endpoints
1
Function
collate_fn
Creates mini-batch tensors from the list of tuples (query, positive, negatives). Args: data: list of tuple (query, positive, negative
test/netvlad/pittsburgh.py:161
Function
collect_fp_tensor_types
(args, kwargs)
segmentation/apex/apex/amp/utils.py:36
Function
colormap
Args: rgb (bool): whether to return RGB colors or BGR colors. maximum (int): either 255 or 1 Returns: ndarray: a flo
segmentation/mseg-api/mseg/utils/fb_colormap.py:96
Method
commit
(self)
segmentation/apex/apex/pyprof/parse/db.py:56
Method
complete_reductions
Complete reductions if full pipeline is not selected or overlap is not allowed.
segmentation/apex/apex/contrib/optimizers/distributed_fused_adam_v3.py:282
Method
complete_reductions
Complete reductions if full pipeline is not selected or overlap is not allowed.
segmentation/apex/apex/contrib/optimizers/distributed_fused_adam.py:484
Method
complete_reductions
Complete reductions if full pipeline is not selected or overlap is not allowed.
segmentation/apex/apex/contrib/optimizers/distributed_fused_adam_v2.py:535
Method
complete_reductions
Complete reductions if full pipeline is not selected or overlap is not allowed.
segmentation/apex/apex/contrib/optimizers/distributed_fused_lamb.py:545
Method
computeBoundingBox
test/DBow3/tests/nanoflann.hpp:1006
Method
computeInitialDistances
test/DBow3/tests/nanoflann.hpp:1180
Method
computeMinMax
test/DBow3/tests/nanoflann.hpp:1089
Method
compute_weight
Computes weight normalized weight value to assign value to module attribute with name `name`. Arguments: module (
segmentation/apex/apex/reparameterization/weight_norm.py:39
Method
convert2Tuple
(arg)
segmentation/apex/apex/pyprof/prof/pooling.py:11
Function
convert_syncbn_model
Recursively traverse module and its children to replace all instances of ``torch.nn.modules.batchnorm._BatchNorm`` with :class:`apex.parallel
segmentation/apex/apex/parallel/__init__.py:21
Function
copy_vector<__half, 1>
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:15
Function
copy_vector<float, 1>
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:18
Method
createTensorDescriptor
segmentation/apex/apex/contrib/csrc/groupbn/batch_norm.h:193
Method
createTensorDescriptor
segmentation/apex/apex/contrib/csrc/groupbn/batch_norm_add_relu.h:197
Function
create_leading_fpath_dirs_exist_ok
segmentation/mseg-api/mseg/utils/dir_utils.py:21
Method
create_mask_from_pattern
(param)
segmentation/apex/apex/contrib/sparsity/asp.py:74
Method
create_path_lists_from_dir
Populate a .txt file with relative paths that will be used to create a Pytorch dataloader. Args: - None Returns: - None
segmentation/mseg-semantic/mseg_semantic/tool/inference_task.py:433
Function
create_syncbn_process_group
Creates process groups to be used for syncbn of a give ``group_size`` and returns process group that current GPU participates in. ``grou
segmentation/apex/apex/parallel/__init__.py:58
Function
cuApplyLayerNorm
segmentation/apex/apex/contrib/csrc/multihead_attn/layer_norm.h:276
Function
cuComputeGradGammaBeta
segmentation/apex/apex/contrib/csrc/multihead_attn/layer_norm.h:468
Function
cuComputeGradInput
segmentation/apex/apex/contrib/csrc/multihead_attn/layer_norm.h:519
Function
cuComputePartGradGammaBeta
segmentation/apex/apex/contrib/csrc/multihead_attn/layer_norm.h:400
Method
data
direct access to data (read-only)
test/DBow3/tests/nanoflann.hpp:668
Method
dataset_get
Helper accessor to the dataset points:
test/DBow3/tests/nanoflann.hpp:976
Method
delete
Delete rows from the temporary SQL table which are no longer required. This speeds up future queries.
segmentation/apex/apex/pyprof/parse/nvvp.py:127
Function
describeSURF
(image)
test/vlad/vlad_codebook_generation.py:123
Method
destroyTensorDescriptor
segmentation/apex/apex/contrib/csrc/groupbn/batch_norm.h:199
Method
destroyTensorDescriptor
segmentation/apex/apex/contrib/csrc/groupbn/batch_norm_add_relu.h:203
Method
detach_hidden
detach_hidden()
segmentation/apex/apex/RNN/RNNBackend.py:66
Method
detach_hidden
detach_hidden()
segmentation/apex/apex/RNN/RNNBackend.py:211
Method
dgrad
segmentation/apex/apex/contrib/csrc/groupbn/batch_norm.h:697
Method
dgrad
segmentation/apex/apex/contrib/csrc/groupbn/batch_norm_add_relu.h:640
Method
die
segmentation/apex/apex/contrib/csrc/groupbn/batch_norm.h:54
Method
die
segmentation/apex/apex/contrib/csrc/groupbn/batch_norm_add_relu.h:54
Method
disable_allreduce
(self)
segmentation/apex/apex/parallel/distributed.py:278
Function
disable_casts
()
segmentation/apex/apex/amp/handle.py:164
Method
dispatch
segmentation/apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:629
Method
dispatch
segmentation/apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:639
Method
dispatch
segmentation/apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:652
Method
dispatchX
segmentation/apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:644
Function
dispatch_additive_masked_softmax
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:441
Function
dispatch_additive_masked_softmax_stream
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:475
Function
dispatch_masked_scale_softmax_backward
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:1300
Function
dispatch_masked_scale_softmax_backward_masked_out
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:1072
Function
dispatch_masked_scale_softmax_backward_masked_out_stream
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:1147
Function
dispatch_masked_scale_softmax_backward_stream
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:1375
Function
dispatch_masked_softmax
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:696
Function
dispatch_masked_softmax_backward
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:1972
Function
dispatch_softmax
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:216
Function
dispatch_softmax_backward
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:1754
Function
dispatch_softmax_backward_fused_native
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:1527
Function
dispatch_softmax_backward_stream
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:1788
Function
dispatch_time_masked_softmax
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:919
Method
distance
test/DBow3/src/DescManip.cpp:92
Method
distance_8uc1
test/DBow3/src/DescManip.h:72
Method
divideTree
* Create a tree node that subdivides the list of vecs from vind[first] * to vind[last]. The routine is called recursively on each sublist. *
test/DBow3/tests/nanoflann.hpp:1038
Function
docstring_hack
Multiproc file which will launch a set of processes locally for multi-gpu usage: python -m apex.parallel.multiproc main.py ...
segmentation/apex/apex/parallel/multiproc.py:5
Function
download_tsv
Use a system call to download a spreadsheet from Google Drive as tab-separated values. Args: - tsv_fpath: - spreadsheet_url: Returns: -
segmentation/mseg-api/mseg/utils/tsv_utils.py:13
Method
draw_panoptic_seg_predictions
Draw panoptic prediction results on an image. Args: panoptic_seg (Tensor): of shape (height, width) where the values are
segmentation/mseg-api/mseg/utils/mask_utils_detectron2.py:365
Method
draw_sem_seg
Draw semantic segmentation predictions/labels. Args: sem_seg (Tensor or ndarray): the segmentation of shape (H, W).
segmentation/mseg-api/mseg/utils/mask_utils_detectron2.py:330
Function
dump_img_masks_worker
Given a list of image file paths, call dump_img_masks on each one of them. Args: - img_fpath_list: list of strings - start_idx: integer - e
segmentation/mseg-api/mseg/dataset_apis/MapillaryMaskDataset.py:118
Method
enable_allreduce
(self)
segmentation/apex/apex/parallel/distributed.py:275
Function
err_if_any_half
(mod, fn, handle, custom_err_msg=None)
segmentation/apex/apex/amp/wrap.py:114
Function
err_if_arg0_half
(mod, fn, handle, verbose=False)
segmentation/apex/apex/amp/wrap.py:132
Function
execute_on_list_subset
Each process will be calling the worker_func_ptr over and over again. Helps with readability, but lots of overhead from the call stack. Args:
segmentation/mseg-api/mseg/utils/multiprocessing_utils.py:69
Method
extra_repr
(self)
segmentation/apex/apex/normalization/fused_layer_norm.py:163
Function
fast_collate
(batch)
segmentation/apex/tests/L1/common/main_amp.py:81
Method
features
get features
test/DBow3/tests/test_flann.cpp:59
Method
filterTrace
Filter trace markers to remove certain file names.
segmentation/apex/apex/pyprof/parse/nvvp.py:194
Function
filter_attrs
(module, attrs)
segmentation/apex/apex/amp/compat.py:45
Function
flatten
segmentation/apex/csrc/flatten_unflatten.cpp:5
Function
float_function
(fn)
segmentation/apex/apex/amp/amp.py:35
Method
flops
(self)
segmentation/apex/apex/pyprof/prof/reduction.py:54
Method
flops
(self)
segmentation/apex/apex/pyprof/prof/reduction.py:102
Method
flops
(self)
segmentation/apex/apex/pyprof/prof/reduction.py:139
Method
flops
(self)
segmentation/apex/apex/pyprof/prof/loss.py:74
Method
flops
(self)
segmentation/apex/apex/pyprof/prof/index_slice_join_mutate.py:38
Method
flops
(self)
segmentation/apex/apex/pyprof/prof/index_slice_join_mutate.py:86
Method
flops
(self)
segmentation/apex/apex/pyprof/prof/index_slice_join_mutate.py:136
Method
flops
(self)
segmentation/apex/apex/pyprof/prof/index_slice_join_mutate.py:182
Method
flops
(self)
segmentation/apex/apex/pyprof/prof/index_slice_join_mutate.py:233
Method
flops
(self)
segmentation/apex/apex/pyprof/prof/index_slice_join_mutate.py:324
Method
flops
(self)
segmentation/apex/apex/pyprof/prof/index_slice_join_mutate.py:418
Method
flops
(self)
segmentation/apex/apex/pyprof/prof/recurrentCell.py:105
Method
flops
(self)
segmentation/apex/apex/pyprof/prof/optim.py:35
Method
flops
(self)
segmentation/apex/apex/pyprof/prof/misc.py:44
Method
flops
(self)
segmentation/apex/apex/pyprof/prof/misc.py:89
Method
flops
(self)
segmentation/apex/apex/pyprof/prof/misc.py:122
Method
flops
(self)
segmentation/apex/apex/pyprof/prof/misc.py:164
Method
flops
(self)
segmentation/apex/apex/pyprof/prof/misc.py:215
Method
flops
(self)
segmentation/apex/apex/pyprof/prof/linear.py:183
Method
flops
(self)
segmentation/apex/apex/pyprof/prof/pointwise.py:141
Method
flops
Note that 1 FMA = 2 flops.
segmentation/apex/apex/pyprof/prof/base.py:25
Method
flops
(self)
segmentation/apex/apex/pyprof/prof/dropout.py:48
Method
flops
(self)
segmentation/apex/apex/pyprof/prof/blas.py:73
Method
flops
(self)
segmentation/apex/apex/pyprof/prof/blas.py:134
← previous
next →
1,301–1,400 of 2,323, ranked by callers