#pragma once #include #include #include #include #include namespace at { namespace impl { bool tensor_has_dispatch(const at::Tensor& t); bool tensorlist_has_dispatch(at::ITensorListRef li); bool tensorlist_has_dispatch(const c10::List>& li); using c10::impl::dispatch_mode_enabled; }}