loco::FeatureDecode *fea_dec = nullptr;
public:
- ExampleGraph() = default;
-
- loco::Graph *graph() { return g.get(); }
-
- void build()
+ ExampleGraph()
{
fea_enc = exo::make_feature_encode<exo::FeatureLayout::NHWC>(pull);
constgen = append<loco::ConstGen>();
loco::ReLU *relu = nullptr;
public:
- ExampleGraph() = default;
-
- loco::Graph *graph() { return g.get(); }
-
- void build()
+ ExampleGraph()
{
constgen = append<loco::ConstGen>();
relu = append<loco::ReLU>(constgen);
complete(relu);
-
- EXO_TEST_ASSERT_NODE_COUNT({push}, 3); // sanity check
}
};
transpose = append<loco::TensorTranspose>(pull);
complete(transpose);
}
-
- loco::Graph *graph() { return g.get(); }
};
/**
exo::make_filter_decode<exo::FilterLayout::OHWI>(filterEncode); // to Tensorflow Lite
complete(filterDecode);
}
-
- loco::Graph *graph() { return g.get(); }
};
/**
tfl_transpose = append<locoex::TFLTranspose>(pull, const_perm);
complete(tfl_transpose);
}
-
- loco::Graph *graph() { return g.get(); }
};
} // namespace test