:mod:`capreolus.reranker.DeepTileBar` ===================================== .. py:module:: capreolus.reranker.DeepTileBar Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: capreolus.reranker.DeepTileBar.DeepTileBar_nn capreolus.reranker.DeepTileBar.DeepTileBar_class capreolus.reranker.DeepTileBar.DeepTileBar .. data:: logger .. py:class:: DeepTileBar_nn(p, batch_size, number_filter, lstm_hidden_dim, linear_hidden_dim1, linear_hidden_dim2) Bases: :class:`torch.nn.Module` .. method:: init_hidden(self) .. method:: reset_hidden(self) .. method:: forward(self, tile_matrix1) .. py:class:: DeepTileBar_class(extractor, config) Bases: :class:`torch.nn.Module` .. method:: init_hidden(self) .. method:: reset_hidden(self) .. method:: forward(self, pos_tile_matrix, neg_tile_matrix) .. method:: test_forward(self, pos_tile_matrix) .. py:class:: DeepTileBar Bases: :class:`capreolus.reranker.Reranker` .. attribute:: description :annotation: = Zhiwen Tang and Grace Hui Yang. 2019. DeepTileBars: Visualizing Term Distribution for Neural Information Retrieval. In AAAI'19. .. attribute:: module_name :annotation: = DeepTileBar .. attribute:: dependencies .. attribute:: config_spec .. method:: build_model(self) .. method:: score(self, d) .. method:: test(self, d) .. method:: zero_grad(self, *args, **kwargs)