3#include "library_defines.h"
41enum DeviceEnum :
int { CPU = 0, CUDA = 1, MPS = 2, DML = 3 };
50 UNKNOWN_VALUE_RANGE = 3,
94 BOUNDING_BOX_WITH_DIMS = 19,
98 BAUDIO_MONO_44100HZ = 23
110 ARBITRARY_CHANNELS = 4,
187 TORCHSCRIPT_CUDA_FP32,
188 TORCHSCRIPT_CUDA_FP16,
189 TORCHSCRIPT_MPS_FP32,
193 TORCHSCRIPT_MPS_FP16,
194 TORCHSCRIPT_CPU_FP32,
285 std::string returnstring =
"";
286 for (
int temp = 0; temp < 4; temp++)
287 returnstring += std::to_string(hash[temp]) +
"\n";
372 return !(*
this == other);
439 return !(*
this == other);
490 return !(*
this == other);
512 std::optional<MultisampleInferenceArgs>
multi_args = std::nullopt;
540 return !(*
this == other);
549 using std::string::string;
ml_core::FORWARD_MODE mode
Definition types.h:508
bool operator!=(const InferenceArgsCollection &other) const
Definition types.h:539
ModelInferenceArgs inference_args
Definition types.h:502
ml_core::BlaceHash hash()
bool operator==(const InferenceArgsCollection &other) const
std::optional< SlicedInferenceArgs > sliced_args
Definition types.h:516
std::optional< MultisampleInferenceArgs > multi_args
Definition types.h:512
ModelIdent(const std::string &str)
Definition types.h:556
BlaceHash(int64_t a, int64_t b, int64_t c, int64_t d)
friend std::ostream & operator<<(std::ostream &os, const BlaceHash &obj)
static void mix_string_into_hash(BlaceHash &hash, std::string str)
BlaceHash(std::string str)
std::string to_hex(int len=8)
static void mix_float_into_hash(BlaceHash &hash, float data)
bool operator==(const BlaceHash &rhs) const
std::string print()
Definition types.h:284
bool operator!=(const BlaceHash &rhs) const
bool operator==(const LAB_NORMS &other) const
double l_cent
Definition types.h:139
double ab_norm
Definition types.h:143
double l_norm
Definition types.h:135
int run_threaded
Definition types.h:329
bool operator==(const ModelInferenceArgs &other) const
int seed
Definition types.h:324
int experimental_torchscript_autocast
Definition types.h:348
int gpu_mem_opti
Definition types.h:338
int empty_cache_after_inference
Definition types.h:343
int deprecated
Definition types.h:320
ml_core::BlaceHash hash()
std::vector< Backend > backends
Definition types.h:316
int plot_inputs
Definition types.h:333
bool operator!=(const ModelInferenceArgs &other) const
Definition types.h:371
bool operator==(const MultisampleInferenceArgs &other) const
int parallel
Definition types.h:383
int result_to_input_num
Definition types.h:411
int samples
Definition types.h:387
int allow_mirroring
Definition types.h:391
int max_extension
Definition types.h:403
Interpolation jitter_interpolation
Definition types.h:395
bool operator!=(const MultisampleInferenceArgs &other) const
Definition types.h:438
int jitter_keep_size
Definition types.h:399
ml_core::BlaceHash hash()
int result_to_input_denum
Definition types.h:415
PADDING_MODE padding_mode
Definition types.h:407
int slices
Definition types.h:454
int result_to_input_num
Definition types.h:462
int parallel
Definition types.h:450
int result_to_input_denum
Definition types.h:466
bool operator!=(const SlicedInferenceArgs &other) const
Definition types.h:489
int overlap
Definition types.h:458
bool operator==(const SlicedInferenceArgs &other) const
ml_core::BlaceHash hash()
DIRECTION
Definition types.h:180
constexpr float BYTE_MAX_FLOAT
Definition types.h:34
FORWARD_MODE
Definition types.h:157
std::vector< int64_t > TensorSizes
Definition types.h:21
DataTypeEnum
Definition types.h:59
ReturnCode
Definition types.h:564
Backend
Definition types.h:186
Framework
Definition types.h:202
PADDING_MODE
Definition types.h:175
constexpr float SHORT_MAX
Definition types.h:30
Interpolation
Definition types.h:162
OrderEnum
Definition types.h:74
constexpr int BYTE_MAX
Definition types.h:26
ColorFormatEnum
Definition types.h:105
DeviceEnum
Definition types.h:41
ModelDataType
Definition types.h:126
ValueRangeEnum
Definition types.h:46