OmniSciDB
a5dc49c757
|
#include "QueryEngine/heavydbTypes.h"
Go to the source code of this file.
Functions | |
template<typename PixelType , typename ColorType > | |
TEMPLATE_NOINLINE int32_t | tf_torch_raster_obj_detect__cpu_template (TableFunctionManager &mgr, const Column< PixelType > &input_x, const Column< PixelType > &input_y, const ColumnList< ColorType > &input_channels, const PixelType x_input_units_per_pixel, const PixelType y_input_units_per_pixel, const float max_color_value, const int64_t tile_boundary_halo_pixels, const TextEncodingNone &model_path, const TextEncodingNone &model_metadata_path, const float min_confidence_threshold, const float iou_threshold, const bool use_gpu, const int64_t device_num, Column< TextEncodingDict > &detected_class_label, Column< int32_t > &detected_class_id, Column< double > &detected_centroid_x, Column< double > &detected_centroid_y, Column< double > &detected_width, Column< double > &detected_height, Column< float > &detected_confidence) |
TEMPLATE_NOINLINE int32_t tf_torch_raster_obj_detect__cpu_template | ( | TableFunctionManager & | mgr, |
const Column< PixelType > & | input_x, | ||
const Column< PixelType > & | input_y, | ||
const ColumnList< ColorType > & | input_channels, | ||
const PixelType | x_input_units_per_pixel, | ||
const PixelType | y_input_units_per_pixel, | ||
const float | max_color_value, | ||
const int64_t | tile_boundary_halo_pixels, | ||
const TextEncodingNone & | model_path, | ||
const TextEncodingNone & | model_metadata_path, | ||
const float | min_confidence_threshold, | ||
const float | iou_threshold, | ||
const bool | use_gpu, | ||
const int64_t | device_num, | ||
Column< TextEncodingDict > & | detected_class_label, | ||
Column< int32_t > & | detected_class_id, | ||
Column< double > & | detected_centroid_x, | ||
Column< double > & | detected_centroid_y, | ||
Column< double > & | detected_width, | ||
Column< double > & | detected_height, | ||
Column< float > & | detected_confidence | ||
) |
Definition at line 28 of file TorchTableFunctions.cpp.
References class_idx, detect_objects_in_tiled_raster(), get_model_info_from_file(), StringDictionaryProxy::getOrAddTransientBulk(), TextEncodingNone::getString(), TableFunctionManager::set_output_row_size(), Column< TextEncodingDict >::setNull(), and Column< TextEncodingDict >::string_dict_proxy_.