SqueezeBrains SDK 1.13
Parameters

Project Parameters. More...

Collaboration diagram for Parameters:

Data Structures

class  sb_cs::SbParSl
 Shallow Learning modules parameters class that wraps the sb_t_par_sl structure More...
 
class  sb_cs::SbParLevel
 Level parameters Class that wraps the sb_t_level_par structure More...
 
class  sb_cs::SbPerturbation
 Perturbations Class that wraps the sb_t_perturbation structure More...
 
class  sb_cs::SbParModel
 Model parameters class that wraps the sb_t_par_model structure More...
 
class  sb_cs::SbDevicesPar
 Defines computing device types that wraps the sb_t_devices_par structure More...
 
class  sb_cs::SbSvlDlParNetwork
 Deep Learning network parameters class that wraps the sb_t_svl_dl_par_network structure More...
 
class  sb_cs::SbSvlDlParPerturbation
 Describes the perturbation of the image / defect, it wraps the sb_t_svl_dl_par_perturbation structure More...
 
class  sb_cs::SbSvlDlPar
 SVL parameters that configure the Shallow Learning training, it wraps the sb_t_svl_sl_par structure More...
 
class  sb_cs::SbSvlSlPar
 SVL parameters that configure the Shallow Learning training, it wraps the sb_t_svl_sl_par structure More...
 
class  sb_cs::SbSvlPar
 Svl parameters (not used at the moment) that wraps the sb_t_svl_par structure More...
 
class  sb_cs::SbPar
 Parameters Class that wraps the sb_t_par structure.
You must call the Dispose() method to free all the resources of the returned instance. More...
 

Enumerations

enum class  sb_cs::SbProjectType : int { sb_cs::SbProjectType::SB_PROJECT_TYPE_RETINA = SB_PROJECT_TYPE_RETINA , sb_cs::SbProjectType::SB_PROJECT_TYPE_SURFACE = SB_PROJECT_TYPE_SURFACE , sb_cs::SbProjectType::SB_PROJECT_TYPE_DEEP_SURFACE = SB_PROJECT_TYPE_DEEP_SURFACE , sb_cs::SbProjectType::SB_PROJECT_TYPE_DEEP_CORTEX = SB_PROJECT_TYPE_DEEP_CORTEX }
 Project type that wraps the sb_t_project_type enum More...
 
enum class  sb_cs::SbImageCircularityType : int { sb_cs::SbImageCircularityType::SB_IMAGE_CIRCULARITY_TYPE_NONE = SB_IMAGE_CIRCULARITY_TYPE_NONE , sb_cs::SbImageCircularityType::SB_IMAGE_CIRCULARITY_TYPE_HORIZONTAL = SB_IMAGE_CIRCULARITY_TYPE_HORIZONTAL , sb_cs::SbImageCircularityType::SB_IMAGE_CIRCULARITY_TYPE_VERTICAL = SB_IMAGE_CIRCULARITY_TYPE_VERTICAL }
 Image circularity that wraps the sb_t_image_circularity_type enum More...
 
enum class  sb_cs::SbFloatingPointPrecisionType : int { sb_cs::SbFloatingPointPrecisionType::SB_FLOATING_POINT_OPS_TYPE_SINGLE_PRECISION = SB_FLOATING_POINT_OPS_TYPE_SINGLE_PRECISION , sb_cs::SbFloatingPointPrecisionType::SB_FLOATING_POINT_OPS_TYPE_HALF_PRECISION = SB_FLOATING_POINT_OPS_TYPE_HALF_PRECISION }
 Floating point precision type that wraps the sb_t_floating_point_op_type enum More...
 
enum class  sb_cs::SbSvlParOptimizationMode : int { sb_cs::SbSvlParOptimizationMode::SB_SVL_PAR_OPTIMIZATION_TIME_SLOW = SB_SVL_PAR_OPTIMIZATION_TIME_SLOW , sb_cs::SbSvlParOptimizationMode::SB_SVL_PAR_OPTIMIZATION_TIME_MEDIUM = SB_SVL_PAR_OPTIMIZATION_TIME_MEDIUM , sb_cs::SbSvlParOptimizationMode::SB_SVL_PAR_OPTIMIZATION_TIME_FAST = SB_SVL_PAR_OPTIMIZATION_TIME_FAST , sb_cs::SbSvlParOptimizationMode::SB_SVL_PAR_OPTIMIZATION_USE_SELECTED = SB_SVL_PAR_OPTIMIZATION_USE_SELECTED }
 Svl par optimization mode that wraps the sb_t_svl_par_optimization_mode enum More...
 
