| 55 | // be fixed in the future. |
| 56 | struct SparseInputNode : public Node { |
| 57 | explicit SparseInputNode(const Dim& d, const std::vector<unsigned int>& id, |
| 58 | const std::vector<float>& dat, float defdat = 0.f) |
| 59 | : dim(d), ids(id), data(dat), defdata(defdat) {} |
| 60 | DYNET_NODE_DEFINE_DEV_IMPL() |
| 61 | virtual bool supports_multibatch() const override { return true; } |
| 62 | Dim dim; |
nothing calls this directly
no outgoing calls
no test coverage detected