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
get_target_vocabulary_size
(self)
python/ctranslate2/specs/transformer_spec.py:594
Function
get_to
include/nlohmann/json.hpp:20987
Method
get_token
get next token from lexer
include/nlohmann/json.hpp:12559
Method
get_ubjson_array
! @return whether array creation completed */
include/nlohmann/json.hpp:11556
Method
get_ubjson_float_prefix
include/nlohmann/json.hpp:16520
Method
get_ubjson_high_precision_number
include/nlohmann/json.hpp:11747
Method
get_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
Method
get_ubjson_object
! @return whether object creation completed */
include/nlohmann/json.hpp:11664
Method
get_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
Method
get_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
Method
get_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
Method
get_ubjson_value
! @param prefix the previously read or set type prefix @return whether value creation completed */
include/nlohmann/json.hpp:11373
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:314
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:446
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:491
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:600
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:635
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:798
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:877
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:1003
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:1065
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:1134
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:1384
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:1459
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:1538
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:1635
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:1769
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:1960
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:2232
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:2441
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:2575
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:2720
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:2827
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:2880
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:2988
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:3120
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:3350
Method
get_vocabulary
(self, model, tokenizer)
python/ctranslate2/converters/transformers.py:4160
Method
get_vocabulary_size
(self)
python/ctranslate2/specs/transformer_spec.py:754
Method
get_vocabulary_size
(self)
python/ctranslate2/specs/transformer_spec.py:811
Method
get_vocabulary_size
(self)
python/ctranslate2/specs/wav2vec2_spec.py:44
Method
get_vocabulary_size
(self)
python/ctranslate2/specs/whisper_spec.py:64
Method
get_vocabulary_size
(self)
python/ctranslate2/specs/wav2vec2bert_spec.py:40
Method
half
Conversion constructor. \param rhs float to convert \exception FE_OVERFLOW, ...UNDERFLOW, ...INEXACT according to rounding
include/half_float/half.hpp:2069
Method
half denorm_min
Smallest positive subnormal value.
include/half_float/half.hpp:2430
Method
half epsilon
Difference between 1 and next representable value.
include/half_float/half.hpp:2414
Method
half infinity
Positive infinity.
include/half_float/half.hpp:2421
Method
half lowest
include/half_float/half.hpp:2328
Method
half max
Largest finite value.
include/half_float/half.hpp:2411
Method
half quiet_NaN
Quiet NaN.
include/half_float/half.hpp:2424
Method
half round_error
Maximum rounding error in ULP (units in the last place).
include/half_float/half.hpp:2417
Method
half signaling_NaN
Signaling NaN.
include/half_float/half.hpp:2427
Function
half2float
include/half_float/half.hpp:1303
Function
half2int
include/half_float/half.hpp:1317
Function
half_cast
include/half_float/half.hpp:4487
Method
half_t>
include/ctranslate2/ops/flash-attention/utils.h:36
Method
handle_value
include/nlohmann/json.hpp:7136
Method
has_positional_embeddings
include/ctranslate2/layers/flash_attention.h:34
Method
has_scores
include/ctranslate2/translation.h:139
Method
has_scores
include/ctranslate2/models/whisper.h:72
Function
has_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
Function
hypot
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
Function
hypot_post
include/half_float/half.hpp:1745
Method
idle
Called before waiting for new jobs.
include/ctranslate2/thread_pool.h:72
Method
idle
include/ctranslate2/replica_pool.h:349
Function
ilogb
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
Function
ilp_reduce
src/cuda/helpers.h:462
Method
im2col_transposed
src/ops/conv1d_cpu.cc:215
Method
imemstream
src/models/model_reader.cc:46
Method
indexed_fill
src/cpu/primitives.cc:60
Method
infer_compute_type
src/models/model.cc:371
Method
initialize
src/layers/attention_layer.cc:252
Method
initialize
src/models/wav2vec2.cc:26
Method
initialize
src/models/sequence_to_sequence.cc:60
Method
initialize
src/models/wav2vec2bert.cc:26
Method
initialize
src/models/language_model.cc:21
Method
initialize
src/models/transformer.cc:61
Method
initialize
Called before the work loop.
include/ctranslate2/thread_pool.h:66
Method
initialize
include/ctranslate2/replica_pool.h:339
Method
initialize
Runs some initialization after the model is loaded.
include/ctranslate2/models/model.h:171
Function
initialize_beam_scores
src/decoding.cc:84
Method
initialize_pool
include/ctranslate2/replica_pool.h:236
Method
input_size
include/ctranslate2/layers/wav2vec2bert.h:113
Method
input_size
include/ctranslate2/layers/wav2vec2.h:79
Method
input_size
include/ctranslate2/layers/whisper.h:26
Method
input_stream_adapter
include/nlohmann/json.hpp:6168
Function
insert
include/nlohmann/json.hpp:19204
Function
int2half
include/half_float/half.hpp:1076
Function
integral
include/half_float/half.hpp:849
Function
is_c_string
include/nlohmann/json.hpp:4094
Method
is_convertible
src/models/model.cc:300
Function
is_discarded
@brief return whether value is discarded @sa https://json.nlohmann.me/api/basic_json/is_discarded/
include/nlohmann/json.hpp:20550
Method
is_encoded
include/ctranslate2/layers/wav2vec2bert.h:117
Function
is_errored
include/nlohmann/json.hpp:6864
Method
is_linear_weight
src/models/wav2vec2.cc:41
Method
is_linear_weight
src/models/model.cc:292
Method
is_linear_weight
src/models/whisper.cc:40
Method
is_linear_weight
src/models/wav2vec2bert.cc:41
Method
is_linear_weight
src/models/transformer.cc:44
Method
is_multilingual
python/cpp/whisper.cc:14
← previous
next →
1,601–1,700 of 2,508, ranked by callers