enum class  sb_cs::SbNetworkType : int {
  sb_cs::SbNetworkType::SB_NETWORK_TYPE_EFFICIENTNET_B0 = SB_NETWORK_TYPE_EFFICIENTNET_B0 , sb_cs::SbNetworkType::SB_NETWORK_TYPE_EFFICIENTNET_B1 = SB_NETWORK_TYPE_EFFICIENTNET_B1 , sb_cs::SbNetworkType::SB_NETWORK_TYPE_EFFICIENTNET_B2 = SB_NETWORK_TYPE_EFFICIENTNET_B2 , sb_cs::SbNetworkType::SB_NETWORK_TYPE_SDINET0_331 = SB_NETWORK_TYPE_SDINET0_331 ,
  sb_cs::SbNetworkType::SB_NETWORK_TYPE_SDINET0_331x128 = SB_NETWORK_TYPE_SDINET0_331x128 , sb_cs::SbNetworkType::SB_NETWORK_TYPE_SDINET0_400x160 = SB_NETWORK_TYPE_SDINET0_400x160 , sb_cs::SbNetworkType::SB_NETWORK_TYPE_ICNET0_64 = SB_NETWORK_TYPE_ICNET0_64 , sb_cs::SbNetworkType::SB_NETWORK_TYPE_ICNET0_128 = SB_NETWORK_TYPE_ICNET0_128
}
 Deep Learning Network type that wraps the sb_t_network_type enum More...
 
enum class  sb_cs::SbLossFnType : int { sb_cs::SbLossFnType::SB_LOSS_FN_TYPE_CCE = SB_LOSS_FN_TYPE_CCE , sb_cs::SbLossFnType::SB_LOSS_FN_TYPE_FOCAL = SB_LOSS_FN_TYPE_FOCAL , sb_cs::SbLossFnType::SB_LOSS_FN_TYPE_BCE = SB_LOSS_FN_TYPE_BCE }
 Enumerates the type of loss function, it wraps the sb_t_loss_fn_type enum. More...
 
enum class  sb_cs::SbPerturbationMode : int { sb_cs::SbPerturbationMode::SB_PERTURBATION_MODE_ONLINE = SB_PERTURBATION_MODE_ONLINE , sb_cs::SbPerturbationMode::SB_PERTURBATION_MODE_OFFLINE = SB_PERTURBATION_MODE_OFFLINE , sb_cs::SbPerturbationMode::SB_PERTURBATION_MODE_BOTH = SB_PERTURBATION_MODE_BOTH }
 Enumerates the mode of the perturbations, it wraps the sb_t_perturbation_mode enum. More...
 
enum class  sb_cs::SbPerturbationType : int { sb_cs::SbPerturbationType::SB_PERTURBATION_TYPE_IMAGE = SB_PERTURBATION_TYPE_IMAGE , sb_cs::SbPerturbationType::SB_PERTURBATION_TYPE_DEFECTS = SB_PERTURBATION_TYPE_DEFECTS , sb_cs::SbPerturbationType::SB_PERTURBATION_TYPE_BOTH = SB_PERTURBATION_TYPE_BOTH }
 Enumerates the range of application of the perturbations, it wraps the sb_t_perturbation_type enums. More...
 

Detailed Description

Project Parameters.

Enumeration Type Documentation

◆ SbFloatingPointPrecisionType

enum class sb_cs::SbFloatingPointPrecisionType : int
strong

Floating point precision type that wraps the sb_t_floating_point_op_type enum

Enumerator
SB_FLOATING_POINT_OPS_TYPE_SINGLE_PRECISION 

Single Precision (Float32)

SB_FLOATING_POINT_OPS_TYPE_HALF_PRECISION 

Single Precision (Float16)

Definition at line 36 of file cs_par.h.

◆ SbImageCircularityType

enum class sb_cs::SbImageCircularityType : int
strong

Image circularity that wraps the sb_t_image_circularity_type enum

Enumerator
SB_IMAGE_CIRCULARITY_TYPE_NONE 

No image circularity.

SB_IMAGE_CIRCULARITY_TYPE_HORIZONTAL 

Horizontal image circularity.

SB_IMAGE_CIRCULARITY_TYPE_VERTICAL 

Vertical image circularity.

Definition at line 26 of file cs_par.h.

◆ SbLossFnType

enum class sb_cs::SbLossFnType : int
strong

