Searched refs:colvec (Results 1 – 2 of 2) sorted by relevance
32 ColVectorType colvec = ColVectorType::Random(rows); in vectorwiseop_array() local38 m2.colwise() += colvec; in vectorwiseop_array()39 VERIFY_IS_APPROX(m2, m1.colwise() + colvec); in vectorwiseop_array()40 VERIFY_IS_APPROX(m2.col(c), m1.col(c) + colvec); in vectorwiseop_array()42 VERIFY_RAISES_ASSERT(m2.colwise() += colvec.transpose()); in vectorwiseop_array()43 VERIFY_RAISES_ASSERT(m1.colwise() + colvec.transpose()); in vectorwiseop_array()56 m2.colwise() -= colvec; in vectorwiseop_array()57 VERIFY_IS_APPROX(m2, m1.colwise() - colvec); in vectorwiseop_array()58 VERIFY_IS_APPROX(m2.col(c), m1.col(c) - colvec); in vectorwiseop_array()60 VERIFY_RAISES_ASSERT(m2.colwise() -= colvec.transpose()); in vectorwiseop_array()[all …]
100 def write_colvec(tarray, colvec, i): argument101 return tarray.write(i, array_ops.squeeze(colvec))