Adding all project files
This commit is contained in:
parent
6c9e127bdc
commit
cd4316ad0f
42289 changed files with 8009643 additions and 0 deletions
|
@ -0,0 +1,28 @@
|
|||
#pragma once
|
||||
|
||||
#include <ATen/native/DispatchStub.h>
|
||||
#include <ATen/core/ATen_fwd.h>
|
||||
|
||||
namespace at {
|
||||
class Tensor;
|
||||
|
||||
namespace native {
|
||||
|
||||
using _amp_foreach_non_finite_check_and_unscale_cpu__fn = void (*)(
|
||||
TensorList,
|
||||
Tensor&,
|
||||
const Tensor&);
|
||||
|
||||
using _amp_update_scale_cpu__fn = Tensor& (*)(
|
||||
Tensor&,
|
||||
Tensor&,
|
||||
const Tensor&,
|
||||
double,
|
||||
double,
|
||||
int64_t);
|
||||
|
||||
DECLARE_DISPATCH(_amp_foreach_non_finite_check_and_unscale_cpu__fn, _amp_foreach_non_finite_check_and_unscale_cpu_stub)
|
||||
DECLARE_DISPATCH(_amp_update_scale_cpu__fn, _amp_update_scale_cpu_stub)
|
||||
|
||||
} // namespace native
|
||||
} // namespace at
|
Loading…
Add table
Add a link
Reference in a new issue