Enumerates the type of loss function, it wraps the sb_t_loss_fn_type enum.

See also
Deep Learning Perturbations
Enumerator
SB_LOSS_FN_TYPE_CCE 

CCE loss.

SB_LOSS_FN_TYPE_FOCAL 

Foacal loss.

SB_LOSS_FN_TYPE_BCE 

BCE loss.

Definition at line 342 of file cs_par.h.

◆ SbNetworkType

enum class sb_cs::SbNetworkType : int
strong

Deep Learning Network type that wraps the sb_t_network_type enum

Enumerator
SB_NETWORK_TYPE_EFFICIENTNET_B0 

Deep Learning EfficientNet b0.

SB_NETWORK_TYPE_EFFICIENTNET_B1 

Deep Learning EfficientNet b1.

SB_NETWORK_TYPE_EFFICIENTNET_B2 

Deep Learning EfficientNet b2.

SB_NETWORK_TYPE_SDINET0_331 

Deep Learning Surface Defects Inspection Network 0 with input size to 331x331.

SB_NETWORK_TYPE_SDINET0_331x128 

Deep Learning Surface Defects Inspection Network 0 with input size to 331x128.

SB_NETWORK_TYPE_SDINET0_400x160 

Deep Learning Surface Defects Inspection Network 0 with input size to 400x160.

SB_NETWORK_TYPE_ICNET0_64 

Deep Learning Image Classification Network 0 with input size 64x64.

SB_NETWORK_TYPE_ICNET0_128 

Deep Learning Image Classification Network 0 with input size 128x128.

Definition at line 265 of file cs_par.h.

◆ SbPerturbationMode

enum class sb_cs::SbPerturbationMode : int
strong

Enumerates the mode of the perturbations, it wraps the sb_t_perturbation_mode enum.

See also
Deep Learning Perturbations
Enumerator
SB_PERTURBATION_MODE_ONLINE 

Online perturbation.

SB_PERTURBATION_MODE_OFFLINE 

Offline perturbation.

SB_PERTURBATION_MODE_BOTH 

Both online and offline perturbations.

Definition at line 355 of file cs_par.h.

◆ SbPerturbationType

enum class sb_cs::SbPerturbationType : int
strong

Enumerates the range of application of the perturbations, it wraps the sb_t_perturbation_type enums.

See also
Deep Learning Perturbations
Enumerator
SB_PERTURBATION_TYPE_IMAGE 

The whole image is perturbated.

SB_PERTURBATION_TYPE_DEFECTS 

Only the defect area is perturbated.

SB_PERTURBATION_TYPE_BOTH 

Both image and defects perturbation types.

Definition at line 366 of file cs_par.h.

◆ SbProjectType

enum class sb_cs::SbProjectType : int
strong

Project type that wraps the sb_t_project_type enum

Enumerator
SB_PROJECT_TYPE_RETINA 

Project Retina.

SB_PROJECT_TYPE_SURFACE 

Project Surface.

SB_PROJECT_TYPE_DEEP_SURFACE 

Project Deep Surface.

SB_PROJECT_TYPE_DEEP_CORTEX 

Project Deep Cortex.

Definition at line 15 of file cs_par.h.

◆ SbSvlParOptimizationMode

enum class sb_cs::SbSvlParOptimizationMode : int
strong

Svl par optimization mode that wraps the sb_t_svl_par_optimization_mode enum

Enumerator
SB_SVL_PAR_OPTIMIZATION_TIME_SLOW 

SVL promotes accuracy with respect to execution time.

  • Retina: It chooses the best classificator and the most significant features indipendently for each model.
  • Surface: SVL chooses the best classificator and the most significant features indipendently for each model. At least three features are chosen.
SB_SVL_PAR_OPTIMIZATION_TIME_MEDIUM 
  • Retina: SVL chooses the best classificator and the best feature for each model, only one feature for each model.
  • Surface: SVL chooses the best classificator and the most significant features indipendently for each model. At least two features are chosen.
SB_SVL_PAR_OPTIMIZATION_TIME_FAST 
  • Retina: SVL finds the best classificator and the best feature and sets them for all model.
  • Surface: SVL chooses the best classificator and the most significant features indipendently for each model. At least one feature is chosen.
SB_SVL_PAR_OPTIMIZATION_USE_SELECTED 

SVL will use the features selected by the user and which are compatible with the data set. The user can select the features with the parameter sb_t_svl_par.features.

Definition at line 45 of file cs_par.h.