mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Remove NestedTensorFactories.h (#133809)
Since it has no code. Pull Request resolved: https://github.com/pytorch/pytorch/pull/133809 Approved by: https://github.com/ezyang
This commit is contained in:
parent
187d55018a
commit
8d93fe510e
3 changed files with 1 additions and 3 deletions
|
|
@ -1,6 +1,5 @@
|
|||
#include <ATen/ATen.h>
|
||||
#include <ATen/NestedTensorImpl.h>
|
||||
#include <ATen/native/nested/NestedTensorFactories.h>
|
||||
#include <ATen/native/nested/NestedTensorUtils.h>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
#pragma once
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue