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
Function
generator_score_iterable
Scores an iterable of tokenized examples. This method is built on top of :meth:`ctranslate2.Generator.score_batch` to efficiently score an ar
python/ctranslate2/extensions.py:167
Method
get
src/cuda/utils.cc:111
Method
get
src/cuda/utils.cc:144
Method
getHostHash
src/devices.cc:169
Method
getHostName
src/devices.cc:178
Method
getLocalRank
src/devices.cc:227
Method
getNRanks
src/devices.cc:219
Method
getNcclComm
src/devices.cc:188
Method
get_4d
tests/attention_test.cc:48
Method
get_attribute
include/ctranslate2/models/model.h:128
Method
get_attribute_with_default
include/ctranslate2/models/model.h:136
Method
get_attribute_with_default
include/ctranslate2/models/model.h:200
Method
get_batch_index
include/ctranslate2/decoding_utils.h:90
Function
get_batch_results_helper
include/ctranslate2/utils.h:58
Function
get_block_size
src/cuda/helpers.h:402
Method
get_bson_binary
include/nlohmann/json.hpp:9319
Method
get_bson_cstr
! @brief Parses a C-style string from the BSON input. @param[in,out] result A reference to the string variable where the read
include/nlohmann/json.hpp:9267
Method
get_bson_string
include/nlohmann/json.hpp:9297
Method
get_cbor_array
! @param[in] len the length of the array or static_cast<std::size_t>(-1) for an array of indefinite size @param[in] tag_h
include/nlohmann/json.hpp:10176
Method
get_cbor_binary
! @brief reads a CBOR byte array This function first reads starting bytes to determine the expected byte array length and then copies thi
include/nlohmann/json.hpp:10081
Method
get_cbor_float_prefix
include/nlohmann/json.hpp:16205
Method
get_cbor_object
! @param[in] len the length of the object or static_cast<std::size_t>(-1) for an object of indefinite size @param[in] tag
include/nlohmann/json.hpp:10214
Method
get_cbor_string
! @brief reads a CBOR string This function first reads starting bytes to determine the expected string length and then copies this number
include/nlohmann/json.hpp:9985
Function
get_character
include/nlohmann/json.hpp:6133
Method
get_character
include/nlohmann/json.hpp:6217
Method
get_character
include/nlohmann/json.hpp:6376
Method
get_codepoint
! @brief get codepoint from 4 hex characters following `\u` For input "\u c1 c2 c3 c4" the codepoint is: (c1 * 0x1000) + (c2 * 0x0100)
include/nlohmann/json.hpp:7470
Function
get_cublas_handle
src/cuda/utils.cc:127
Function
get_cudnn_data_type
src/cuda/utils.cc:157
Function
get_cudnn_handle
src/cuda/utils.cc:152
Method
get_decimal_point
return the locale-dependent decimal point
include/nlohmann/json.hpp:7443
Method
get_default_config
(self)
python/ctranslate2/specs/transformer_spec.py:588
Method
get_default_config
(self)
python/ctranslate2/specs/transformer_spec.py:751
Method
get_default_config
(self)
python/ctranslate2/specs/transformer_spec.py:808
Method
get_default_config
(self)
python/ctranslate2/specs/wav2vec2_spec.py:41
Method
get_default_config
(self)
python/ctranslate2/specs/whisper_spec.py:61
Method
get_default_config
(self)
python/ctranslate2/specs/model_spec.py:475
Method
get_default_config
(self)
python/ctranslate2/specs/model_spec.py:586
Method
get_default_config
(self)
python/ctranslate2/specs/wav2vec2bert_spec.py:37
Method
get_enum_value
include/ctranslate2/models/model.h:147
Function
get_error_message
return syntax error message
include/nlohmann/json.hpp:8773
Method
get_falcon_spec
(self, model)
python/ctranslate2/converters/transformers.py:3223
Method
get_ignore_noop
! @return character read from the input after ignoring all 'N' entries */
include/nlohmann/json.hpp:11835
Function
get_impl
include/nlohmann/json.hpp:20813
Method
get_layer_alignment_heads
src/layers/transformer.cc:586
Method
get_length_mask
src/cpu/vec_avx512.h:18
Function
get_log_level
Returns the current logging level. Returns: A Python logging level.
python/ctranslate2/logging.py:38
Function
get_log_level
src/logging.cc:79
Function
get_minimum_batch_copies_per_thread
src/cpu/parallel.h:25
Method
get_model_class
(self, config, default_class)
python/ctranslate2/converters/transformers.py:2072
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:295
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:427
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:483
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:548
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:619
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:670
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:711
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:768
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:858
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:938
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:1041
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:1120
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:1369
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:1447
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:1503
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:1599
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:1703
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:1860
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:2079
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:2383
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:2519
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:2660
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:2811
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:2863
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:2915
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:3093
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:3236
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:3294
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:3373
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:3455
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:3537
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:3816
Method
get_model_spec
(self, model)
python/ctranslate2/converters/transformers.py:4130
Method
get_msgpack_array
! @param[in] len the length of the array @return whether array creation completed */
include/nlohmann/json.hpp:10845
Method
get_msgpack_binary
! @brief reads a MessagePack byte array This function first reads starting bytes to determine the expected byte array length and then cop
include/nlohmann/json.hpp:10734
Method
get_msgpack_float_prefix
include/nlohmann/json.hpp:16219
Method
get_msgpack_object
! @param[in] len the length of the object @return whether object creation completed */
include/nlohmann/json.hpp:10867
Method
get_msgpack_string
! @brief reads a MessagePack string This function first reads starting bytes to determine the expected string length and then copies this
include/nlohmann/json.hpp:10651
Method
get_next_example
src/batch_reader.cc:117
Method
get_next_example
include/ctranslate2/batch_reader.h:91
Method
get_number
include/nlohmann/json.hpp:11862
Function
get_number_float
return floating-point value
include/nlohmann/json.hpp:8725
Function
get_number_unsigned
include/nlohmann/json.hpp:8719
Function
get_position
return position of last read token
include/nlohmann/json.hpp:8741
Function
get_ref
include/nlohmann/json.hpp:20999
Function
get_ref_impl
include/nlohmann/json.hpp:20688
Method
get_sample_begin
include/ctranslate2/decoding_utils.h:97
Method
get_source_length
src/models/sequence_to_sequence.cc:188
Method
get_source_vocabulary_size
(self)
python/ctranslate2/specs/transformer_spec.py:591
Function
get_supported_compute_types
python/cpp/module.cc:13
← previous
next →
1,501–1,600 of 2,508, ranked by callers