Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenNMT/CTranslate2
/ functions
Functions
2,508 in github.com/OpenNMT/CTranslate2
⨍
Functions
2,508
◇
Types & classes
601
↳
Endpoints
4
↓ 1 callers
Method
translate_raw_text_file
include/ctranslate2/translator.h:87
↓ 1 callers
Function
typestr_to_dtype
python/cpp/storage_view.cc:14
↓ 1 callers
Function
unary_transform
src/cpu/parallel.h:89
↓ 1 callers
Function
unescape
include/nlohmann/json.hpp:2989
↓ 1 callers
Function
unflatten_ids
src/decoding.cc:95
↓ 1 callers
Method
use_global_int16_scale
include/ctranslate2/models/model.h:107
↓ 1 callers
Function
validate_decoding_options
src/decoding.cc:1023
↓ 1 callers
Function
value
! @brief return the value of an iterator @pre The iterator is initialized; i.e. `m_object != nullptr`. */
include/nlohmann/json.hpp:13524
↓ 1 callers
Function
visit_spec
Recursively visits a layer spec.
python/ctranslate2/specs/model_spec.py:57
↓ 1 callers
Function
zero_first_timestep
src/layers/decoder.cc:13
Method
AdapterLayer
src/layers/wav2vec2bert.cc:98
Method
Alibi
src/layers/attention_layer.cc:346
Method
AlibiAdd
src/ops/alibi_add.cc:8
Method
AlignedAllocator
src/cpu/allocator.cc:18
Method
ApplyTimestampRules
src/models/whisper.cc:751
Method
AsyncResult
python/cpp/utils.h:65
Method
AttentionLayer
src/layers/attention_layer.cc:112
Method
BatchJob
include/ctranslate2/replica_pool.h:271
Method
BeamSearch
src/decoding.cc:411
Method
BiasAdd
src/ops/bias_add.cc:8
Method
BiasedDecoder
src/decoding.cc:256
Method
BufferedTranslationWrapper
src/buffered_translation_wrapper.cc:5
Method
CPU, float, int16_t>
src/ops/quantize_cpu.cc:44
Method
CPU, float, int8_t>
src/ops/quantize_cpu.cc:12
Method
CPU, float>
src/ops/conv1d_cpu.cc:10
Method
CPU, float>
src/ops/dequantize_cpu.cc:53
Method
CPU, int16_t, float>
src/ops/dequantize_cpu.cc:24
Method
CPU, int8_t, float>
src/ops/dequantize_cpu.cc:34
Method
CPU>
src/devices.cc:67
Method
CPU>
src/ops/flash_attention_cpu.cc:8
Method
CPU>
src/ops/topp_mask_cpu.cc:59
Method
CUDA>
src/devices.cc:79
Method
ComputeTypeResolver
python/cpp/utils.h:33
Method
Concat
src/ops/concat.cc:8
Method
Conv1D
src/ops/conv1d.cc:8
Method
Conv1D
src/layers/common.cc:475
Method
CubCachingAllocator
src/cuda/allocator.cc:36
Method
CublasHandle
src/cuda/utils.cc:102
Method
CudaStream
src/cuda/utils.cc:77
Method
CudnnHandle
src/cuda/utils.cc:135
Method
Decoder
src/layers/decoder.cc:29
Method
DecoderReplica
src/models/language_model.cc:105
Method
Dense
src/layers/common.cc:266
Method
Dequantize
src/ops/dequantize.cc:8
Method
DisableTokens
src/decoding_utils.cc:10
Method
Embeddings
src/layers/common.cc:49
Method
EncoderDecoderReplica
src/models/sequence_to_sequence.cc:133
Method
EncoderLayer
src/layers/wav2vec2bert.cc:6
Method
EncoderReplica
src/models/language_model.cc:340
Method
Example
include/ctranslate2/batch_reader.h:24
Method
FeedForwardNetwork
src/layers/transformer.cc:8
Method
FlashAttention
src/ops/flash_attention.cc:7
Method
FlashMultiHeadAttention
src/layers/flash_attention.cc:5
Method
GELU
src/ops/gelu.cc:8
Method
Gather
src/ops/gather.cc:44
Method
Gemm
src/ops/gemm.cc:28
Method
GenerationStepResult
include/ctranslate2/generation.h:105
Method
GetNoSpeechProbs
src/models/whisper.cc:200
Method
GreedySearch
src/decoding.cc:723
Method
GumbelMax
src/ops/gumbel_max.cc:8
Function
JSON_CATCH
include/nlohmann/json.hpp:19866
Function
JSON_INTERNAL_CATCH
include/nlohmann/json.hpp:21503
Method
JobQueue
src/thread_pool.cc:18
Method
LanguageModel
src/models/language_model.cc:8
Method
LayerNorm
src/ops/layer_norm.cc:8
Method
LayerNorm
src/layers/common.cc:445
Method
LogSoftMax
src/ops/softmax.cc:8
Method
Mask
include/ctranslate2/ops/flash-attention/mask.h:117
Method
MatMul
src/ops/matmul.cc:8
Method
Mean
src/ops/mean.cc:8
Method
MedianFilter
src/ops/median_filter.cc:8
Method
MergedMockModel
tests/attention_test.cc:137
Method
MklAllocator
src/cpu/allocator.cc:51
Method
MockModel
tests/attention_test.cc:6
Method
ModelFactory
include/ctranslate2/models/model_factory.h:29
Method
ModelFileReader
src/models/model_reader.cc:18
Method
ModelLoader
src/models/model.cc:817
Method
ModelMemoryReader
src/models/model_reader.cc:54
Method
ModelReplica
include/ctranslate2/models/model.h:235
Method
MultiHeadAttention
src/layers/attention.cc:297
Method
Multinomial
src/ops/multinomial.cc:8
Method
NoRepeatNgram
src/decoding_utils.cc:70
Function
PYBIND11_MODULE
python/cpp/module.cc:48
Method
Padder
src/padder.cc:7
Method
ParallelEmbeddings
src/layers/common.cc:84
Method
PositionEmbedding
src/layers/common.cc:182
Method
Profiler
src/profiler.cc:58
Method
Quantize
src/ops/quantize.cc:10
Method
RMSNorm
src/ops/rms_norm.cc:8
Method
RandomSampler
src/sampling.cc:35
Method
ReduceAll
src/ops/nccl_ops.cc:7
Method
RepetitionPenalty
src/decoding_utils.cc:38
Method
ReplicaPool
include/ctranslate2/replica_pool.h:28
Method
ReplicaPoolHelper
python/cpp/replica_pool.h:41
Method
ReplicaWorker
include/ctranslate2/replica_pool.h:307
Method
ResolveEndToken
include/ctranslate2/generation.h:140
Method
Rotary
src/ops/rotary.cc:8
Method
RotaryEmbeddings
src/layers/attention_layer.cc:177
Method
ScopeProfiler
src/profiler.cc:146
Method
ScopedDeviceSetter
include/ctranslate2/devices.h:34
← previous
next →
901–1,000 of 2,508, ranked by callers