3#include "library_defines.h"
50 UNKNOWN_VALUE_RANGE = 3,
94 BOUNDING_BOX_WITH_DIMS = 19,
108 ARBITRARY_CHANNELS = 4,
185 TORCHSCRIPT_CUDA_FP32,
186 TORCHSCRIPT_CUDA_FP16,
187 TORCHSCRIPT_MPS_FP32,
191 TORCHSCRIPT_MPS_FP16,
192 TORCHSCRIPT_CPU_FP32,
278 std::string returnstring =
"";
279 for (
int temp = 0; temp < 4; temp++)
280 returnstring += std::to_string(hash[temp]) +
"\n";
365 return !(*
this == other);
428 return !(*
this == other);
479 return !(*
this == other);
501 std::optional<MultisampleInferenceArgs>
multi_args = std::nullopt;
529 return !(*
this == other);
538 using std::string::string;
ml_core::FORWARD_MODE mode
Definition types.h:497
bool operator!=(const InferenceArgsCollection &other) const
Definition types.h:528
ModelInferenceArgs inference_args
Definition types.h:491
ml_core::BlaceHash hash()
bool operator==(const InferenceArgsCollection &other) const
std::optional< SlicedInferenceArgs > sliced_args
Definition types.h:505
std::optional< MultisampleInferenceArgs > multi_args
Definition types.h:501
ModelIdent(const std::string &str)
Definition types.h:545
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:277
bool operator!=(const BlaceHash &rhs) const
bool operator==(const LAB_NORMS &other) const
double l_cent
Definition types.h:137
double ab_norm
Definition types.h:141
double l_norm
Definition types.h:133
int run_threaded
Definition types.h:322
bool operator==(const ModelInferenceArgs &other) const
int seed
Definition types.h:317
int experimental_torchscript_autocast
Definition types.h:341
int gpu_mem_opti
Definition types.h:331
int empty_cache_after_inference
Definition types.h:336
int deprecated
Definition types.h:313
ml_core::BlaceHash hash()
std::vector< Backend > backends
Definition types.h:309
int plot_inputs
Definition types.h:326
bool operator!=(const ModelInferenceArgs &other) const
Definition types.h:364
bool operator==(const MultisampleInferenceArgs &other) const
int parallel
Definition types.h:376
int result_to_input_num
Definition types.h:400
int samples
Definition types.h:380
int max_extension
Definition types.h:392
Interpolation jitter_interpolation
Definition types.h:384
bool operator!=(const MultisampleInferenceArgs &other) const
Definition types.h:427
int jitter_keep_size
Definition types.h:388
ml_core::BlaceHash hash()
int result_to_input_denum
Definition types.h:404
PADDING_MODE padding_mode
Definition types.h:396
int slices
Definition types.h:443
int result_to_input_num
Definition types.h:451
int parallel
Definition types.h:439
int result_to_input_denum
Definition types.h:455
bool operator!=(const SlicedInferenceArgs &other) const
Definition types.h:478
int overlap
Definition types.h:447
bool operator==(const SlicedInferenceArgs &other) const
ml_core::BlaceHash hash()
DIRECTION
Definition types.h:178
constexpr float BYTE_MAX_FLOAT
Definition types.h:34
FORWARD_MODE
Definition types.h:155
std::vector< int64_t > TensorSizes
Definition types.h:21
DataTypeEnum
Definition types.h:59
Backend
Definition types.h:184
PADDING_MODE
Definition types.h:173
constexpr float SHORT_MAX
Definition types.h:30
Interpolation
Definition types.h:160
OrderEnum
Definition types.h:74
constexpr int BYTE_MAX
Definition types.h:26
ColorFormatEnum
Definition types.h:103
DeviceEnum
Definition types.h:41
ModelDataType
Definition types.h:124
ValueRangeEnum
Definition types.h:46