blace.ai
blace::ml_core::SlicedInferenceArgs Struct Reference

#include <types.h>

Public Member Functions

ml_core::BlaceHash hash ()
 
bool operator== (const SlicedInferenceArgs &other) const
 
bool operator!= (const SlicedInferenceArgs &other) const
 

Public Attributes

int parallel = true
 
int slices = 1
 
int overlap = 32
 
int result_to_input_num = 1
 
int result_to_input_denum = 1
 

Detailed Description

Sliced inference arguments.

Member Function Documentation

◆ hash()

ml_core::BlaceHash blace::ml_core::SlicedInferenceArgs::hash ( )

Hash the struct.

Returns

◆ operator!=()

bool blace::ml_core::SlicedInferenceArgs::operator!= ( const SlicedInferenceArgs other) const
inline

Simple inequality operator.

Parameters
otherThe other struct.
Returns

◆ operator==()

bool blace::ml_core::SlicedInferenceArgs::operator== ( const SlicedInferenceArgs other) const

Simple equality operator.

Parameters
otherThe other struct.
Returns

Member Data Documentation

◆ overlap

int blace::ml_core::SlicedInferenceArgs::overlap = 32

Undocumented.

◆ parallel

int blace::ml_core::SlicedInferenceArgs::parallel = true

Run slices in parallel.

◆ result_to_input_denum

int blace::ml_core::SlicedInferenceArgs::result_to_input_denum = 1

Undocumented.

◆ result_to_input_num

int blace::ml_core::SlicedInferenceArgs::result_to_input_num = 1

Undocumented.

◆ slices

int blace::ml_core::SlicedInferenceArgs::slices = 1

Undocumented.