MCPcopy Create free account

hub / github.com/OpenNMT/CTranslate2 / functions

Functions2,508 in github.com/OpenNMT/CTranslate2

Methodget_target_vocabulary_size
(self)
python/ctranslate2/specs/transformer_spec.py:594
Functionget_to
include/nlohmann/json.hpp:20987
Methodget_token
get next token from lexer
include/nlohmann/json.hpp:12559
Methodget_ubjson_array
! @return whether array creation completed */
include/nlohmann/json.hpp:11556
Methodget_ubjson_float_prefix
include/nlohmann/json.hpp:16520
Methodget_ubjson_high_precision_number
include/nlohmann/json.hpp:11747
Methodget_ubjson_ndarray_size
! @param[out] dim an integer vector storing the ND array dimensions @return whether reading ND array size vector is successful */
include/nlohmann/json.hpp:11018
Methodget_ubjson_object
! @return whether object creation completed */
include/nlohmann/json.hpp:11664
Methodget_ubjson_size_type
! @brief determine the type and size for a container In the optimized UBJSON format, a type and a size can be provided to allow for a mor
include/nlohmann/json.hpp:11306
Methodget_ubjson_size_value
! @param[out] result determined size @param[in,out] is_ndarray for input, `true` means already inside an ndarray vector
include/nlohmann/json.hpp:11083
Methodget_ubjson_string
! @brief reads a UBJSON string This function is either called after reading the 'S' byte explicitly indicating a string, or in case of an
include/nlohmann/json.hpp:10923
Methodget_ubjson_value
! @param prefix the previously read or set type prefix @return whether value creation completed */
include/nlohmann/json.hpp:11373
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:314
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:446
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:491
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:600
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:635
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:798
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:877
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:1003
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:1065
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:1134
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:1384
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:1459
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:1538
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:1635
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:1769
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:1960
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:2232
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:2441
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:2575
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:2720
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:2827
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:2880
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:2988
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:3120
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:3350
Methodget_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:4160
Methodget_vocabulary_size
(self)
python/ctranslate2/specs/transformer_spec.py:754
Methodget_vocabulary_size
(self)
python/ctranslate2/specs/transformer_spec.py:811
Methodget_vocabulary_size
(self)
python/ctranslate2/specs/wav2vec2_spec.py:44
Methodget_vocabulary_size
(self)
python/ctranslate2/specs/whisper_spec.py:64
Methodget_vocabulary_size
(self)
python/ctranslate2/specs/wav2vec2bert_spec.py:40
Methodhalf
Conversion constructor. \param rhs float to convert \exception FE_OVERFLOW, ...UNDERFLOW, ...INEXACT according to rounding
include/half_float/half.hpp:2069
Methodhalf denorm_min
Smallest positive subnormal value.
include/half_float/half.hpp:2430
Methodhalf epsilon
Difference between 1 and next representable value.
include/half_float/half.hpp:2414
Methodhalf infinity
Positive infinity.
include/half_float/half.hpp:2421
Methodhalf lowest
include/half_float/half.hpp:2328
Methodhalf max
Largest finite value.
include/half_float/half.hpp:2411
Methodhalf quiet_NaN
Quiet NaN.
include/half_float/half.hpp:2424
Methodhalf round_error
Maximum rounding error in ULP (units in the last place).
include/half_float/half.hpp:2417
Methodhalf signaling_NaN
Signaling NaN.
include/half_float/half.hpp:2427
Functionhalf2float
include/half_float/half.hpp:1303
Functionhalf2int
include/half_float/half.hpp:1317
Functionhalf_cast
include/half_float/half.hpp:4487
Methodhalf_t>
include/ctranslate2/ops/flash-attention/utils.h:36
Methodhandle_value
include/nlohmann/json.hpp:7136
Methodhas_positional_embeddings
include/ctranslate2/layers/flash_attention.h:34
Methodhas_scores
include/ctranslate2/translation.h:139
Methodhas_scores
include/ctranslate2/models/whisper.h:72
Functionhas_subtype
@brief return whether the value has a subtype @sa https://json.nlohmann.me/api/byte_container_with_subtype/has_subtype/
include/nlohmann/json.hpp:5882
Functionhypot
Hypotenuse function. This function is exact to rounding for all rounding modes. See also:** Documentation for [std::hypot](https://en.cppreference.co
include/half_float/half.hpp:3315
Functionhypot_post
include/half_float/half.hpp:1745
Methodidle
Called before waiting for new jobs.
include/ctranslate2/thread_pool.h:72
Methodidle
include/ctranslate2/replica_pool.h:349
Functionilogb
Extract exponent. See also:** Documentation for [std::ilogb](https://en.cppreference.com/w/cpp/numeric/math/ilogb). \param arg number to query \return
include/half_float/half.hpp:4247
Functionilp_reduce
src/cuda/helpers.h:462
Methodim2col_transposed
src/ops/conv1d_cpu.cc:215
Methodimemstream
src/models/model_reader.cc:46
Methodindexed_fill
src/cpu/primitives.cc:60
Methodinfer_compute_type
src/models/model.cc:371
Methodinitialize
src/layers/attention_layer.cc:252
Methodinitialize
src/models/wav2vec2.cc:26
Methodinitialize
src/models/sequence_to_sequence.cc:60
Methodinitialize
src/models/wav2vec2bert.cc:26
Methodinitialize
src/models/language_model.cc:21
Methodinitialize
src/models/transformer.cc:61
Methodinitialize
Called before the work loop.
include/ctranslate2/thread_pool.h:66
Methodinitialize
include/ctranslate2/replica_pool.h:339
Methodinitialize
Runs some initialization after the model is loaded.
include/ctranslate2/models/model.h:171
Functioninitialize_beam_scores
src/decoding.cc:84
Methodinitialize_pool
include/ctranslate2/replica_pool.h:236
Methodinput_size
include/ctranslate2/layers/wav2vec2bert.h:113
Methodinput_size
include/ctranslate2/layers/wav2vec2.h:79
Methodinput_size
include/ctranslate2/layers/whisper.h:26
Methodinput_stream_adapter
include/nlohmann/json.hpp:6168
Functioninsert
include/nlohmann/json.hpp:19204
Functionint2half
include/half_float/half.hpp:1076
Functionintegral
include/half_float/half.hpp:849
Functionis_c_string
include/nlohmann/json.hpp:4094
Methodis_convertible
src/models/model.cc:300
Functionis_discarded
@brief return whether value is discarded @sa https://json.nlohmann.me/api/basic_json/is_discarded/
include/nlohmann/json.hpp:20550
Methodis_encoded
include/ctranslate2/layers/wav2vec2bert.h:117
Functionis_errored
include/nlohmann/json.hpp:6864
Methodis_linear_weight
src/models/wav2vec2.cc:41
Methodis_linear_weight
src/models/model.cc:292
Methodis_linear_weight
src/models/whisper.cc:40
Methodis_linear_weight
src/models/wav2vec2bert.cc:41
Methodis_linear_weight
src/models/transformer.cc:44
Methodis_multilingual
python/cpp/whisper.cc:14
← previousnext →1,601–1,700 of 2,508, ranked by callers