Loading...
Searching...
No Matches
upsampling_layer.h
Go to the documentation of this file.
45 void apply_input_shape(const Shape& new_input_shape) override { set(new_input_shape, upsampling.scale_factor, label); }
Definition json.h:92
Definition json.h:24
Layer(LayerType type, Trainability trainability=Trainability::Trainable)
Definition layer.h:210
const string & get_name() const
void read_JSON_body(const Json *) override
void set(const Shape &, Index, const string &)
Shape get_output_shape() const override
bool accepts_input_rank(Index rank) const override
Definition upsampling_layer.h:36
void write_JSON_body(JsonWriter &) const override
Upsampling(const Shape &={}, Index scale_factor=2, const string &="upsampling_layer")
void apply_input_shape(const Shape &new_input_shape) override
Definition upsampling_layer.h:45
void on_compute_dtype_changed() override
Definition upsampling_layer.h:38
void set_scale_factor(Index)
Definition configuration.h:10
constexpr bool is_one_of(const T &value, const Candidates &... candidates)
Definition opennn_types.h:273
Definition back_propagation.h:19
Definition forward_propagation.h:52
Definition operator.h:28
Definition tensor_types.h:172
Definition upsampling_layer.h:13
void forward_propagate(ForwardPropagation &, size_t, ForwardPropagationMode) override
void set(Index, Index, Index, Index)
void back_propagate(ForwardPropagation &, BackPropagation &, size_t) const override