|
triton_cpp v1.2.1
Header-only C++ wrapper for NVIDIA Triton Inference Server clients
|
#include <algorithm>#include <array>#include <cstdint>#include <cstring>#include <functional>#include <iostream>#include <numeric>#include <random>#include <stdexcept>#include <string>#include <vector>#include <common.h>Go to the source code of this file.
Namespaces | |
| namespace | triton_cpp |
Functions | |
| template<typename T > | |
| std::ostream & | triton_cpp::operator<< (std::ostream &os, const std::vector< T > &data) |
| Write a vector in bracketed, comma-separated form. | |
| template<typename It > | |
| std::int64_t | triton_cpp::accumulate_shape (It begin, It end) |
| Compute the element count represented by a tensor shape. | |
| void | triton_cpp::fail_on_error (const triton::client::Error &err, std::string message="") |
| Convert a failed Triton client status into a C++ exception. | |
| std::string | triton_cpp::randstring (std::size_t len) |
| Generate an alphanumeric random string. | |