MCPcopy Create free account

hub / github.com/ai4ce/NYU-VPR / functions

Functions2,323 in github.com/ai4ce/NYU-VPR

Functioncollate_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
Functioncollect_fp_tensor_types
(args, kwargs)
segmentation/apex/apex/amp/utils.py:36
Functioncolormap
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
Methodcommit
(self)
segmentation/apex/apex/pyprof/parse/db.py:56
Methodcomplete_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
Methodcomplete_reductions
Complete reductions if full pipeline is not selected or overlap is not allowed.
segmentation/apex/apex/contrib/optimizers/distributed_fused_adam.py:484
Methodcomplete_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
Methodcomplete_reductions
Complete reductions if full pipeline is not selected or overlap is not allowed.
segmentation/apex/apex/contrib/optimizers/distributed_fused_lamb.py:545
MethodcomputeBoundingBox
test/DBow3/tests/nanoflann.hpp:1006
MethodcomputeInitialDistances
test/DBow3/tests/nanoflann.hpp:1180
MethodcomputeMinMax
test/DBow3/tests/nanoflann.hpp:1089
Methodcompute_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
Methodconvert2Tuple
(arg)
segmentation/apex/apex/pyprof/prof/pooling.py:11
Functionconvert_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
Functioncopy_vector<__half, 1>
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:15
Functioncopy_vector<float, 1>
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:18
MethodcreateTensorDescriptor
segmentation/apex/apex/contrib/csrc/groupbn/batch_norm.h:193
MethodcreateTensorDescriptor
segmentation/apex/apex/contrib/csrc/groupbn/batch_norm_add_relu.h:197
Functioncreate_leading_fpath_dirs_exist_ok
segmentation/mseg-api/mseg/utils/dir_utils.py:21
Methodcreate_mask_from_pattern
(param)
segmentation/apex/apex/contrib/sparsity/asp.py:74
Methodcreate_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
Functioncreate_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
FunctioncuApplyLayerNorm
segmentation/apex/apex/contrib/csrc/multihead_attn/layer_norm.h:276
FunctioncuComputeGradGammaBeta
segmentation/apex/apex/contrib/csrc/multihead_attn/layer_norm.h:468
FunctioncuComputeGradInput
segmentation/apex/apex/contrib/csrc/multihead_attn/layer_norm.h:519
FunctioncuComputePartGradGammaBeta
segmentation/apex/apex/contrib/csrc/multihead_attn/layer_norm.h:400
Methoddata
direct access to data (read-only)
test/DBow3/tests/nanoflann.hpp:668
Methoddataset_get
Helper accessor to the dataset points:
test/DBow3/tests/nanoflann.hpp:976
Methoddelete
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
FunctiondescribeSURF
(image)
test/vlad/vlad_codebook_generation.py:123
MethoddestroyTensorDescriptor
segmentation/apex/apex/contrib/csrc/groupbn/batch_norm.h:199
MethoddestroyTensorDescriptor
segmentation/apex/apex/contrib/csrc/groupbn/batch_norm_add_relu.h:203
Methoddetach_hidden
detach_hidden()
segmentation/apex/apex/RNN/RNNBackend.py:66
Methoddetach_hidden
detach_hidden()
segmentation/apex/apex/RNN/RNNBackend.py:211
Methoddgrad
segmentation/apex/apex/contrib/csrc/groupbn/batch_norm.h:697
Methoddgrad
segmentation/apex/apex/contrib/csrc/groupbn/batch_norm_add_relu.h:640
Methoddie
segmentation/apex/apex/contrib/csrc/groupbn/batch_norm.h:54
Methoddie
segmentation/apex/apex/contrib/csrc/groupbn/batch_norm_add_relu.h:54
Methoddisable_allreduce
(self)
segmentation/apex/apex/parallel/distributed.py:278
Functiondisable_casts
()
segmentation/apex/apex/amp/handle.py:164
Methoddispatch
segmentation/apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:629
Methoddispatch
segmentation/apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:639
Methoddispatch
segmentation/apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:652
MethoddispatchX
segmentation/apex/apex/contrib/csrc/groupbn/nhwc_batch_norm_kernel.h:644
Functiondispatch_additive_masked_softmax
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:441
Functiondispatch_additive_masked_softmax_stream
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:475
Functiondispatch_masked_scale_softmax_backward
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:1300
Functiondispatch_masked_scale_softmax_backward_masked_out
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:1072
Functiondispatch_masked_scale_softmax_backward_masked_out_stream
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:1147
Functiondispatch_masked_scale_softmax_backward_stream
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:1375
Functiondispatch_masked_softmax
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:696
Functiondispatch_masked_softmax_backward
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:1972
Functiondispatch_softmax
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:216
Functiondispatch_softmax_backward
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:1754
Functiondispatch_softmax_backward_fused_native
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:1527
Functiondispatch_softmax_backward_stream
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:1788
Functiondispatch_time_masked_softmax
segmentation/apex/apex/contrib/csrc/multihead_attn/softmax.h:919
Methoddistance
test/DBow3/src/DescManip.cpp:92
Methoddistance_8uc1
test/DBow3/src/DescManip.h:72
MethoddivideTree
* 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
Functiondocstring_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
Functiondownload_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
Methoddraw_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
Methoddraw_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
Functiondump_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
Methodenable_allreduce
(self)
segmentation/apex/apex/parallel/distributed.py:275
Functionerr_if_any_half
(mod, fn, handle, custom_err_msg=None)
segmentation/apex/apex/amp/wrap.py:114
Functionerr_if_arg0_half
(mod, fn, handle, verbose=False)
segmentation/apex/apex/amp/wrap.py:132
Functionexecute_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
Methodextra_repr
(self)
segmentation/apex/apex/normalization/fused_layer_norm.py:163
Functionfast_collate
(batch)
segmentation/apex/tests/L1/common/main_amp.py:81
Methodfeatures
get features
test/DBow3/tests/test_flann.cpp:59
MethodfilterTrace
Filter trace markers to remove certain file names.
segmentation/apex/apex/pyprof/parse/nvvp.py:194
Functionfilter_attrs
(module, attrs)
segmentation/apex/apex/amp/compat.py:45
Functionflatten
segmentation/apex/csrc/flatten_unflatten.cpp:5
Functionfloat_function
(fn)
segmentation/apex/apex/amp/amp.py:35
Methodflops
(self)
segmentation/apex/apex/pyprof/prof/reduction.py:54
Methodflops
(self)
segmentation/apex/apex/pyprof/prof/reduction.py:102
Methodflops
(self)
segmentation/apex/apex/pyprof/prof/reduction.py:139
Methodflops
(self)
segmentation/apex/apex/pyprof/prof/loss.py:74
Methodflops
(self)
segmentation/apex/apex/pyprof/prof/index_slice_join_mutate.py:38
Methodflops
(self)
segmentation/apex/apex/pyprof/prof/index_slice_join_mutate.py:86
Methodflops
(self)
segmentation/apex/apex/pyprof/prof/index_slice_join_mutate.py:136
Methodflops
(self)
segmentation/apex/apex/pyprof/prof/index_slice_join_mutate.py:182
Methodflops
(self)
segmentation/apex/apex/pyprof/prof/index_slice_join_mutate.py:233
Methodflops
(self)
segmentation/apex/apex/pyprof/prof/index_slice_join_mutate.py:324
Methodflops
(self)
segmentation/apex/apex/pyprof/prof/index_slice_join_mutate.py:418
Methodflops
(self)
segmentation/apex/apex/pyprof/prof/recurrentCell.py:105
Methodflops
(self)
segmentation/apex/apex/pyprof/prof/optim.py:35
Methodflops
(self)
segmentation/apex/apex/pyprof/prof/misc.py:44
Methodflops
(self)
segmentation/apex/apex/pyprof/prof/misc.py:89
Methodflops
(self)
segmentation/apex/apex/pyprof/prof/misc.py:122
Methodflops
(self)
segmentation/apex/apex/pyprof/prof/misc.py:164
Methodflops
(self)
segmentation/apex/apex/pyprof/prof/misc.py:215
Methodflops
(self)
segmentation/apex/apex/pyprof/prof/linear.py:183
Methodflops
(self)
segmentation/apex/apex/pyprof/prof/pointwise.py:141
Methodflops
Note that 1 FMA = 2 flops.
segmentation/apex/apex/pyprof/prof/base.py:25
Methodflops
(self)
segmentation/apex/apex/pyprof/prof/dropout.py:48
Methodflops
(self)
segmentation/apex/apex/pyprof/prof/blas.py:73
Methodflops
(self)
segmentation/apex/apex/pyprof/prof/blas.py:134
← previousnext →1,301–1,400 of 2,323, ranked by callers