rec/fdeep/shape2_variable.hpp

34 lines
678 B
C++
Raw Permalink Normal View History

2020-03-18 06:42:46 +00:00
// Copyright 2016, Tobias Hermann.
// https://github.com/Dobiasd/frugally-deep
// Distributed under the MIT License.
// (See accompanying LICENSE file or at
// https://opensource.org/licenses/MIT)
#pragma once
#include "fdeep/common.hpp"
#include <cstddef>
#include <cstdlib>
#include <string>
namespace fdeep { namespace internal
{
class shape2_variable
{
public:
explicit shape2_variable(
fplus::maybe<std::size_t> height,
fplus::maybe<std::size_t> width) :
height_(height),
width_(width)
{
}
fplus::maybe<std::size_t> height_;
fplus::maybe<std::size_t> width_;
};
} } // namespace fdeep, namespace internal