diff --git a/aten/src/ATen/native/nested/NestedTensorFactories.cpp b/aten/src/ATen/native/nested/NestedTensorFactories.cpp index c780b13dd65..e9ceb91d773 100644 --- a/aten/src/ATen/native/nested/NestedTensorFactories.cpp +++ b/aten/src/ATen/native/nested/NestedTensorFactories.cpp @@ -1,6 +1,5 @@ #include #include -#include #include diff --git a/aten/src/ATen/native/nested/NestedTensorFactories.h b/aten/src/ATen/native/nested/NestedTensorFactories.h deleted file mode 100644 index 6f70f09beec..00000000000 --- a/aten/src/ATen/native/nested/NestedTensorFactories.h +++ /dev/null @@ -1 +0,0 @@ -#pragma once diff --git a/aten/src/ATen/native/nested/README.md b/aten/src/ATen/native/nested/README.md index d9eea75f057..e79256cff2d 100644 --- a/aten/src/ATen/native/nested/README.md +++ b/aten/src/ATen/native/nested/README.md @@ -22,7 +22,7 @@ The NestedTensor code is split into two parts: the C++ code and the Python code. - `NestedTensorUtils.h | NestedTensorUtils.cpp`: Utility functions for working with NestedTensors. (This is where you will find `map_nested_tensor` which is discussed below in the section on implementing new functions.) - `NestedTensorUnaryOps.cpp`: Unary operations on NestedTensors (functions that can be efficiently implemented via map_nt) - `NestedTensorBinaryOps.h | NestedTensorBinaryOps.cpp`: Binary operations on NestedTensors (functions that can be efficiently implemented via NestedTensor_elementwise_Tensor which can be found in the cpp file) -- `NestedTensorFactories.h | NestedTensorFactories.cpp`: Functions for creating NestedTensors (e.g. empty_like) +- `NestedTensorFactories.cpp`: Functions for creating NestedTensors (e.g. empty_like) - `NestedTensorMath.h | NestedTensorMath.cpp`: Math functions on NestedTensors (e.g. softmax, embedding) - `NestedTensorMatmul.cpp`: Matmul functions on NestedTensors (e.g. matmul, linear, bmm) - `NestedTensorTransformerFunctions.h | NestedTensorTransformerFunctions.cpp`: Functions for enabling the BetterTransformer work stream