MCPcopy Create free account

hub / github.com/OpenNMT/CTranslate2 / types & classes

Types & classes601 in github.com/OpenNMT/CTranslate2

↓ 270 callersClasshalf
include/half_float/half.hpp:434
↓ 46 callersClassStorageView
This class is a light wrapper around an allocated buffer which adds shape information. 1. it can be resized, reshaped, copied, and assigned; 2. it ca
include/ctranslate2/storage_view.h:53
↓ 37 callersClassf31
Class for 1.31 unsigned floating-point computation
include/half_float/half.hpp:1838
↓ 33 callersClassGather
include/ctranslate2/ops/gather.h:8
↓ 26 callersClassSplit
include/ctranslate2/ops/split.h:8
↓ 25 callersClassAdd
include/ctranslate2/ops/add.h:8
↓ 20 callersClassMul
include/ctranslate2/ops/mul.h:8
↓ 18 callersClassConcat
include/ctranslate2/ops/concat.h:8
↓ 18 callersClassSoftMax
include/ctranslate2/ops/softmax.h:8
↓ 12 callersClassLogSoftMax
include/ctranslate2/ops/softmax.h:26
↓ 12 callersClassTranslationOptions
include/ctranslate2/translation.h:11
↓ 11 callersClassTranspose
include/ctranslate2/ops/transpose.h:8
↓ 10 callersClassConv1D
include/ctranslate2/ops/conv1d.h:9
↓ 9 callersClassScoringOptions
include/ctranslate2/scoring.h:12
↓ 9 callersClassout_of_range
@brief exception indicating access out of the defined range @sa https://json.nlohmann.me/api/basic_json/out_of_range/
include/nlohmann/json.hpp:4486
↓ 7 callersClassImage
tools/benchmark/benchmark_all.py:32
↓ 7 callersClassSpec
python/tests/test_spec.py:17
↓ 6 callersClassQuantize
include/ctranslate2/ops/quantize.h:8
↓ 6 callersClassTile
include/ctranslate2/ops/tile.h:8
↓ 5 callersClassCos
include/ctranslate2/ops/cos.h:8
↓ 5 callersClassMean
include/ctranslate2/ops/mean.h:8
↓ 5 callersClassNumpyVariable
Model variable as a Numpy array.
python/ctranslate2/specs/model_spec.py:672
↓ 5 callersClassSin
include/ctranslate2/ops/sin.h:8
↓ 5 callersClassbinary_t
Tag type for binary construction.
include/half_float/half.hpp:533
↓ 5 callersClassdiyfp
include/nlohmann/json.hpp:16840
↓ 5 callersClassidentity
src/cpu/kernels.h:123
↓ 3 callersClassDequantize
include/ctranslate2/ops/dequantize.h:9
↓ 3 callersClassLayerNorm
include/ctranslate2/layers/common.h:157
↓ 3 callersClassLog
include/ctranslate2/ops/log.h:8
↓ 3 callersClassMedianFilter
include/ctranslate2/ops/median_filter.h:8
↓ 3 callersClassSubSpec
python/tests/test_spec.py:13
↓ 3 callersClassVocabularyInfo
include/ctranslate2/vocabulary.h:10
↓ 3 callersClassWav2Vec2BertFeedForwardSpec
python/ctranslate2/specs/wav2vec2bert_spec.py:44
↓ 2 callersClassAllocator
include/ctranslate2/allocator.h:7
↓ 2 callersClassFeedForwardSpec
python/ctranslate2/specs/transformer_spec.py:443
↓ 2 callersClassGenerationOptions
include/ctranslate2/generation.h:14
↓ 2 callersClassGenerationStepResult
include/ctranslate2/generation.h:12
↓ 2 callersClassPositionEncoderSpec
python/ctranslate2/specs/transformer_spec.py:452
↓ 2 callersClassResolveEndToken
include/ctranslate2/generation.h:135
↓ 2 callersClassSqueeze
include/ctranslate2/ops/squeeze.h:10
↓ 2 callersClassSum
include/ctranslate2/ops/sum.h:9
↓ 2 callersClassTanh
include/ctranslate2/ops/tanh.h:8
↓ 2 callersClassTopK
include/ctranslate2/ops/topk.h:8
↓ 2 callersClassTransformerDecoderSpec
python/ctranslate2/specs/transformer_spec.py:117
↓ 2 callersClassUnsqueeze
include/ctranslate2/ops/unsqueeze.h:10
↓ 2 callersClassValueType
include/nlohmann/json.hpp:21388
↓ 2 callersClassVocabulary
Implements a standard indexed vocabulary.
include/ctranslate2/vocabulary.h:17
↓ 2 callersClassWav2Vec2LayerNormConvLayer
python/ctranslate2/specs/wav2vec2_spec.py:48
↓ 2 callersClassgelu_func
src/cpu/kernels.cc:154
↓ 2 callersClassgelu_sigmoid_func
src/cpu/kernels.cc:179
↓ 2 callersClassgelu_tanh_func
src/cpu/kernels.cc:165
↓ 2 callersClassinput_stream_adapter
! Input adapter for a (caching) istream. Ignores a UFT Byte Order Mark at beginning of input. Does not support changing the underlying std::streambuf
include/nlohmann/json.hpp:6153
↓ 2 callersClasssigmoid_func
src/cpu/kernels.cc:187
↓ 2 callersClassswish_func
src/cpu/kernels.cc:194
↓ 2 callersClasstype_error
@brief exception indicating executing a member function with a wrong type @sa https://json.nlohmann.me/api/basic_json/type_error/
include/nlohmann/json.hpp:4469
↓ 1 callersClassAdapterSpec
python/ctranslate2/specs/wav2vec2bert_spec.py:75
↓ 1 callersClassAsyncGenerator
python/ctranslate2/extensions.py:433
↓ 1 callersClassBenchmarkResult
tools/benchmark_tensor_parallel/benchmark.py:14
↓ 1 callersClassBenchmarkResult
tools/benchmark/benchmark.py:174
↓ 1 callersClassBestSampler
include/ctranslate2/sampling.h:25
↓ 1 callersClassComputeTypeResolver
python/cpp/utils.h:28
↓ 1 callersClassDecodingOptions
include/ctranslate2/decoding.h:139
↓ 1 callersClassDequantizeAwq
include/ctranslate2/ops/awq/dequantize_awq.h:8
↓ 1 callersClassDeviceIndexResolver
python/cpp/utils.h:51
↓ 1 callersClassEncoderSpec
python/ctranslate2/specs/wav2vec2bert_spec.py:52
↓ 1 callersClassEoleConverter
Converts models generated by OpenNMT-py.
python/ctranslate2/converters/eole_ct2.py:151
↓ 1 callersClassExample
An example is a collection of sequences or streams (e.g. source and target).
include/ctranslate2/batch_reader.h:21
↓ 1 callersClassFairseqConverter
Converts models trained with Fairseq.
python/ctranslate2/converters/fairseq.py:104
↓ 1 callersClassGELU
include/ctranslate2/ops/gelu.h:8
↓ 1 callersClassGatherAll
include/ctranslate2/ops/nccl_ops.h:26
↓ 1 callersClassLanguageModelConfig
Configuration for language models.
python/ctranslate2/specs/model_spec.py:552
↓ 1 callersClassMarianConverter
Converts models trained with Marian.
python/ctranslate2/converters/marian.py:22
↓ 1 callersClassMatMul
include/ctranslate2/ops/matmul.h:8
↓ 1 callersClassMax
include/ctranslate2/ops/min_max.h:24
↓ 1 callersClassMin
include/ctranslate2/ops/min_max.h:8
↓ 1 callersClassModelFileReader
include/ctranslate2/models/model_reader.h:29
↓ 1 callersClassMultinomial
Implements multinomial sampling with replacement.
include/ctranslate2/ops/multinomial.h:9
↓ 1 callersClassOpenAIGPT2Converter
Converts GPT-2 models from https://github.com/openai/gpt-2.
python/ctranslate2/converters/openai_gpt2.py:9
↓ 1 callersClassOpenNMTPyConverter
Converts models generated by OpenNMT-py.
python/ctranslate2/converters/opennmt_py.py:163
↓ 1 callersClassOpusMTConverter
Converts models trained with OPUS-MT.
python/ctranslate2/converters/opus_mt.py:9
↓ 1 callersClassPyTorchVariable
Model variable as a PyTorch tensor.
python/ctranslate2/specs/model_spec.py:718
↓ 1 callersClassRMSNorm
include/ctranslate2/ops/rms_norm.h:8
↓ 1 callersClassReLU
include/ctranslate2/ops/relu.h:8
↓ 1 callersClassScopeProfile
src/profiler.cc:36
↓ 1 callersClassScopedDeviceSetter
include/ctranslate2/devices.h:32
↓ 1 callersClassScopedMPISetter
include/ctranslate2/devices.h:59
↓ 1 callersClassSequenceToSequenceModelConfig
Configuration for sequence-to-sequence models.
python/ctranslate2/specs/model_spec.py:426
↓ 1 callersClassSigmoid
include/ctranslate2/ops/sigmoid.h:8
↓ 1 callersClassSlide
include/ctranslate2/ops/slide.h:8
↓ 1 callersClassSub
include/ctranslate2/ops/sub.h:8
↓ 1 callersClassSwish
include/ctranslate2/ops/swish.h:8
↓ 1 callersClassThreadPool
A pool of threads.
include/ctranslate2/thread_pool.h:81
↓ 1 callersClassTopPMask
include/ctranslate2/ops/topp_mask.h:10
↓ 1 callersClassTorchModel
python/tests/test_spec.py:291
↓ 1 callersClassTransformerConfig
Configuration for Transformer models.
python/ctranslate2/specs/transformer_spec.py:457
↓ 1 callersClassTransformerDecoderLayerSpec
python/ctranslate2/specs/transformer_spec.py:346
↓ 1 callersClassTransformerDecoderModelConfig
Configuration for Transformer decoder models.
python/ctranslate2/specs/transformer_spec.py:598
↓ 1 callersClassTransformerDecoderSpecBuilder
python/ctranslate2/converters/opennmt_tf.py:322
↓ 1 callersClassTransformerEncoderLayerSpec
python/ctranslate2/specs/transformer_spec.py:295
↓ 1 callersClassTransformerEncoderModelConfig
Configuration for Transformer encoder models.
python/ctranslate2/specs/transformer_spec.py:758
next →1–100 of 601, ranked by callers