JSX_TTS / torch /include /ATen /native /CanUse32BitIndexMath.h
UMMJ's picture
Upload 5875 files
9dd3461
raw
history blame contribute delete
254 Bytes
#pragma once
#include <c10/macros/Export.h>
#include <limits>
namespace at {
class TensorBase;
}
namespace at { namespace native {
TORCH_API bool canUse32BitIndexMath(const at::TensorBase &t, int64_t max_elem=std::numeric_limits<int32_t>::max());
}}