Commit 0317936f authored by charlie's avatar charlie
Browse files

Initial

parent 8343d47d
...@@ -39,6 +39,14 @@ namespace op { ...@@ -39,6 +39,14 @@ namespace op {
struct nonzero struct nonzero
{ {
bool use_dynamic = false;
template <class Self, class F>
static auto reflect(Self& self, F f)
{
return pack(f(self.use_dynamic, "use_dynamic"));
}
std::string name() const { return "nonzero"; } std::string name() const { return "nonzero"; }
shape compute_shape(std::vector<shape> inputs) const shape compute_shape(std::vector<shape> inputs) const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment