MCPcopy Create free account
hub / github.com/AllentDan/LibtorchTutorials / input_adapter

Function input_adapter

lesson6-Segmentation/json.hpp:5088–5092  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5086// General purpose iterator-based input
5087template<typename IteratorType>
5088typename iterator_input_adapter_factory<IteratorType>::adapter_type input_adapter(IteratorType first, IteratorType last)
5089{
5090 using factory_type = iterator_input_adapter_factory<IteratorType>;
5091 return factory_type::create(first, last);
5092}
5093
5094// Convenience shorthand from container to iterator
5095template<typename ContainerType>

Callers 10

json.hppFile · 0.85
span_input_adapterMethod · 0.85
basic_json parseFunction · 0.85
acceptFunction · 0.85
sax_parseFunction · 0.85
basic_json from_cborFunction · 0.85
basic_json from_msgpackFunction · 0.85
basic_json from_ubjsonFunction · 0.85
basic_json from_bsonFunction · 0.85

Calls 5

createFunction · 0.85
beginFunction · 0.85
endFunction · 0.85
file_input_adapterClass · 0.85

Tested by

no test coverage detected