Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenNMT/CTranslate2
/ empty
Method
empty
include/ctranslate2/batch_reader.h:143–145 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
141
}
142
143
bool empty() const {
144
return examples.empty();
145
}
146
147
std::vector<std::vector<std::string>> get_stream(size_t index) const;
148
};
Callers
15
generate_batch
Method · 0.45
unload_model
Method · 0.45
load_model
Method · 0.45
translate_batch
Method · 0.45
main
Function · 0.45
read_int_from_env
Function · 0.45
from_text_file
Method · 0.45
score_sequences
Function · 0.45
translate_batch_async
Method · 0.45
buffer_loop
Method · 0.45
storage_view.cc
File · 0.45
get_stream
Method · 0.45
Calls
no outgoing calls
Tested by
2
TEST
Function · 0.36
check_empty_result
Function · 0.36