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
Method
compute
src/ops/matmul.cc:20
Method
compute
src/ops/rotary_cpu.cc:43
Method
compute
src/ops/tile_cpu.cc:9
Method
compute
src/ops/gemm.cc:80
Method
compute
src/ops/layer_norm_cpu.cc:9
Method
compute
src/ops/mean_cpu.cc:10
Method
compute
src/ops/nccl_ops_cpu.cc:8
Method
compute
src/ops/topp_mask_cpu.cc:43
Method
compute
src/ops/concat_split_slide_cpu.cc:26
Method
compute
src/ops/awq/gemm_cpu.cc:6
Method
compute
include/ctranslate2/ops/mul.h:14
Method
compute
include/ctranslate2/ops/transpose.h:18
Method
compute
include/ctranslate2/ops/add.h:14
Method
compute
include/ctranslate2/ops/sub.h:14
Method
compute
include/ctranslate2/ops/log.h:14
Method
compute
include/ctranslate2/ops/relu.h:14
Method
compute
include/ctranslate2/ops/gelu.h:22
Method
compute
include/ctranslate2/ops/swish.h:14
Method
compute
include/ctranslate2/ops/min_max.h:14
Method
compute
include/ctranslate2/ops/min_max.h:30
Method
compute
include/ctranslate2/ops/sigmoid.h:14
Function
compute_attn
include/ctranslate2/ops/flash-attention/flash_fwd_kernel.h:1013
Function
compute_attn_1rowblock
include/ctranslate2/ops/flash-attention/flash_fwd_kernel.h:27
Function
compute_attn_1rowblock_splitkv
include/ctranslate2/ops/flash-attention/flash_fwd_kernel.h:445
Function
compute_attn_splitkv
include/ctranslate2/ops/flash-attention/flash_fwd_kernel.h:1034
Method
compute_gemv
src/ops/awq/gemv_cpu.cc:6
Method
compute_gemv2
src/ops/awq/gemv_cpu.cc:14
Method
compute_type
python/cpp/replica_pool.h:85
Method
compute_u8_compensation
src/cpu/primitives.cc:870
Method
compute_with_gemm
src/ops/conv1d_cpu.cc:141
Function
conditional_static_cast
include/nlohmann/json.hpp:3977
Method
config
(self)
python/ctranslate2/specs/transformer_spec.py:291
Method
config
The model configuration.
python/ctranslate2/specs/model_spec.py:346
Method
construct
include/nlohmann/json.hpp:5354
Method
construct
include/nlohmann/json.hpp:5367
Method
construct
include/nlohmann/json.hpp:5400
Method
construct
include/nlohmann/json.hpp:5422
Method
construct
include/nlohmann/json.hpp:5435
Method
construct
include/nlohmann/json.hpp:5448
Method
construct
include/nlohmann/json.hpp:5461
Method
construct
include/nlohmann/json.hpp:5531
Function
consume
src/models/model.cc:54
Method
consume_batches
include/ctranslate2/replica_pool.h:192
Method
consume_stream
include/ctranslate2/translator.h:314
Method
convert_and_store
src/cpu/vec.h:148
Method
convert_and_store
src/cpu/vec_avx512.h:150
Method
convert_and_store
src/cpu/vec_neon.h:171
Method
convert_and_store
src/cpu/vec_avx.h:197
Method
convert_bits_of_normal_or_zero
Converts the 32 bits of a normal float or zero to the bits of a bfloat16.
include/ctranslate2/bfloat16.h:64
Function
convert_layout_acc_Aregs
include/ctranslate2/ops/flash-attention/utils.h:200
Function
convert_layout_acc_dropout
include/ctranslate2/ops/flash-attention/utils.h:218
Function
convert_type
include/ctranslate2/ops/flash-attention/utils.h:229
Function
convert_type_relu
include/ctranslate2/ops/flash-attention/utils.h:257
Function
copy_rotary_contiguous
include/ctranslate2/ops/flash-attention/rotary.h:85
Function
copy_rotary_interleaved
include/ctranslate2/ops/flash-attention/rotary.h:22
Function
copy_w_min_idx
include/ctranslate2/ops/flash-attention/utils.h:368
Function
copysign
Take sign. See also:** Documentation for [std::copysign](https://en.cppreference.com/w/cpp/numeric/math/copysign). \param x value to change sign for \
include/half_float/half.hpp:4342
Method
cos
src/cpu/vec_avx512.h:98
Method
cos
src/cpu/primitives.cc:378
Method
cos
src/cpu/vec_neon.h:114
Method
cos
src/cpu/vec_avx.h:140
Function
cos<TARGET_ISA>
src/cpu/kernels.cc:230
Function
cosh
Hyperbolic cosine. This function is exact to rounding for all rounding modes. See also:** Documentation for [std::cosh](https://en.cppreference.com/w
include/half_float/half.hpp:3821
Function
count
include/nlohmann/json.hpp:19140
Function
cp_async_wait
include/ctranslate2/ops/flash-attention/utils.h:287
Method
create
include/nlohmann/json.hpp:4411
Method
create
include/nlohmann/json.hpp:4455
Method
create
include/nlohmann/json.hpp:4473
Method
create
include/nlohmann/json.hpp:4490
Method
create
include/nlohmann/json.hpp:4507
Method
create
include/nlohmann/json.hpp:6419
Method
create
include/nlohmann/json.hpp:6443
Method
create
include/nlohmann/json.hpp:6476
Method
create_from_model
src/models/wav2vec2.cc:50
Method
create_from_model
src/models/whisper.cc:49
Method
create_from_model
src/models/wav2vec2bert.cc:50
Method
create_from_model
include/ctranslate2/models/language_model.h:41
Method
create_from_model
include/ctranslate2/models/language_model.h:122
Method
create_from_model
include/ctranslate2/models/sequence_to_sequence.h:52
Function
create_view_from_array
python/cpp/storage_view.cc:58
Function
cublasCreate_v2
src/cuda/cublas_stub.cc:86
Function
cublasDestroy_v2
src/cuda/cublas_stub.cc:92
Function
cublasGemmEx
src/cuda/cublas_stub.cc:182
Function
cublasGemmStridedBatchedEx
src/cuda/cublas_stub.cc:224
Function
cublasGetMathMode
src/cuda/cublas_stub.cc:104
Function
cublasGetStatusName
src/cuda/utils.cc:41
Function
cublasSetStream_v2
src/cuda/cublas_stub.cc:98
Function
cublasSgemmStridedBatched
src/cuda/cublas_stub.cc:142
Function
cublasSgemm_v2
src/cuda/cublas_stub.cc:110
Method
cumulated_score
include/ctranslate2/scoring.h:22
Method
current_spec_revision
src/models/wav2vec2.cc:22
Method
current_spec_revision
src/models/whisper.cc:21
Method
current_spec_revision
src/models/wav2vec2bert.cc:22
Method
current_spec_revision
src/models/transformer.cc:40
Function
declare_async_wrapper
python/cpp/utils.h:123
Function
decode
! @brief check whether a string is UTF-8 encoded The function checks each byte of a string whether it is UTF-8 encoded. The result of the
include/nlohmann/json.hpp:18784
Method
decode
src/layers/transformer.cc:621
Function
decorator
(cls)
python/ctranslate2/converters/transformers.py:60
Method
dequantize
src/ops/awq/dequantize_cpu.cc:6
Function
dequantize_gemm_output<TARGET_ISA>
src/cpu/kernels.cc:725
← previous
next →
1,301–1,400 of 2,508, ranked by callers