MCPcopy Create free account

hub / github.com/OpenNMT/CTranslate2 / functions

Functions2,508 in github.com/OpenNMT/CTranslate2

Methodcompute
src/ops/matmul.cc:20
Methodcompute
src/ops/rotary_cpu.cc:43
Methodcompute
src/ops/tile_cpu.cc:9
Methodcompute
src/ops/gemm.cc:80
Methodcompute
src/ops/layer_norm_cpu.cc:9
Methodcompute
src/ops/mean_cpu.cc:10
Methodcompute
src/ops/nccl_ops_cpu.cc:8
Methodcompute
src/ops/topp_mask_cpu.cc:43
Methodcompute
src/ops/concat_split_slide_cpu.cc:26
Methodcompute
src/ops/awq/gemm_cpu.cc:6
Methodcompute
include/ctranslate2/ops/mul.h:14
Methodcompute
include/ctranslate2/ops/transpose.h:18
Methodcompute
include/ctranslate2/ops/add.h:14
Methodcompute
include/ctranslate2/ops/sub.h:14
Methodcompute
include/ctranslate2/ops/log.h:14
Methodcompute
include/ctranslate2/ops/relu.h:14
Methodcompute
include/ctranslate2/ops/gelu.h:22
Methodcompute
include/ctranslate2/ops/swish.h:14
Methodcompute
include/ctranslate2/ops/min_max.h:14
Methodcompute
include/ctranslate2/ops/min_max.h:30
Methodcompute
include/ctranslate2/ops/sigmoid.h:14
Functioncompute_attn
include/ctranslate2/ops/flash-attention/flash_fwd_kernel.h:1013
Functioncompute_attn_1rowblock
include/ctranslate2/ops/flash-attention/flash_fwd_kernel.h:27
Functioncompute_attn_1rowblock_splitkv
include/ctranslate2/ops/flash-attention/flash_fwd_kernel.h:445
Functioncompute_attn_splitkv
include/ctranslate2/ops/flash-attention/flash_fwd_kernel.h:1034
Methodcompute_gemv
src/ops/awq/gemv_cpu.cc:6
Methodcompute_gemv2
src/ops/awq/gemv_cpu.cc:14
Methodcompute_type
python/cpp/replica_pool.h:85
Methodcompute_u8_compensation
src/cpu/primitives.cc:870
Methodcompute_with_gemm
src/ops/conv1d_cpu.cc:141
Functionconditional_static_cast
include/nlohmann/json.hpp:3977
Methodconfig
(self)
python/ctranslate2/specs/transformer_spec.py:291
Methodconfig
The model configuration.
python/ctranslate2/specs/model_spec.py:346
Methodconstruct
include/nlohmann/json.hpp:5354
Methodconstruct
include/nlohmann/json.hpp:5367
Methodconstruct
include/nlohmann/json.hpp:5400
Methodconstruct
include/nlohmann/json.hpp:5422
Methodconstruct
include/nlohmann/json.hpp:5435
Methodconstruct
include/nlohmann/json.hpp:5448
Methodconstruct
include/nlohmann/json.hpp:5461
Methodconstruct
include/nlohmann/json.hpp:5531
Functionconsume
src/models/model.cc:54
Methodconsume_batches
include/ctranslate2/replica_pool.h:192
Methodconsume_stream
include/ctranslate2/translator.h:314
Methodconvert_and_store
src/cpu/vec.h:148
Methodconvert_and_store
src/cpu/vec_avx512.h:150
Methodconvert_and_store
src/cpu/vec_neon.h:171
Methodconvert_and_store
src/cpu/vec_avx.h:197
Methodconvert_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
Functionconvert_layout_acc_Aregs
include/ctranslate2/ops/flash-attention/utils.h:200
Functionconvert_layout_acc_dropout
include/ctranslate2/ops/flash-attention/utils.h:218
Functionconvert_type
include/ctranslate2/ops/flash-attention/utils.h:229
Functionconvert_type_relu
include/ctranslate2/ops/flash-attention/utils.h:257
Functioncopy_rotary_contiguous
include/ctranslate2/ops/flash-attention/rotary.h:85
Functioncopy_rotary_interleaved
include/ctranslate2/ops/flash-attention/rotary.h:22
Functioncopy_w_min_idx
include/ctranslate2/ops/flash-attention/utils.h:368
Functioncopysign
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
Methodcos
src/cpu/vec_avx512.h:98
Methodcos
src/cpu/primitives.cc:378
Methodcos
src/cpu/vec_neon.h:114
Methodcos
src/cpu/vec_avx.h:140
Functioncos<TARGET_ISA>
src/cpu/kernels.cc:230
Functioncosh
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
Functioncount
include/nlohmann/json.hpp:19140
Functioncp_async_wait
include/ctranslate2/ops/flash-attention/utils.h:287
Methodcreate
include/nlohmann/json.hpp:4411
Methodcreate
include/nlohmann/json.hpp:4455
Methodcreate
include/nlohmann/json.hpp:4473
Methodcreate
include/nlohmann/json.hpp:4490
Methodcreate
include/nlohmann/json.hpp:4507
Methodcreate
include/nlohmann/json.hpp:6419
Methodcreate
include/nlohmann/json.hpp:6443
Methodcreate
include/nlohmann/json.hpp:6476
Methodcreate_from_model
src/models/wav2vec2.cc:50
Methodcreate_from_model
src/models/whisper.cc:49
Methodcreate_from_model
src/models/wav2vec2bert.cc:50
Methodcreate_from_model
include/ctranslate2/models/language_model.h:41
Methodcreate_from_model
include/ctranslate2/models/language_model.h:122
Methodcreate_from_model
include/ctranslate2/models/sequence_to_sequence.h:52
Functioncreate_view_from_array
python/cpp/storage_view.cc:58
FunctioncublasCreate_v2
src/cuda/cublas_stub.cc:86
FunctioncublasDestroy_v2
src/cuda/cublas_stub.cc:92
FunctioncublasGemmEx
src/cuda/cublas_stub.cc:182
FunctioncublasGemmStridedBatchedEx
src/cuda/cublas_stub.cc:224
FunctioncublasGetMathMode
src/cuda/cublas_stub.cc:104
FunctioncublasGetStatusName
src/cuda/utils.cc:41
FunctioncublasSetStream_v2
src/cuda/cublas_stub.cc:98
FunctioncublasSgemmStridedBatched
src/cuda/cublas_stub.cc:142
FunctioncublasSgemm_v2
src/cuda/cublas_stub.cc:110
Methodcumulated_score
include/ctranslate2/scoring.h:22
Methodcurrent_spec_revision
src/models/wav2vec2.cc:22
Methodcurrent_spec_revision
src/models/whisper.cc:21
Methodcurrent_spec_revision
src/models/wav2vec2bert.cc:22
Methodcurrent_spec_revision
src/models/transformer.cc:40
Functiondeclare_async_wrapper
python/cpp/utils.h:123
Functiondecode
! @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
Methoddecode
src/layers/transformer.cc:621
Functiondecorator
(cls)
python/ctranslate2/converters/transformers.py:60
Methoddequantize
src/ops/awq/dequantize_cpu.cc:6
Functiondequantize_gemm_output<TARGET_ISA>
src/cpu/kernels.cc:725
← previousnext →1,301–1,400 of 2,508, ranked by callers