pytorch/c10/util
Jerry Zhang 40a54bf2f1 Change ReinitializeTensor to use C10_LOG_FIRST_N (#18531)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18531

Currently we use C10_LOG_EVERY_MS to log the data type change, but it pollutes the log of some service,
we would like to change it to C10_LOG_FIRST_N to prevent that.

Reviewed By: dzhulgakov

Differential Revision: D14647704

fbshipit-source-id: b84e4002bd4aa94d616133cd1049c3d4ab05386e
2019-04-02 21:03:37 -07:00
..
AlignOf.h Move AlignOf, SmallVector and ArrayRef to c10. 2018-11-14 11:13:16 -08:00
Array.cpp Move some files to c10/util (#12245) 2018-10-15 16:25:12 -07:00
Array.h Move some files to c10/util (#12245) 2018-10-15 16:25:12 -07:00
ArrayRef.h Mark IntList as deprecated; add C10_DEPRECATED_USING (#16824) 2019-02-13 08:51:20 -08:00
Backtrace.cpp Move exception to C10 (#12354) 2018-10-15 13:33:18 -07:00
Backtrace.h Move exception to C10 (#12354) 2018-10-15 13:33:18 -07:00
C++17.cpp Move some files to c10/util (#12245) 2018-10-15 16:25:12 -07:00
C++17.h Check kernel against function schema in c10 op registration (#18256) 2019-03-30 00:07:22 -07:00
Deprecated.h Add backwards compatibility and other fixes to Dispatch macros. (#17996) 2019-03-15 14:21:46 -07:00
Exception.cpp Fix failed type cast in Windows Debug Build (#15333) 2018-12-26 00:48:58 -08:00
Exception.h Use IndexError instead of RuntimeError in ATen CPU kernels 2019-02-13 10:19:28 -08:00
Flags.h Using c10 namespace across caffe2. (#12714) 2018-10-17 12:57:19 -07:00
flags_use_gflags.cpp
flags_use_no_gflags.cpp
flat_hash_map.h Fix verbose compiler warning in flat_hash_map (#17562) 2019-02-28 16:38:43 -08:00
Half-inl.h Turn the Half::from_bits into a constexpr function to avoid unresolve… (#17661) 2019-03-05 07:31:38 -08:00
Half.cpp Turn the Half::from_bits into a constexpr function to avoid unresolve… (#17661) 2019-03-05 07:31:38 -08:00
Half.h Bool Tensor for CUDA (#18166) 2019-04-02 16:17:05 -07:00
IdWrapper.h remove CAFFE2_API from IdWrapper (#14044) 2018-11-26 14:08:56 -08:00
intrusive_ptr.cpp Move intrusive_ptr to c10/util 2018-11-21 23:08:49 -08:00
intrusive_ptr.h PyTorch/Caffe2 tensor interop in Python (#17190) 2019-03-04 11:34:01 -08:00
LeftRight.cpp Move LeftRight to c10/util 2018-11-05 17:39:16 -08:00
LeftRight.h Improve LeftRight (#16524) 2019-02-02 16:33:27 -08:00
Logging.cpp Use GetFetchStackTrace for the AT_* error macros too. (#13007) 2018-10-24 16:18:25 -07:00
Logging.h Change ReinitializeTensor to use C10_LOG_FIRST_N (#18531) 2019-04-02 21:03:37 -07:00
logging_is_google_glog.h Remove CAFFE2_USE_MINIMAL_GOOGLE_GLOG (#12938) 2018-10-22 13:37:38 -07:00
logging_is_not_google_glog.h Fix DCHECK to handle dangling else (#18295) 2019-03-22 14:04:29 -07:00
Metaprogramming.cpp Move some files to c10/util (#12245) 2018-10-15 16:25:12 -07:00
Metaprogramming.h Introduce lambda-based kernel API (#18541) 2019-03-30 00:07:31 -07:00
numa.cpp Make C10_MOBILE consistent with how feature macros are usually used (#17481) 2019-02-27 17:57:51 -08:00
numa.h Move numa.{h, cc} to c10/util (#15024) 2018-12-12 12:21:10 -08:00
Optional.cpp Move exception to C10 (#12354) 2018-10-15 13:33:18 -07:00
Optional.h Fix CUDA 8 build on Windows (#14665) 2018-12-01 16:50:38 -08:00
python_stub.h Move pyobj_ to TensorImpl (#18225) 2019-03-23 12:50:38 -07:00
Registry.h Move exception to C10 (#12354) 2018-10-15 13:33:18 -07:00
SmallVector.cpp Move AlignOf, SmallVector and ArrayRef to c10. 2018-11-14 11:13:16 -08:00
SmallVector.h Windows shared build (#13550) 2018-11-16 12:16:28 -08:00
string_utils.h fix missing std (#17263) 2019-02-20 16:47:35 -08:00
StringUtil.cpp Move exception to C10 (#12354) 2018-10-15 13:33:18 -07:00
StringUtil.h Windows shared build (#13550) 2018-11-16 12:16:28 -08:00
tempfile.h Trim libshm deps, move tempfile.h to c10 (#17019) 2019-02-13 19:38:35 -08:00
thread_name.cpp Open registration for c10 thread pool (#17788) 2019-03-08 15:38:41 -08:00
thread_name.h Open registration for c10 thread pool (#17788) 2019-03-08 15:38:41 -08:00
Type.cpp
Type.h fix double free exposed by latest llvm (#12697) 2018-10-16 07:32:08 -07:00
typeid.cpp Move typeid to c10/util 2018-11-14 02:58:04 -08:00
typeid.h Move files to/from c10/core and c10/util (#15316) 2019-01-10 16:22:22 -08:00
TypeList.cpp Move some files to c10/util (#12245) 2018-10-15 16:25:12 -07:00
TypeList.h Implement new c10 dispatcher (#16625) 2019-02-01 13:52:01 -08:00
TypeTraits.cpp Move some files to c10/util (#12245) 2018-10-15 16:25:12 -07:00
TypeTraits.h Introduce lambda-based kernel API (#18541) 2019-03-30 00:07:31 -07:00
UniqueVoidPtr.cpp Move UniqueVoidPtr to c10 2018-11-27 12:59:42 -08:00
UniqueVoidPtr.h Add compare_exchange_deleter to DataPtr/UniqueVoidPtr (#16513) 2019-01-31 17:40:04 -08:00