Loading...
Searching...
No Matches
non_max_suppression_layer.h
Go to the documentation of this file.
Definition json.h:92
Definition json.h:24
Layer(LayerType type, Trainability trainability=Trainability::Trainable)
Definition layer.h:210
const string & get_name() const
float get_confidence_threshold() const
Definition non_max_suppression_layer.h:61
void write_JSON_body(JsonWriter &) const override
Shape get_output_shape() const override
void set_confidence_threshold(float t)
Definition non_max_suppression_layer.h:62
bool accepts_input_rank(Index rank) const override
Definition non_max_suppression_layer.h:50
NonMaxSuppression(const Shape &={}, Index boxes_per_cell=1, float confidence_threshold=0.5f, float iou_threshold=0.4f, const string &="non_max_suppression_layer")
void read_JSON_body(const Json *) override
void apply_input_shape(const Shape &) override
void on_compute_dtype_changed() override
Definition non_max_suppression_layer.h:52
void set(const Shape &, Index, float, float, const string &)
Definition configuration.h:10
constexpr bool is_one_of(const T &value, const Candidates &... candidates)
Definition opennn_types.h:273
Definition forward_propagation.h:52
Definition non_max_suppression_layer.h:13
Index grid_size
Definition non_max_suppression_layer.h:14
Index boxes_per_cell
Definition non_max_suppression_layer.h:16
void set(const Shape &, Index, float, float)
Index classes_number
Definition non_max_suppression_layer.h:17
void forward_propagate(ForwardPropagation &, size_t, ForwardPropagationMode) override
float iou_threshold
Definition non_max_suppression_layer.h:19
Index grid_width
Definition non_max_suppression_layer.h:15
float confidence_threshold
Definition non_max_suppression_layer.h:18
Definition operator.h:28
Definition tensor_types.h:172
Definition tensor_types.h:540