eigen.h 570 B

1234567891011121314151617
  1. #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
  2. /*
  3. pybind11/eigen.h: Transparent conversion for dense and sparse Eigen matrices
  4. Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch>
  5. All rights reserved. Use of this source code is governed by a
  6. BSD-style license that can be found in the LICENSE file.
  7. */
  8. #pragma once
  9. #include "eigen/matrix.h"
  10. #else
  11. #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
  12. #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)