def test_infer_shape_vector(self):
        x = theano.tensor.vector()

        for op in self.ops:
            if not op.return_inverse:
                continue
            if op.return_index :
                f = op(x)[2]
            else:
                f = op(x)[1]
            self._compile_and_check([x],  
                                    [f], 
                                    [np.asarray(np.array([2,1,3,2]),
                                                dtype=config.floatX)],
                                    self.op_class)
Return HITS hubs and authorities values for nodes.
dataset/ETHPy150Open rizar/attention-lvcsr/libs/Theano/theano/tensor/tests/test_extra_ops.py/test_Unique.test_infer_shape_vector--crossover with--dataset/ETHPy150Open networkx/networkx/networkx/algorithms/link_analysis/hits_alg.py/hits_scipy