github.com/kaydxh/golang@v0.0.131/pkg/gocv/cgo/third_path/pybind11/tests/test_eigen_tensor.cpp (about)

     1  /*
     2      tests/eigen_tensor.cpp -- automatic conversion of Eigen Tensor
     3  
     4      All rights reserved. Use of this source code is governed by a
     5      BSD-style license that can be found in the LICENSE file.
     6  */
     7  
     8  #define PYBIND11_TEST_EIGEN_TENSOR_NAMESPACE eigen_tensor
     9  
    10  #ifdef EIGEN_AVOID_STL_ARRAY
    11  #    undef EIGEN_AVOID_STL_ARRAY
    12  #endif
    13  
    14  #include "test_eigen_tensor.inl"
    15  
    16  #include "pybind11_tests.h"
    17  
    18  test_initializer egien_tensor("eigen_tensor", eigen_tensor_test::test_module);