Home
last modified time | relevance | path

Searched full:pixel_shuffle (Results 1 – 25 of 65) sorted by relevance

123

/aosp_15_r20/external/pytorch/torch/csrc/api/include/torch/nn/functional/
H A Dpixelshuffle.h11 inline Tensor pixel_shuffle(const Tensor& input, int64_t upscale_factor) { in pixel_shuffle() function
12 return torch::pixel_shuffle(input, upscale_factor); in pixel_shuffle()
22 /// https://pytorch.org/docs/main/nn.functional.html#torch.nn.functional.pixel_shuffle
31 /// F::pixel_shuffle(x, F::PixelShuffleFuncOptions(2));
33 inline Tensor pixel_shuffle( in pixel_shuffle() function
36 return detail::pixel_shuffle(input, options.upscale_factor()); in pixel_shuffle()
/aosp_15_r20/external/pytorch/aten/src/ATen/native/
H A DPixelShuffle.h9 "pixel_shuffle expects input to have at least 3 dimensions, but got input with ", in check_pixel_shuffle_shapes()
12 "pixel_shuffle expects a positive upscale_factor, but got ", in check_pixel_shuffle_shapes()
17 … "pixel_shuffle expects its input's 'channel' dimension to be divisible by the square of " in check_pixel_shuffle_shapes()
H A Dts_native_functions.yaml200 - pixel_shuffle
H A DPixelShuffle.cpp112 // pixel_shuffle expects to *never* return an alias of the input. in math_pixel_shuffle()
/aosp_15_r20/external/pytorch/torch/nn/modules/
H A Dpixelshuffle.py41 >>> pixel_shuffle = nn.PixelShuffle(3)
43 >>> output = pixel_shuffle(input)
59 return F.pixel_shuffle(input, self.upscale_factor)
/aosp_15_r20/external/executorch/backends/apple/mps/runtime/operations/
H A DShapeOps.mm171 ndims >= 3, Internal, "pixel_shuffle requires tensor with at least 3 dimensions.");
179 "pixel_shuffle channels must be divisible by upscale factor squared.");
187 name:@"pixel_shuffle"];
/aosp_15_r20/external/pytorch/test/onnx/model_defs/
H A Dsuper_resolution.py14 self.pixel_shuffle = nn.PixelShuffle(upscale_factor)
22 x = self.pixel_shuffle(self.conv4(x))
/aosp_15_r20/external/pytorch/torch/csrc/api/include/torch/nn/options/
H A Dpixelshuffle.h39 /// Options for `torch::nn::functional::pixel_shuffle`.
47 /// F::pixel_shuffle(x, F::PixelShuffleFuncOptions(2));
/aosp_15_r20/external/pytorch/torch/ao/ns/fx/
H A Dmappings.py341 F.pixel_shuffle,
554 F.pixel_shuffle,
/aosp_15_r20/external/pytorch/torch/onnx/
H A Dsymbolic_opset11.py66 "pixel_shuffle",
325 @_onnx_symbolic("aten::pixel_shuffle")
327 def pixel_shuffle(g: jit_utils.GraphContext, self, upscale_factor): function
330 return symbolic_helper._unimplemented("pixel_shuffle", "only support 4d input")
/aosp_15_r20/external/pytorch/torch/_refs/nn/functional/
H A D__init__.py1218 @register_decomposition(aten.pixel_shuffle)
1220 def pixel_shuffle(self: Tensor, upscale_factor: int): function
1223 …lambda: f"pixel_shuffle expects input to have at least 3 dimensions, but got input with {self.dim}…
/aosp_15_r20/external/pytorch/torch/csrc/lazy/ts_backend/
H A Dts_native_functions.cpp427 at::Tensor LazyNativeFunctions::pixel_shuffle( in pixel_shuffle() function in torch::lazy::LazyNativeFunctions
431 pixel_shuffle)>::call(self, upscale_factor); in pixel_shuffle()
/aosp_15_r20/external/pytorch/torch/_functorch/
H A Dtop_operators_github_usage.py308 ("nn.functional.pixel_shuffle", 209),
451 ("nn.PixelShuffle", 6571, "nn.functional.pixel_shuffle"),
/aosp_15_r20/external/pytorch/torch/csrc/api/src/nn/modules/
H A Dpixelshuffle.cpp19 return F::detail::pixel_shuffle(input, options.upscale_factor()); in forward()
/aosp_15_r20/external/executorch/backends/qualcomm/builders/
H A Dop_depth_to_space.py21 target = ["aten.pixel_shuffle.default"]
/aosp_15_r20/external/executorch/backends/mediatek/
H A Dpartitioner.py74 torch.ops.aten.pixel_shuffle.default,
/aosp_15_r20/external/pytorch/docs/source/
H A Dnn.functional.rst200 pixel_shuffle
/aosp_15_r20/external/pytorch/test/jit/
H A Dtest_models.py469 self.pixel_shuffle = nn.PixelShuffle(upscale_factor)
475 x = self.pixel_shuffle(self.conv4(x))
/aosp_15_r20/external/executorch/backends/qualcomm/tests/
H A Dmodels.py707 self.pixel_shuffle = torch.nn.PixelShuffle(scale)
710 return self.pixel_shuffle(x)
/aosp_15_r20/external/executorch/kernels/test/
H A Dop_pixel_shuffle_test.cpp42 // Destination for the pixel_shuffle. in test_pixel_shuffle()
/aosp_15_r20/external/pytorch/functorch/op_analysis/
H A Dpublic_api496 nn.functional.pixel_shuffle
/aosp_15_r20/external/executorch/kernels/aten/
H A Dfunctions.yaml292 - op: pixel_shuffle.out
/aosp_15_r20/external/executorch/backends/apple/mps/operators/
H A Dshape_ops.py167 target = "aten.pixel_shuffle.default"
/aosp_15_r20/external/pytorch/test/edge/
H A Dselected_operators.yaml296 aten::pixel_shuffle.out:
/aosp_15_r20/external/pytorch/functorch/dim/
H A DREADME.md24 def pixel_shuffle(img: torch.Tensor, upscale_factor=2):
396 def pixel_shuffle(img, upscale_factor=2):

123