public _FetchHandler(Graph graph, Tensor fetches, Dictionary <Tensor, NDArray> feeds = null, object feed_handles = null) { _fetch_mapper = new _FetchMapper().for_fetch(fetches); foreach (var fetch in _fetch_mapper.unique_fetches()) { switch (fetch) { case Tensor val: _assert_fetchable(graph, val.op); _fetches.Add(val); _ops.Add(false); break; } } _final_fetches = _fetches; }