Commit 0fff2951 authored by Benjamin Thomas Graham's avatar Benjamin Thomas Graham
Browse files

fix cpu-only compilation

parent cd155261
...@@ -581,13 +581,11 @@ FOO; ...@@ -581,13 +581,11 @@ FOO;
FOO; FOO;
#undef DIMENSION #undef DIMENSION
at::Tensor CopyFeaturesHelper_updateOutput(at::Tensor rules, at::Tensor context, void CopyFeaturesHelper_updateOutput(at::Tensor rules, at::Tensor context,
at::Tensor Context) { at::Tensor Context) {
return cpu_CopyFeaturesHelper_updateOutput<float>(rules, context, Context); cpu_CopyFeaturesHelper_updateOutput<float>(rules, context, Context);
} }
at::Tensor CopyFeaturesHelper_updateGradInput(at::Tensor rules, void CopyFeaturesHelper_updateGradInput(at::Tensor rules, at::Tensor dcontext,
at::Tensor dcontext,
at::Tensor dContext) { at::Tensor dContext) {
return cpu_CopyFeaturesHelper_updateGradInput<float>(rules, dcontext, cpu_CopyFeaturesHelper_updateGradInput<float>(rules, dcontext, dContext);
dContext);
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment