Commit 2f85a57
committed
Update on "Implement correction argument in torch.masked.{std,var}"
This makes the signature of `torch.masked.std` and `var` more consistent with the global namespace variant and also updates the sample inputs to repurpose the existing `sample_inputs_std_var` inputs which fully exercise the `correction` argument.
[ghstack-poisoned]299 files changed
Lines changed: 5445 additions & 2391 deletions
File tree
- .github
- ci_commit_pins
- requirements
- .jenkins/pytorch
- aten/src/ATen
- cpu/vec
- vec256
- vsx
- vec512
- cuda
- functorch
- native
- cpu
- cuda
- cudnn
- miopen
- mps/operations
- quantized
- cpu
- transformers/cuda/flash_attn
- utils
- vulkan
- api
- glsl
- templates
- ops
- test
- benchmarks
- dynamo
- functional_autograd_benchmark
- c10
- core/impl
- util
- caffe2/python
- models
- operator_test
- trt
- docs/source
- notes
- functorch
- _src
- aot_autograd
- eager_transforms
- make_functional
- vmap
- benchmarks
- compile
- experimental
- test
- cpp/jit
- distributed
- _composable
- _tensor
- fsdp
- optim
- dynamo
- functorch
- inductor
- jit
- lazy
- nn
- onnx
- quantization
- ao_migration
- core
- fx
- tools
- autograd
- test
- torchgen
- torch
- _C
- _decomp
- _dynamo
- optimizations
- variables
- _functorch
- _inductor
- codegen
- triton_ops
- _prims_common
- _prims
- _refs
- nn/functional
- _subclasses
- ao
- ns
- fx
- quantization
- fx
- autograd
- csrc
- autograd
- cuda
- distributed/c10d
- jit
- codegen/cuda/python_frontend
- runtime
- tensorexpr
- lazy/core
- profiler
- cuda
- distributed
- _composable
- _tensor
- _tools
- elastic/rendezvous
- fsdp
- optim
- pipeline/sync/skip
- rpc
- fx
- experimental
- unification/multipledispatch
- passes
- jit
- nn
- parallel
- utils
- onnx
- _internal
- profiler
- quantization
- fx
- testing
- _internal
- distributed/_tensor
- utils/data/datapipes
- iter
- map
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
| 255 | + | |
256 | 256 | | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | 257 | | |
261 | 258 | | |
262 | 259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
104 | 114 | | |
105 | 115 | | |
106 | 116 | | |
107 | 117 | | |
108 | 118 | | |
109 | 119 | | |
110 | | - | |
111 | 120 | | |
112 | 121 | | |
113 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | | - | |
| 130 | + | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
| 210 | + | |
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
260 | | - | |
| 259 | + | |
261 | 260 | | |
262 | 261 | | |
263 | 262 | | |
| |||
266 | 265 | | |
267 | 266 | | |
268 | 267 | | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
269 | 277 | | |
270 | 278 | | |
271 | 279 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
| 188 | + | |
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
| 224 | + | |
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| |||
0 commit comments