MCPcopy Create free account

hub / github.com/NVIDIA/FasterTransformer / functions

Functions4,228 in github.com/NVIDIA/FasterTransformer

MethodVisionTransformerPluginCreator
src/fastertransformer/tensorrt_plugin/vit/ViTPlugin.cpp:350
MethodWeightQuantizeOp
src/fastertransformer/tf_op/bert/weight_quantize_op.cc:164
MethodWenetDecoder
src/fastertransformer/models/wenet/WenetDecoder.cc:115
MethodWenetDecoderLayerWeight
src/fastertransformer/models/wenet/WenetDecoderLayerWeight.cc:24
MethodWenetDecoderLayerWeight
src/fastertransformer/models/wenet/WenetDecoderLayerWeight.h:30
MethodWenetDecoderPlugin
src/fastertransformer/tensorrt_plugin/wenet/DecoderPlugin.h:126
MethodWenetDecoderPlugin
class WenetDecoderPlugin ---------------------------------------------------------------------------
src/fastertransformer/tensorrt_plugin/wenet/DecoderPlugin.cc:25
MethodWenetDecoderPluginCreator
src/fastertransformer/tensorrt_plugin/wenet/DecoderPlugin.cc:445
MethodWenetDecoderWeight
src/fastertransformer/models/wenet/WenetDecoderWeight.cc:24
MethodWenetDecoderWeight
src/fastertransformer/models/wenet/WenetDecoderWeight.h:33
MethodWenetEncoder
src/fastertransformer/models/wenet/WenetEncoder.cc:99
MethodWenetEncoderLayerWeight
src/fastertransformer/models/wenet/WenetEncoderLayerWeight.cc:25
MethodWenetEncoderLayerWeight
src/fastertransformer/models/wenet/WenetEncoderLayerWeight.h:51
MethodWenetEncoderPlugin
src/fastertransformer/tensorrt_plugin/wenet/EncoderPlugin.h:133
MethodWenetEncoderPlugin
class WenetEncoderPlugin ---------------------------------------------------------------------------
src/fastertransformer/tensorrt_plugin/wenet/EncoderPlugin.cc:26
MethodWenetEncoderPluginCreator
src/fastertransformer/tensorrt_plugin/wenet/EncoderPlugin.cc:494
MethodWenetEncoderWeight
src/fastertransformer/models/wenet/WenetEncoderWeight.h:39
MethodWenetEncoderWeight
src/fastertransformer/models/wenet/WenetEncoderWeight.cc:24
MethodWindowAttention
src/fastertransformer/layers/attention_layers/WindowAttention.cc:92
MethodXlnet
src/fastertransformer/models/xlnet/Xlnet.cc:48
MethodXlnetAttentionLayer
src/fastertransformer/layers/xlnet_attention_layers/XlnetAttentionLayer.cc:211
MethodXlnetLayerWeight
src/fastertransformer/models/xlnet/XlnetLayerWeight.h:34
Method_Int8Gemm
src/fastertransformer/utils/cublasMMWrapper.cc:970
Function__CUDA_HOSTDEVICE_FP8__ __nv_fp8_e4m3
Construct from wider FP types */ Note we do avoid constructor init-list because of special host/device * compilation rules */
tests/unittests/fp8_gemm_test/2022_03_21__fp8_stride_batch_example/include/cuda_fp8.hpp:714
Function__CUDA_HOSTDEVICE_FP8__ __nv_fp8_e5m2
Construct from wider FP types */ Note we do avoid constructor init-list because of special host/device * compilation rules */
tests/unittests/fp8_gemm_test/2022_03_21__fp8_stride_batch_example/include/cuda_fp8.hpp:527
Function__CUDA_HOSTDEVICE_FP8__ __nv_fp8x2_e4m3
Construct from wider types */
tests/unittests/fp8_gemm_test/2022_03_21__fp8_stride_batch_example/include/cuda_fp8.hpp:786
Function__CUDA_HOSTDEVICE_FP8__ __nv_fp8x2_e5m2
Construct from wider types */
tests/unittests/fp8_gemm_test/2022_03_21__fp8_stride_batch_example/include/cuda_fp8.hpp:599
Function__CUDA_HOSTDEVICE_FP8__ __nv_fp8x4_e4m3
Construct from wider types */
tests/unittests/fp8_gemm_test/2022_03_21__fp8_stride_batch_example/include/cuda_fp8.hpp:825
Function__CUDA_HOSTDEVICE_FP8__ __nv_fp8x4_e5m2
Construct from wider types */
tests/unittests/fp8_gemm_test/2022_03_21__fp8_stride_batch_example/include/cuda_fp8.hpp:650
Method__call__
(self, input_ids, seq_len, remove_padding=True)
examples/tensorflow/deberta/utils/ft_deberta.py:157
Method__call__
(self, input_ids, attention_mask, **kwargs)
examples/tensorflow/deberta/utils/ft_deberta.py:180
Method__call__
Reduces all input elements. Args: inputs: A list of ``tf.Tensor``. sequence_length: The length of each input, if reducing
examples/tensorflow/bert/utils/reducer.py:104
Method__call__
(self, inputs)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/layers/tensor_quantizer.py:171
Method__call__
Reduces all input elements. Args: inputs: A list of ``tf.Tensor``. sequence_length: The length of each input, if reducing
examples/tensorflow/decoder/utils/reducer.py:104
Method__call__
Reduces all input elements. Args: inputs: A list of ``tf.Tensor``. sequence_length: The length of each input, if reducing
examples/tensorflow/common_utils/reducer.py:104
Method__call__
(self, id)
examples/pytorch/bert/bert-quantization-sparsity/run_pretraining.py:82
Method__copy__
(self)
examples/pytorch/gptj/utils/reference_gptj.py:41
Method__delitem__
(self, key, value)
examples/pytorch/gptj/utils/reference_gptj.py:34
Method__getitem__
(self, index)
examples/pytorch/bert/bert-quantization-sparsity/run_pretraining.py:110
Method__getitem__
(self, idx)
examples/pytorch/gptneox/utils/gptneox.py:104
Method__getitem__
(self, idx)
examples/pytorch/gpt/bloom_lambada.py:62
Method__getitem__
(self, idx)
examples/pytorch/gpt/lambada_task_example.py:58
Method__getitem__
(self, idx)
examples/pytorch/gpt/utils/gpt_fp8.py:117
Method__getitem__
(self, idx)
examples/pytorch/gpt/utils/gpt.py:211
Function__half2_raw __nv_cvt_fp8x2_to_halfraw2
tests/unittests/fp8_gemm_test/2022_03_21__fp8_stride_batch_example/include/cuda_fp8.hpp:487
Function__half_raw __nv_cvt_fp8_to_halfraw
tests/unittests/fp8_gemm_test/2022_03_21__fp8_stride_batch_example/include/cuda_fp8.hpp:435
Method__init
(self)
examples/pytorch/bert/bert-quantization-sparsity/data/TextSharding.py:322
Method__init__
(self, methodName: str)
tests/longformer/py_longformer_unit_test.py:27
Method__init__
(self, plugin_path)
examples/tensorrt/vit/plugin_loader_int8.py:33
Method__init__
(self, plugin_path)
examples/tensorrt/vit/plugin_loader.py:30
Method__init__
( self, config, tensor_para_size=1, pipeline_para_size=1 )
examples/tensorflow/deberta/utils/ft_deberta.py:23
Method__init__
(self, lib_path, params)
examples/tensorflow/deberta/utils/ft_deberta.py:153
Method__init__
(self, ft_model, remove_padding=True)
examples/tensorflow/deberta/utils/ft_deberta.py:176
Method__init__
The arguments of Transformer layer (for both encoder and decoder). Args: beam_width: The beam_width size for beam search. This a
examples/tensorflow/bert/utils/common.py:23
Method__init__
(self)
examples/tensorflow/bert/utils/common.py:112
Method__init__
Initializes the position encoder. Args: reducer: A :class:`opennmt.layers.Reducer` to merge inputs and position encoding
examples/tensorflow/bert/utils/position.py:23
Method__init__
Constructs BertConfig. Args: vocab_size: Vocabulary size of `inputs_ids` in `BertModel`. hidden_size: Size of the encoder layers and
examples/tensorflow/bert/tensorflow_bert/my_modeling.py:37
Method__init__
Constructor for BertModel. Args: config: `BertConfig` instance. is_training: bool. true for training model, false for eval model. Con
examples/tensorflow/bert/tensorflow_bert/my_modeling.py:134
Method__init__
(self, config, is_training, input_tensor,
examples/tensorflow/bert/tensorflow_bert/profile_transformer_inference.py:45
Method__init__
(self, profile_name_pref)
examples/tensorflow/bert/tensorflow_bert/profile_util.py:24
Method__init__
(self, layer_num)
examples/tensorflow/bert/bert-quantization/run_squad.py:206
Method__init__
(self, global_batch_size, num_accumulation_steps, display_every=10, hvd_rank=-1)
examples/tensorflow/bert/bert-quantization/run_pretraining.py:121
Method__init__
(self, vocab_file, do_lower_case=True)
examples/tensorflow/bert/bert-quantization/tokenization.py:150
Method__init__
(self, vocab_file, do_lower_case=True)
examples/tensorflow/bert/bert-quantization/tokenization.py:174
Method__init__
Constructs a BasicTokenizer. Args: do_lower_case: Whether to lower case the input.
examples/tensorflow/bert/bert-quantization/tokenization.py:242
Method__init__
(self, vocab, unk_token="[UNK]", max_input_chars_per_word=100)
examples/tensorflow/bert/bert-quantization/tokenization.py:355
Method__init__
Constructs a AdamWeightDecayOptimizer.
examples/tensorflow/bert/bert-quantization/optimization.py:183
Method__init__
Constructs BertConfig. Args: vocab_size: Vocabulary size of `inputs_ids` in `BertModel`. hidden_size: Size of the encoder layers and
examples/tensorflow/bert/bert-quantization/modeling.py:39
Method__init__
Constructor for BertModel. Args: config: `BertConfig` instance. is_training: bool. true for training model, false for eval model. Con
examples/tensorflow/bert/bert-quantization/modeling.py:136
Method__init__
(self, unique_id, text_a, text_b)
examples/tensorflow/bert/bert-quantization/extract_features.py:83
Method__init__
(self, unique_id, tokens, input_ids, input_mask, input_type_ids)
examples/tensorflow/bert/bert-quantization/extract_features.py:92
Method__init__
(self, tokens, segment_ids, masked_lm_positions, masked_lm_labels, is_random_next)
examples/tensorflow/bert/bert-quantization/utils/create_pretraining_data.py:40
Method__init__
(self, global_batch_size, hvd_rank=-1)
examples/tensorflow/bert/bert-quantization/utils/utils.py:19
Method__init__
(self, global_batch_size, hvd_rank=-1, save_checkpoints_steps=1000)
examples/tensorflow/bert/bert-quantization/utils/utils.py:44
Method__init__
Constructs a InputExample. Args: guid: Unique id for the example. text_a: string. The untokenized text of the first sequence. For sing
examples/tensorflow/bert/bert-quantization/utils/create_glue_data.py:72
Method__init__
(self, input_ids, input_mask, segment_ids, label_i
examples/tensorflow/bert/bert-quantization/utils/create_glue_data.py:103
Method__init__
(self)
examples/tensorflow/bert/bert-quantization/utils/create_glue_data.py:149
Method__init__
(self, qas_id, question_text, doc_tokens, orig_ans
examples/tensorflow/bert/bert-quantization/utils/create_squad_data.py:90
Method__init__
(self, unique_id, example_index, doc_span_index, t
examples/tensorflow/bert/bert-quantization/utils/create_squad_data.py:126
Method__init__
(self, filename, is_training)
examples/tensorflow/bert/bert-quantization/utils/create_squad_data.py:475
Method__init__
(self, collection_name_prefix, num_bits=8, **kwargs)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/layers/tensor_quantizer.py:60
Method__init__
(self, quant_desc: QuantDescriptor, scope_name="tensor_quantizer", if_quant=True)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/layers/tensor_quantizer.py:142
Method__init__
(self, units, activation=None, use_bias=True, kern
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/layers/dense.py:61
Method__init__
(self, axis=None, track_minmax=False)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/max.py:35
Method__init__
(self, tensor_name_prefix, collector, quant_min_name, quant_max_name, calib_tensor_name)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/calibrator.py:52
Method__init__
(self, num_bins=2048, grow_method='append', skip_zeros=False, affine=False)
examples/tensorflow/bert/bert-quantization/ft-tensorflow-quantization/ft_tensorflow_quantization/python/calib/histogram.py:40
Method__init__
(self, token_op, length_op, name)
examples/tensorflow/decoding/translate_example.py:267
Method__init__
(self, encoder, bpe_merges, errors='replace')
examples/tensorflow/gpt/utils/gpt_token_encoder.py:81
Method__init__
(self)
examples/tensorflow/decoder/utils/beam_search.py:75
Method__init__
(self)
examples/tensorflow/decoder/utils/beam_search.py:83
Method__init__
inputs: diversity: int scalar, >= 0 if diversity_rate == 0, then it is equivalent to beam_search
examples/tensorflow/decoder/utils/beam_search.py:107
Method__init__
The arguments of Transformer layer (for both encoder and decoder). Args: beam_width: The beam_width size for beam search. This a
examples/tensorflow/decoder/utils/common.py:23
Method__init__
The arguments of Decoding. Decoding is the function which contains the whole translation process. For example, the embedding lookup, posi
examples/tensorflow/decoder/utils/common.py:76
Method__init__
The arguments of Decoding with beam search. Most arguments are similar to DecodingArgument except the beam_search_diversity_rate. Ar
examples/tensorflow/decoder/utils/common.py:103
Method__init__
The arguments of Decoding with sampling. Most arguments are similar to DecodingArgument except the top_k and top_p. Args: vo
examples/tensorflow/decoder/utils/common.py:137
Method__init__
The arguments of Decoding with sampling. Most arguments are similar to DecodingArgument except the top_k and top_p. Args: vo
examples/tensorflow/decoder/utils/common.py:180
Method__init__
The arguments of Decoding. Decoding is the function which contains the whole translation process. For example, the embedding lookup, posi
examples/tensorflow/decoder/utils/common.py:215
Method__init__
(self, sample_method)
examples/tensorflow/decoder/utils/sampling.py:19
Method__init__
Initializes the position encoder. Args: reducer: A :class:`opennmt.layers.Reducer` to merge inputs and position encoding
examples/tensorflow/decoder/utils/position.py:23
Method__init__
The arguments of Transformer layer (for both encoder and decoder). Args: beam_width: The beam_width size for beam search. This a
examples/tensorflow/common_utils/common.py:21
← previousnext →1,801–1,900 of 4,228, ranked by callers