MCPcopy Create free account

hub / github.com/OpenNMT/CTranslate2 / functions

Functions2,508 in github.com/OpenNMT/CTranslate2

Methodarchitecture_name
(self)
python/ctranslate2/converters/transformers.py:2912
Methodarchitecture_name
(self)
python/ctranslate2/converters/transformers.py:3084
Methodarchitecture_name
(self)
python/ctranslate2/converters/transformers.py:3233
Methodarchitecture_name
(self)
python/ctranslate2/converters/transformers.py:3291
Methodarchitecture_name
(self)
python/ctranslate2/converters/transformers.py:3370
Methodarchitecture_name
(self)
python/ctranslate2/converters/transformers.py:3452
Methodarchitecture_name
(self)
python/ctranslate2/converters/transformers.py:3534
Methodarchitecture_name
(self)
python/ctranslate2/converters/transformers.py:3810
Methodarchitecture_name
(self)
python/ctranslate2/converters/transformers.py:4072
Functionarea
include/half_float/half.hpp:1788
Functionarray_equal
(a, b)
python/tests/test_utils.py:31
Methodas_scalar
include/ctranslate2/storage_view.h:215
Methodas_sequence_encoder
src/models/transformer.cc:134
Methodas_sequence_generator
src/models/transformer.cc:111
Methodas_sequence_to_sequence
src/models/transformer.cc:82
Functionasin
Arc sine. This function is exact to rounding for all rounding modes. See also:** Documentation for [std::asin](https://en.cppreference.com/w/cpp/nume
include/half_float/half.hpp:3654
Functionasinh
Hyperbolic area sine. This function is exact to rounding for all rounding modes. See also:** Documentation for [std::asinh](https://en.cppreference.c
include/half_float/half.hpp:3880
Methodassert_model_is_ready
python/cpp/replica_pool.h:190
Functionatan
Arc tangent function. This function is exact to rounding for all rounding modes. See also:** Documentation for [std::atan](https://en.cppreference.co
include/half_float/half.hpp:3708
Functionatanh
Hyperbolic area tangent. This function is exact to rounding for all rounding modes. See also:** Documentation for [std::atanh](https://en.cppreferenc
include/half_float/half.hpp:3933
Functionavg_tokens
(generated_token)
tools/benchmark_tensor_parallel/benchmark.py:44
Functionback
@brief access the last element @sa https://json.nlohmann.me/api/basic_json/back/
include/nlohmann/json.hpp:21574
Functionbasic_json array
@brief explicitly create an array from an initializer list @sa https://json.nlohmann.me/api/basic_json/array/
include/nlohmann/json.hpp:20169
Functionbasic_json binary
@brief explicitly create a binary array (without subtype) @sa https://json.nlohmann.me/api/basic_json/binary/
include/nlohmann/json.hpp:20125
Functionbasic_json diff
@brief creates a diff as a JSON patch @sa https://json.nlohmann.me/api/basic_json/diff/
include/nlohmann/json.hpp:24126
Functionbasic_json from_bjdata
include/nlohmann/json.hpp:23674
Functionbasic_json from_bson
include/nlohmann/json.hpp:23704
Functionbasic_json from_cbor
include/nlohmann/json.hpp:23506
Functionbasic_json from_msgpack
include/nlohmann/json.hpp:23565
Functionbasic_json from_ubjson
include/nlohmann/json.hpp:23619
Functionbasic_json meta
@brief returns version information on the library @sa https://json.nlohmann.me/api/basic_json/meta/
include/nlohmann/json.hpp:19423
Functionbasic_json object
@brief explicitly create an object from an initializer list @sa https://json.nlohmann.me/api/basic_json/object/
include/nlohmann/json.hpp:20177
Functionbasic_json parse
include/nlohmann/json.hpp:23185
Methodbatch_size
src/layers/decoder.cc:64
Functionbeam_to_test_name
tests/translator_test.cc:18
Methodbfloat16_t
include/ctranslate2/bfloat16.h:21
Methodbfloat16_t>
include/ctranslate2/ops/flash-attention/utils.h:54
Functionbinary
include/nlohmann/json.hpp:6791
Methodbinary
include/nlohmann/json.hpp:6975
Methodbinary_reader
! @brief create a binary reader @param[in] adapter input adapter to read from */
include/nlohmann/json.hpp:9158
Functionbinary_transform
src/cpu/parallel.h:109
Functionbinary_transform
src/cuda/helpers.h:79
Methodbinary_writer
! @brief create a binary writer @param[in] adapter output adapter to write to */
include/nlohmann/json.hpp:14966
Methodbind_right
src/cuda/helpers.h:161
Methodbit_and
src/cpu/vec.h:55
Methodbit_and
src/cpu/vec_avx512.h:58
Methodbit_and
src/cpu/vec_neon.h:74
Methodbit_and
src/cpu/vec_avx.h:99
Functionbit_cast
include/ctranslate2/bfloat16.h:13
Methodbit_xor
src/cpu/vec.h:59
Methodbit_xor
src/cpu/vec_avx512.h:62
Methodbit_xor
src/cpu/vec_neon.h:78
Methodbit_xor
src/cpu/vec_avx.h:103
Functionblock_reduce
src/cuda/helpers.h:413
Functionboolean
include/nlohmann/json.hpp:6761
Methodboolean
include/nlohmann/json.hpp:6945
Methodbuffer_loop
src/buffered_translation_wrapper.cc:68
Functionbuild_layers_list
include/ctranslate2/layers/common.h:26
Functionbuild_optional_layer
include/ctranslate2/layers/common.h:17
Methodcalc_bson_array_size
! @return The size of the BSON-encoded array @a value */
include/nlohmann/json.hpp:16022
Methodcalc_bson_binary_size
! @return The size of the BSON-encoded binary array @a value */
include/nlohmann/json.hpp:16037
Methodcalc_bson_element_size
! @brief Calculates the size necessary to serialize the JSON value @a j with its @a name @return The calculated size for the BSON document ent
include/nlohmann/json.hpp:16079
Methodcalc_bson_entry_header_size
! @return The size of a BSON document entry header, including the id marker and the entry name size (and its null-terminator). */
include/nlohmann/json.hpp:15875
Methodcalc_bson_integer_size
! @return The size of the BSON-encoded integer @a value */
include/nlohmann/json.hpp:15952
Methodcalc_bson_object_size
! @brief Calculates the size of the BSON serialization of the given JSON-object @a j. @param[in] value JSON value to serialize
include/nlohmann/json.hpp:16174
Methodcalc_bson_string_size
! @return The size of the BSON-encoded string in @a value */
include/nlohmann/json.hpp:15922
Methodcalc_bson_unsigned_size
! @return The size of the BSON-encoded unsigned integer in @a j */
include/nlohmann/json.hpp:15980
Methodcan_get_job
src/thread_pool.cc:33
Methodcast
include/half_float/half.hpp:2298
Methodcast
include/half_float/half.hpp:2310
Methodcast
include/half_float/half.hpp:2318
Methodcast_impl
include/half_float/half.hpp:2301
Methodcast_impl
include/half_float/half.hpp:2313
Functioncbrt
Cubic root. This function is exact to rounding for all rounding modes. See also:** Documentation for [std::cbrt](https://en.cppreference.com/w/cpp/nu
include/half_float/half.hpp:3264
Functionceil
Nearest integer not less than half value. See also:** Documentation for [std::ceil](https://en.cppreference.com/w/cpp/numeric/math/ceil). \param arg h
include/half_float/half.hpp:4071
Methodcheck_arguments
src/ops/split.cc:80
Methodcheck_arguments
src/ops/slide.cc:41
Methodclear_cache
src/cuda/allocator.cc:71
Methodclear_cache
Clears the cache of each worker. This method is not thread-safe.
include/ctranslate2/replica_pool.h:141
Functionclear_subtype
@brief clears the binary subtype @sa https://json.nlohmann.me/api/byte_container_with_subtype/clear_subtype/
include/nlohmann/json.hpp:5889
Functionclear_transformers_cache
Clears the Transformers model cache after each test when running in a CI.
python/tests/test_transformers.py:14
Methodclone
src/models/wav2vec2.cc:45
Methodclone
src/models/whisper.cc:44
Methodclone
src/models/wav2vec2bert.cc:45
Methodclone
src/models/transformer.cc:92
Methodclone
tests/attention_test.cc:30
Methodclone
tests/attention_test.cc:151
Methodclone_models
python/cpp/replica_pool.h:173
Functioncombine_attn_seqk_parallel
include/ctranslate2/ops/flash-attention/flash_fwd_kernel.h:1048
Methodcombine_heads
src/layers/flash_attention.cc:157
Methodcombine_heads
src/layers/attention.cc:823
Methodcompensate_u8_input
src/ops/gemm.cc:170
Methodcompute
src/ops/rms_norm_cpu.cc:9
Methodcompute
src/ops/alibi_add_cpu.cc:9
Methodcompute
src/ops/topk_cpu.cc:13
Methodcompute
src/ops/multinomial_cpu.cc:27
Methodcompute
src/ops/softmax_cpu.cc:9
Methodcompute
src/ops/gather_cpu.cc:10
Methodcompute
src/ops/median_filter_cpu.cc:13
Methodcompute
src/ops/bias_add_cpu.cc:7
← previousnext →1,201–1,300 of 2,508, ranked by callers