| 96 | |
| 97 | template <typename DTypeSrc, typename DTypeDst, typename Lang> |
| 98 | void CastCopy(const Tensor *src, Tensor *dst, Context *ctx) { |
| 99 | LOG(FATAL) << "CastCopy not Implemented for DTypeSrc=" << typeid(DTypeSrc).name() |
| 100 | << " DTypeDst=" << typeid(DTypeDst).name() << " Lang=" << typeid(Lang).name(); |
| 101 | } |
| 102 | |
| 103 | template <typename DType, typename Lang> |
| 104 | void Ceil(const Tensor &in, Tensor *out, Context *ctx) { |