MCPcopy Create free account

hub / github.com/OpenNMT/CTranslate2 / functions

Functions2,508 in github.com/OpenNMT/CTranslate2

↓ 1 callersMethodtranslate_raw_text_file
include/ctranslate2/translator.h:87
↓ 1 callersFunctiontypestr_to_dtype
python/cpp/storage_view.cc:14
↓ 1 callersFunctionunary_transform
src/cpu/parallel.h:89
↓ 1 callersFunctionunescape
include/nlohmann/json.hpp:2989
↓ 1 callersFunctionunflatten_ids
src/decoding.cc:95
↓ 1 callersMethoduse_global_int16_scale
include/ctranslate2/models/model.h:107
↓ 1 callersFunctionvalidate_decoding_options
src/decoding.cc:1023
↓ 1 callersFunctionvalue
! @brief return the value of an iterator @pre The iterator is initialized; i.e. `m_object != nullptr`. */
include/nlohmann/json.hpp:13524
↓ 1 callersFunctionvisit_spec
Recursively visits a layer spec.
python/ctranslate2/specs/model_spec.py:57
↓ 1 callersFunctionzero_first_timestep
src/layers/decoder.cc:13
MethodAdapterLayer
src/layers/wav2vec2bert.cc:98
MethodAlibi
src/layers/attention_layer.cc:346
MethodAlibiAdd
src/ops/alibi_add.cc:8
MethodAlignedAllocator
src/cpu/allocator.cc:18
MethodApplyTimestampRules
src/models/whisper.cc:751
MethodAsyncResult
python/cpp/utils.h:65
MethodAttentionLayer
src/layers/attention_layer.cc:112
MethodBatchJob
include/ctranslate2/replica_pool.h:271
MethodBeamSearch
src/decoding.cc:411
MethodBiasAdd
src/ops/bias_add.cc:8
MethodBiasedDecoder
src/decoding.cc:256
MethodBufferedTranslationWrapper
src/buffered_translation_wrapper.cc:5
MethodCPU, float, int16_t>
src/ops/quantize_cpu.cc:44
MethodCPU, float, int8_t>
src/ops/quantize_cpu.cc:12
MethodCPU, float>
src/ops/conv1d_cpu.cc:10
MethodCPU, float>
src/ops/dequantize_cpu.cc:53
MethodCPU, int16_t, float>
src/ops/dequantize_cpu.cc:24
MethodCPU, int8_t, float>
src/ops/dequantize_cpu.cc:34
MethodCPU>
src/devices.cc:67
MethodCPU>
src/ops/flash_attention_cpu.cc:8
MethodCPU>
src/ops/topp_mask_cpu.cc:59
MethodCUDA>
src/devices.cc:79
MethodComputeTypeResolver
python/cpp/utils.h:33
MethodConcat
src/ops/concat.cc:8
MethodConv1D
src/ops/conv1d.cc:8
MethodConv1D
src/layers/common.cc:475
MethodCubCachingAllocator
src/cuda/allocator.cc:36
MethodCublasHandle
src/cuda/utils.cc:102
MethodCudaStream
src/cuda/utils.cc:77
MethodCudnnHandle
src/cuda/utils.cc:135
MethodDecoder
src/layers/decoder.cc:29
MethodDecoderReplica
src/models/language_model.cc:105
MethodDense
src/layers/common.cc:266
MethodDequantize
src/ops/dequantize.cc:8
MethodDisableTokens
src/decoding_utils.cc:10
MethodEmbeddings
src/layers/common.cc:49
MethodEncoderDecoderReplica
src/models/sequence_to_sequence.cc:133
MethodEncoderLayer
src/layers/wav2vec2bert.cc:6
MethodEncoderReplica
src/models/language_model.cc:340
MethodExample
include/ctranslate2/batch_reader.h:24
MethodFeedForwardNetwork
src/layers/transformer.cc:8
MethodFlashAttention
src/ops/flash_attention.cc:7
MethodFlashMultiHeadAttention
src/layers/flash_attention.cc:5
MethodGELU
src/ops/gelu.cc:8
MethodGather
src/ops/gather.cc:44
MethodGemm
src/ops/gemm.cc:28
MethodGenerationStepResult
include/ctranslate2/generation.h:105
MethodGetNoSpeechProbs
src/models/whisper.cc:200
MethodGreedySearch
src/decoding.cc:723
MethodGumbelMax
src/ops/gumbel_max.cc:8
FunctionJSON_CATCH
include/nlohmann/json.hpp:19866
FunctionJSON_INTERNAL_CATCH
include/nlohmann/json.hpp:21503
MethodJobQueue
src/thread_pool.cc:18
MethodLanguageModel
src/models/language_model.cc:8
MethodLayerNorm
src/ops/layer_norm.cc:8
MethodLayerNorm
src/layers/common.cc:445
MethodLogSoftMax
src/ops/softmax.cc:8
MethodMask
include/ctranslate2/ops/flash-attention/mask.h:117
MethodMatMul
src/ops/matmul.cc:8
MethodMean
src/ops/mean.cc:8
MethodMedianFilter
src/ops/median_filter.cc:8
MethodMergedMockModel
tests/attention_test.cc:137
MethodMklAllocator
src/cpu/allocator.cc:51
MethodMockModel
tests/attention_test.cc:6
MethodModelFactory
include/ctranslate2/models/model_factory.h:29
MethodModelFileReader
src/models/model_reader.cc:18
MethodModelLoader
src/models/model.cc:817
MethodModelMemoryReader
src/models/model_reader.cc:54
MethodModelReplica
include/ctranslate2/models/model.h:235
MethodMultiHeadAttention
src/layers/attention.cc:297
MethodMultinomial
src/ops/multinomial.cc:8
MethodNoRepeatNgram
src/decoding_utils.cc:70
FunctionPYBIND11_MODULE
python/cpp/module.cc:48
MethodPadder
src/padder.cc:7
MethodParallelEmbeddings
src/layers/common.cc:84
MethodPositionEmbedding
src/layers/common.cc:182
MethodProfiler
src/profiler.cc:58
MethodQuantize
src/ops/quantize.cc:10
MethodRMSNorm
src/ops/rms_norm.cc:8
MethodRandomSampler
src/sampling.cc:35
MethodReduceAll
src/ops/nccl_ops.cc:7
MethodRepetitionPenalty
src/decoding_utils.cc:38
MethodReplicaPool
include/ctranslate2/replica_pool.h:28
MethodReplicaPoolHelper
python/cpp/replica_pool.h:41
MethodReplicaWorker
include/ctranslate2/replica_pool.h:307
MethodResolveEndToken
include/ctranslate2/generation.h:140
MethodRotary
src/ops/rotary.cc:8
MethodRotaryEmbeddings
src/layers/attention_layer.cc:177
MethodScopeProfiler
src/profiler.cc:146
MethodScopedDeviceSetter
include/ctranslate2/devices.h:34
← previousnext →901–1,000 of 2,508, ranked by callers