#pragma once #include namespace at { class Tensor; namespace native { using cross_fn = void(*)(const Tensor&, const Tensor&, const Tensor&, const int64_t d); DECLARE_DISPATCH(cross_fn, cross_stub); }} // namespace at::native