MCPcopy Create free account

hub / github.com/YehLi/xmodaler / types & classes

Types & classes184 in github.com/YehLi/xmodaler

↓ 6 callersClassBertLayer
xmodaler/modeling/layers/bert.py:334
↓ 5 callersClassAttentionPooler
xmodaler/modeling/layers/attention_pooler.py:11
↓ 4 callersClassBertIntermediate
xmodaler/modeling/layers/bert.py:171
↓ 4 callersClassBertOutput
xmodaler/modeling/layers/bert.py:201
↓ 3 callersClassBertAttention
xmodaler/modeling/layers/bert.py:147
↓ 3 callersClassBertGenerationLayer
xmodaler/modeling/layers/bert.py:407
↓ 3 callersClassBertPredictionHeadTransform
xmodaler/modeling/layers/bert.py:463
↓ 2 callersClassBaseAttention
xmodaler/modeling/layers/base_attention.py:11
↓ 2 callersClassBertPooler
xmodaler/modeling/layers/bert.py:440
↓ 2 callersClassBertSelfOutput
xmodaler/modeling/layers/bert.py:119
↓ 2 callersClassCiderScorer
CIDEr scorer.
xmodaler/scorer/cider.py:54
↓ 2 callersClassDatasetFromList
Wrap a list to a torch Dataset. It produces elements of the list as data.
xmodaler/datasets/common.py:60
↓ 2 callersClassEventStorage
The user-facing class that provides metric storage functionalities. In the future we may add support for storing / logging other types of da
xmodaler/utils/events.py:273
↓ 2 callersClassLowRankBilinearLayer
xmodaler/modeling/layers/lowrank_bilinear_layers.py:140
↓ 2 callersClassMapDataset
Map a function over the elements in a dataset. Args: dataset: a dataset where map function is applied. map_func: a callable
xmodaler/datasets/common.py:15
↓ 2 callersClassModelEma
xmodaler/engine/ema.py:8
↓ 2 callersClassMultiHeadAttention
Multi-head attention layer with Dropout and Layer Normalization.
xmodaler/modeling/layers/multihead_attention.py:198
↓ 2 callersClassPositionWiseFeedForward
Position-wise feed forward layer
xmodaler/modeling/layers/positionwise_feedforward.py:12
↓ 2 callersClassXmodalerCheckpointer
Same as :class:`Checkpointer`, but is able to handle models in xmodaler model zoo, and apply conversions for legacy models.
xmodaler/checkpoint/xmodaler_checkpoint.py:58
↓ 1 callersClassBasicTokenizer
Runs basic tokenization (punctuation splitting, lower casing, etc.).
xmodaler/tokenization/tokenization_bert.py:224
↓ 1 callersClassBatchTriplet
xmodaler/losses/triplet.py:49
↓ 1 callersClassBertCrossAttention
xmodaler/modeling/layers/bert.py:309
↓ 1 callersClassBertSelfAttention
xmodaler/modeling/layers/bert.py:33
↓ 1 callersClassBertUnderstandingLayer
xmodaler/modeling/layers/bert.py:362
↓ 1 callersClassBertXAttention
xmodaler/modeling/layers/bert.py:231
↓ 1 callersClassCOSBertIntermediate
xmodaler/modeling/layers/cosnet_layer.py:136
↓ 1 callersClassCOSBertOutput
xmodaler/modeling/layers/cosnet_layer.py:166
↓ 1 callersClassCOSJointAttention
xmodaler/modeling/layers/cosnet_layer.py:9
↓ 1 callersClassCOSNetDecBlock
xmodaler/modeling/layers/cosnet_layer.py:196
↓ 1 callersClassCfgNode
The same as `fvcore.common.config.CfgNode`, but different in: 1. Use unsafe yaml loading by default. Note that this may lead to arbit
xmodaler/config/config.py:12
↓ 1 callersClassClipRetrieval
configs/image_caption/cosnet/COS-Net-preprocess/step1_mil.py:52
↓ 1 callersClassClipRetrieval
configs/image_caption/cosnet/COS-Net-preprocess/step2_txtfeat.py:52
↓ 1 callersClassCommonMetricPrinter
Print **common** metrics to the terminal, including iteration time, ETA, memory, all losses, and the learning rate. It also applies smoot
xmodaler/utils/events.py:180
↓ 1 callersClassEncoderLayer
xmodaler/modeling/encoder/memory_augmented_encoder.py:55
↓ 1 callersClassEnsemble
xmodaler/modeling/meta_arch/ensemble.py:16
↓ 1 callersClassJSONWriter
Write scalars to a json file. It saves scalars as one json per line (instead of a big json) for easy parsing. Examples parsing such a j
xmodaler/utils/events.py:49
↓ 1 callersClassLowRank
xmodaler/modeling/layers/lowrank_bilinear_layers.py:13
↓ 1 callersClassLowRankBilinearAttention
xmodaler/modeling/layers/lowrank_bilinear_layers.py:188
↓ 1 callersClassMeshedDecoderLayer
xmodaler/modeling/decoder/meshed_decoder.py:22
↓ 1 callersClassMultiHeadAttentionMemory
Multi-head attention layer with Dropout and Layer Normalization.
xmodaler/modeling/layers/multihead_attention.py:164
↓ 1 callersClassNoOp
useful for distributed training No-Ops
xmodaler/engine/single_stream_retrieval_trainer.py:32
↓ 1 callersClassPicklableWrapper
Wrap an object to make it more picklable, note that it uses heavy weight serialization libraries that are slower than pickle. It's best t
xmodaler/utils/serialize.py:5
↓ 1 callersClassSCAttention
xmodaler/modeling/layers/scattention.py:41
↓ 1 callersClassScaledDotProductAttention
Scaled dot-product attention
xmodaler/modeling/layers/multihead_attention.py:12
↓ 1 callersClassScaledDotProductAttentionMemory
Scaled dot-product attention with memory
xmodaler/modeling/layers/multihead_attention.py:86
↓ 1 callersClassShiftedConvLayer
xmodaler/modeling/layers/tdconved_layers.py:242
↓ 1 callersClassSoftAttention
xmodaler/modeling/layers/tdconved_layers.py:290
↓ 1 callersClassTemporalDeformableBlock
xmodaler/modeling/layers/tdconved_layers.py:15
↓ 1 callersClassTemporalDeformableLayer
xmodaler/modeling/layers/tdconved_layers.py:200
↓ 1 callersClassTensorboardXWriter
Write all scalars to a tensorboard file.
xmodaler/utils/events.py:130
↓ 1 callersClassWordpieceTokenizer
Runs WordPiece tokenization.
xmodaler/tokenization/tokenization_bert.py:360
↓ 1 callersClass_ColorfulFormatter
xmodaler/utils/logger.py:15
ClassAdagrad
xmodaler/optim/adagrad.py:11
ClassAdam
xmodaler/optim/adam.py:11
ClassAdamW
xmodaler/optim/adamw.py:11
ClassAdamax
xmodaler/optim/adamax.py:11
ClassAttributeDecoder
xmodaler/modeling/decoder/attribute_decoder.py:19
ClassAutogradProfiler
A hook which runs `torch.autograd.profiler.profile`. Examples: :: hooks.AutogradProfiler( lambda trainer: trainer.i
xmodaler/engine/hooks.py:277
ClassBCEWithLogits
xmodaler/losses/bce_logits.py:13
ClassBaseEncoderDecoder
xmodaler/modeling/meta_arch/base_enc_dec.py:25
ClassBasePredictor
xmodaler/modeling/predictor/base_predictor.py:16
ClassBaseScorer
xmodaler/scorer/base_scorer.py:18
ClassBasicAtt
xmodaler/modeling/layers/scattention.py:12
ClassBeamSearcher
xmodaler/modeling/decode_strategy/beam_searcher.py:17
ClassBertAdam
xmodaler/optim/bertadam.py:12
ClassBertIsMatchedPredictor
xmodaler/modeling/predictor/bert_predictor.py:146
ClassBertPredictionHead
xmodaler/modeling/predictor/bert_predictor.py:18
ClassBertTokenizedScorer
xmodaler/scorer/bert_tokenized_scorer.py:17
ClassBertTokenizer
r""" Constructs a BertTokenizer. :class:`~pytorch_transformers.BertTokenizer` runs end-to-end tokenization: punctuation splitting + wordpiec
xmodaler/tokenization/tokenization_bert.py:103
ClassBertVisualFeatureRegressionHead
xmodaler/modeling/predictor/bert_predictor.py:109
ClassBertVisualPredictionHead
xmodaler/modeling/predictor/bert_predictor.py:73
ClassCOCOEvaler
xmodaler/evaluation/coco_evaler.py:21
ClassCOCOPrinter
xmodaler/evaluation/coco_printer.py:16
ClassCOSNetDecoder
xmodaler/modeling/decoder/cosnet_decoder.py:19
ClassCOSNetEncoder
xmodaler/modeling/encoder/cosnet_encoder.py:19
ClassCallbackHook
Create a hook using callback functions provided by the user.
xmodaler/engine/hooks.py:46
ClassCider
Main Class to compute the CIDEr metric
xmodaler/scorer/cider.py:202
ClassConceptualCaptionsDataset
xmodaler/datasets/images/conceptual_captions.py:31
ClassConceptualCaptionsDatasetForSingleStream
xmodaler/datasets/images/conceptual_captions.py:138
ClassConverterV1
xmodaler/config/compat.py:164
ClassConverterV2
A large bulk of rename, before public release.
xmodaler/config/compat.py:168
ClassCrossEntropy
xmodaler/losses/cross_entropy.py:13
ClassDecodeStrategy
xmodaler/modeling/decode_strategy/decode_strategy.py:14
ClassDecoder
xmodaler/modeling/decoder/decoder.py:14
ClassDecoupleBertDecoder
xmodaler/modeling/decoder/decouple_bert_decoder.py:20
ClassDefaultTrainer
A trainer with default training logic. It does the following: 1. Create a :class:`DefaultTrainer` using model, optimizer, dataloader
xmodaler/engine/defaults.py:187
ClassEncoder
xmodaler/modeling/encoder/encoder.py:17
ClassEnsembleBeamSearcher
xmodaler/modeling/decode_strategy/ensemble_beam_searcher.py:19
ClassEnsembler
xmodaler/engine/ensembler.py:30
ClassEvalHook
Run an evaluation function periodically, and at the end of training. It is executed every ``eval_period`` iterations and after the last iter
xmodaler/engine/hooks.py:341
ClassEventWriter
Base class for writers that obtain events from :class:`EventStorage` and process them.
xmodaler/utils/events.py:37
ClassFixLR
Fix LR
xmodaler/lr_scheduler/fix_lr.py:11
ClassFlickr30kDataset
xmodaler/datasets/images/flickr30k.py:20
ClassFlickr30kDatasetForSingleStream
xmodaler/datasets/images/flickr30k_single_stream.py:23
ClassFlickr30kDatasetForSingleStreamVal
xmodaler/datasets/images/flickr30k_single_stream.py:139
ClassGCNEncoder
xmodaler/modeling/encoder/gcn_encoder.py:18
ClassGTransformerEncoder
xmodaler/modeling/encoder/gtransformer_encoder.py:18
ClassGreedyDecoder
xmodaler/modeling/decode_strategy/greedy_decoder.py:16
ClassHookBase
Base class for hooks that can be registered with :class:`TrainerBase`. Each hook can implement 4 methods. The way they are called is demonst
xmodaler/engine/train_loop.py:22
ClassIterationTimer
Track the time spent for each iteration (each run_step call in the trainer). Print a summary in the end of training. This hook uses the
xmodaler/engine/hooks.py:106
next →1–100 of 184, ranked by callers