diff --git a/CHANGELOG.md b/CHANGELOG.md
index 01cea8c5fd1..0a289c2c04a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,6 @@
+ * Upgrade presets for PyTorch 2.2.1 ([pull #1466](https://github.com/bytedeco/javacpp-presets/pull/1466))
+
### January 29, 2024 version 1.5.10
* Introduce `macosx-arm64` builds for PyTorch ([pull #1463](https://github.com/bytedeco/javacpp-presets/pull/1463))
* Reenable `linux-arm64` builds for CPython and NumPy ([pull #1386](https://github.com/bytedeco/javacpp-presets/pull/1386))
diff --git a/platform/pom.xml b/platform/pom.xml
index aad8a9aca6d..84fa45b000b 100644
--- a/platform/pom.xml
+++ b/platform/pom.xml
@@ -292,7 +292,7 @@
org.bytedeco
pytorch-platform
- 2.1.2-${project.version}
+ 2.2.1-${project.version}
org.bytedeco
diff --git a/pytorch/README.md b/pytorch/README.md
index cbdb732e2e2..387204919f3 100644
--- a/pytorch/README.md
+++ b/pytorch/README.md
@@ -9,7 +9,7 @@ Introduction
------------
This directory contains the JavaCPP Presets module for:
- * PyTorch 2.1.2 https://pytorch.org/
+ * PyTorch 2.2.1 https://pytorch.org/
Please refer to the parent README.md file for more detailed information about the JavaCPP Presets.
@@ -40,7 +40,7 @@ We can use [Maven 3](http://maven.apache.org/) to download and install automatic
4.0.0
org.bytedeco.pytorch
simplemnist
- 1.5.10
+ 1.5.11-SNAPSHOT
SimpleMNIST
@@ -48,28 +48,28 @@ We can use [Maven 3](http://maven.apache.org/) to download and install automatic
org.bytedeco
pytorch-platform
- 2.1.2-1.5.10
+ 2.2.1-1.5.11-SNAPSHOT
org.bytedeco
pytorch-platform-gpu
- 2.1.2-1.5.10
+ 2.2.1-1.5.11-SNAPSHOT
org.bytedeco
cuda-platform-redist
- 12.3-8.9-1.5.10
+ 12.3-8.9-1.5.11-SNAPSHOT
org.bytedeco
mkl-platform-redist
- 2024.0-1.5.10
+ 2024.0-1.5.11-SNAPSHOT
diff --git a/pytorch/cppbuild.sh b/pytorch/cppbuild.sh
index 8a3803f1fe7..8968c4e1f6c 100755
--- a/pytorch/cppbuild.sh
+++ b/pytorch/cppbuild.sh
@@ -35,7 +35,7 @@ if [[ $PLATFORM == windows* ]]; then
export PYTHON_BIN_PATH=$(which python.exe)
fi
-PYTORCH_VERSION=2.1.2
+PYTORCH_VERSION=2.2.1
export PYTORCH_BUILD_VERSION="$PYTORCH_VERSION"
export PYTORCH_BUILD_NUMBER=1
@@ -53,8 +53,9 @@ git checkout v$PYTORCH_VERSION
git submodule update --init --recursive
git submodule foreach --recursive 'git reset --hard'
-# https://github.com/pytorch/pytorch/pull/66219
-#patch -Np1 < ../../../pytorch.patch
+# Fix version of this submodule to allow compilation on windows.
+# Probably could be removed when we upgrade to next version of PyTorch.
+(cd third_party/pocketfft; git checkout 9d3ab05a7fffbc71a492bc6a17be034e83e8f0fe)
CPYTHON_HOST_PATH="$INSTALL_PATH/../../../cpython/cppbuild/$PLATFORM/host/"
CPYTHON_PATH="$INSTALL_PATH/../../../cpython/cppbuild/$PLATFORM/"
@@ -165,24 +166,11 @@ sedinplace 's/ build_deps()/ build_deps(); sys.exit()/g' setup.py
sedinplace 's/AND NOT DEFINED ENV{CUDAHOSTCXX}//g' cmake/public/cuda.cmake
sedinplace 's/CMAKE_CUDA_FLAGS "/CMAKE_CUDA_FLAGS " --use-local-env /g' CMakeLists.txt
-# work around some compiler bugs
-sedinplace 's/!defined(__INTEL_COMPILER))/!defined(__INTEL_COMPILER) \&\& (__GNUC__ < 11))/g' third_party/XNNPACK/src/xnnpack/intrinsics-polyfill.h
sedinplace 's/using ExpandingArrayDouble/public: using ExpandingArrayDouble/g' ./torch/csrc/api/include/torch/nn/options/pooling.h
-sedinplace 's/typedef c10::variant/public: typedef c10::variant/g' ./torch/csrc/api/include/torch/nn/options/upsampling.h
-sedinplace 's/std::copysign/copysignf/g' aten/src/ATen/native/cuda/*.cu
-sedinplace 's/std::trunc/truncf/g' aten/src/ATen/native/cuda/*.cu
-sedinplace 's/std::floor/floorf/g' aten/src/ATen/native/cuda/*.cu
-sedinplace 's/std::ceil/ceilf/g' aten/src/ATen/native/cuda/*.cu
-sedinplace 's/round(/roundf(/g' aten/src/ATen/native/cuda/*.cu
-sedinplace 's/floor(/floorf(/g' aten/src/ATen/native/cuda/*.cu
-sedinplace 's/ceil(/ceilf(/g' aten/src/ATen/native/cuda/*.cu
-sedinplace '/#include /a\
-#include \
-' caffe2/utils/math_gpu.cu
# allow setting the build directory and passing CUDA options
sedinplace "s/BUILD_DIR = .build./BUILD_DIR = os.environ['BUILD_DIR'] if 'BUILD_DIR' in os.environ else 'build'/g" tools/setup_helpers/env.py
-sedinplace "s/var.startswith(('BUILD_', 'USE_', 'CMAKE_'))/var.startswith(('BUILD_', 'USE_', 'CMAKE_', 'CUDA_'))/g" tools/setup_helpers/cmake.py
+sedinplace 's/var.startswith(("BUILD_", "USE_", "CMAKE_"))/var.startswith(("BUILD_", "USE_", "CMAKE_", "CUDA_"))/g' tools/setup_helpers/cmake.py
# allow resizing std::vector
sedinplace 's/TensorIndex(c10::nullopt_t)/TensorIndex(c10::nullopt_t none = None)/g' aten/src/ATen/TensorIndexing.h
diff --git a/pytorch/include_list.pl b/pytorch/include_list.pl
index 1435c82f3ec..a5153bb3f1d 100644
--- a/pytorch/include_list.pl
+++ b/pytorch/include_list.pl
@@ -52,6 +52,8 @@ sub go {
chdir "cppbuild/linux-x86_64-gpu/pytorch/torch/include";
+# Doesn't compile on Windows. Waiting for 2.2.1.
+#go('torch/csrc/api/include/torch/torch.h', 'torch/script.h', 'torch/csrc/inductor/aoti_model_container_runner.h');
go('torch/csrc/api/include/torch/torch.h', 'torch/script.h');
print <org.bytedeco
pytorch-platform-gpu
- 2.1.2-${project.parent.version}
+ 2.2.1-${project.parent.version}
JavaCPP Presets Platform GPU for PyTorch
diff --git a/pytorch/platform/pom.xml b/pytorch/platform/pom.xml
index d57f42b7b32..cdfa017a97a 100644
--- a/pytorch/platform/pom.xml
+++ b/pytorch/platform/pom.xml
@@ -12,7 +12,7 @@
org.bytedeco
pytorch-platform
- 2.1.2-${project.parent.version}
+ 2.2.1-${project.parent.version}
JavaCPP Presets Platform for PyTorch
diff --git a/pytorch/pom.xml b/pytorch/pom.xml
index 6501ca42c37..82a35b6b3cb 100644
--- a/pytorch/pom.xml
+++ b/pytorch/pom.xml
@@ -11,7 +11,7 @@
org.bytedeco
pytorch
- 2.1.2-${project.parent.version}
+ 2.2.1-${project.parent.version}
JavaCPP Presets for PyTorch
diff --git a/pytorch/pytorch.patch b/pytorch/pytorch.patch
deleted file mode 100644
index ef316b44f0f..00000000000
--- a/pytorch/pytorch.patch
+++ /dev/null
@@ -1,738 +0,0 @@
-diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
-index f33eda2f94..a92a79a684 100644
---- a/.github/workflows/lint.yml
-+++ b/.github/workflows/lint.yml
-@@ -97,7 +97,7 @@ jobs:
- - name: Ensure no direct cub include
- if: always()
- run: |
-- (! git --no-pager grep -I -no $'#include
- #include
-
-+#include
-+
-+#if USE_GLOBAL_CUB_WRAPPED_NAMESPACE()
-+
-+#include
-+
-+#else
-+
- // include cub in a safe manner, see:
- // https://github.com/pytorch/pytorch/pull/55292
- #undef CUB_NS_POSTFIX //undef to avoid redefinition warnings
- #undef CUB_NS_PREFIX
--#define CUB_NS_PREFIX namespace at { namespace cuda { namespace detail {
--#define CUB_NS_POSTFIX }}}
-+#undef CUB_NS_QUALIFIER
-+#define CUB_NS_PREFIX namespace at_cuda_detail {
-+#define CUB_NS_POSTFIX }
-+#define CUB_NS_QUALIFIER ::at_cuda_detail::cub
- #include
- #undef CUB_NS_POSTFIX
- #undef CUB_NS_PREFIX
-+#undef CUB_NS_QUALIFIER
-+
-+#endif
-
- #include
- #include
-@@ -33,16 +46,40 @@
- #define NO_ROCM(x)
- #else
- #define NO_ROCM(x) x
-+#endif
-
--namespace at { namespace native {
-+#if !defined(USE_ROCM) && !CUB_SUPPORTS_NV_BFLOAT16()
-+
-+namespace at_cuda_detail {
-+// backport https://github.com/NVIDIA/cub/pull/306 for c10::BFloat16
-+
-+template <>
-+struct cub::FpLimits
-+{
-+ static __host__ __device__ __forceinline__ c10::BFloat16 Max() {
-+ unsigned short max_word = 0x7F7F;
-+ return reinterpret_cast(max_word);
-+ }
-+
-+ static __host__ __device__ __forceinline__ c10::BFloat16 Lowest() {
-+ unsigned short lowest_word = 0xFF7F;
-+ return reinterpret_cast(lowest_word);
-+ }
-+};
-
--namespace cub = at::cuda::detail::cub;
-+template <> struct cub::NumericTraits: cub::BaseTraits {};
-+}
-+#endif
-
-+#if !defined(USE_ROCM)
-+namespace at { namespace native {
-+namespace cub = ::at_cuda_detail::cub;
- }}
- #endif
-
- namespace at {
- namespace cuda {
-+namespace cub {
-
- namespace detail {
-
-@@ -55,44 +92,17 @@ struct cuda_type {
- using type = __half;
- };
-
--#if defined(CUDA_VERSION) && CUDA_VERSION >= 11050
--// cub sort support for __nv_bfloat16 is added to cub 1.13 in
--// https://github.com/NVIDIA/cub/pull/306 and according to
--// https://github.com/NVIDIA/cub#releases, 1.13 is included in
--// CUDA Toolkit 11.5
-+#if CUB_SUPPORTS_NV_BFLOAT16()
-
--// waiting for https://github.com/NVIDIA/cub/pull/306 to land on CUDA
- template<>
- struct cuda_type {
- using type = __nv_bfloat16;
- };
-
--#elif !defined(__HIP_PLATFORM_HCC__)
--
--// backport https://github.com/NVIDIA/cub/pull/306 for c10::BFloat16
--
--template <>
--struct cub::FpLimits
--{
-- static __host__ __device__ __forceinline__ c10::BFloat16 Max() {
-- unsigned short max_word = 0x7F7F;
-- return reinterpret_cast(max_word);
-- }
--
-- static __host__ __device__ __forceinline__ c10::BFloat16 Lowest() {
-- unsigned short lowest_word = 0xFF7F;
-- return reinterpret_cast(lowest_word);
-- }
--};
--
--template <> struct cub::NumericTraits: cub::BaseTraits {};
--
- #endif
-
- } // namespace detail
-
--namespace cub {
--
- inline int get_num_bits(uint64_t max_key) {
- int num_bits = 1;
- while (max_key > 1) {
-@@ -115,11 +125,11 @@ static inline void sort_keys(
- key_t_ *keys_out_ = reinterpret_cast(keys_out);
-
- if (descending) {
-- CUB_WRAPPER(NO_ROCM(detail)::cub::DeviceRadixSort::SortKeysDescending,
-+ CUB_WRAPPER(NO_ROCM(at_cuda_detail)::cub::DeviceRadixSort::SortKeysDescending,
- keys_in_, keys_out_, n,
- begin_bit, end_bit, c10::cuda::getCurrentCUDAStream());
- } else {
-- CUB_WRAPPER(NO_ROCM(detail)::cub::DeviceRadixSort::SortKeys,
-+ CUB_WRAPPER(NO_ROCM(at_cuda_detail)::cub::DeviceRadixSort::SortKeys,
- keys_in_, keys_out_, n,
- begin_bit, end_bit, c10::cuda::getCurrentCUDAStream());
- }
-@@ -147,11 +157,11 @@ static inline void sort_pairs(
- key_t_ *keys_out_ = reinterpret_cast(keys_out);
-
- if (descending) {
-- CUB_WRAPPER(NO_ROCM(detail)::cub::DeviceRadixSort::SortPairsDescending,
-+ CUB_WRAPPER(NO_ROCM(at_cuda_detail)::cub::DeviceRadixSort::SortPairsDescending,
- keys_in_, keys_out_, values_in, values_out, n,
- begin_bit, end_bit, c10::cuda::getCurrentCUDAStream());
- } else {
-- CUB_WRAPPER(NO_ROCM(detail)::cub::DeviceRadixSort::SortPairs,
-+ CUB_WRAPPER(NO_ROCM(at_cuda_detail)::cub::DeviceRadixSort::SortPairs,
- keys_in_, keys_out_, values_in, values_out, n,
- begin_bit, end_bit, c10::cuda::getCurrentCUDAStream());
- }
-@@ -183,12 +193,12 @@ static inline void segmented_sort_pairs(
- key_t_ *keys_out_ = reinterpret_cast(keys_out);
-
- if (descending) {
-- CUB_WRAPPER(NO_ROCM(detail)::cub::DeviceSegmentedRadixSort::SortPairsDescending,
-+ CUB_WRAPPER(NO_ROCM(at_cuda_detail)::cub::DeviceSegmentedRadixSort::SortPairsDescending,
- keys_in_, keys_out_, values_in, values_out,
- num_elements, num_segments, begin_offsets, end_offsets,
- begin_bit, end_bit, c10::cuda::getCurrentCUDAStream());
- } else {
-- CUB_WRAPPER(NO_ROCM(detail)::cub::DeviceSegmentedRadixSort::SortPairs,
-+ CUB_WRAPPER(NO_ROCM(at_cuda_detail)::cub::DeviceSegmentedRadixSort::SortPairs,
- keys_in_, keys_out_, values_in, values_out,
- num_elements, num_segments, begin_offsets, end_offsets,
- begin_bit, end_bit, c10::cuda::getCurrentCUDAStream());
-@@ -240,7 +250,7 @@ inline void inclusive_scan(InputIteratorT input, OutputIteratorT output, ScanOpT
- // so split at int_max/2
- constexpr int max_cub_size = std::numeric_limits::max() / 2 + 1; // 2**30
- int size_cub = std::min(num_items, max_cub_size);
-- CUB_WRAPPER(NO_ROCM(detail)::cub::DeviceScan::InclusiveScan,
-+ CUB_WRAPPER(NO_ROCM(at_cuda_detail)::cub::DeviceScan::InclusiveScan,
- input,
- output,
- scan_op,
-@@ -260,7 +270,7 @@ inline void inclusive_scan(InputIteratorT input, OutputIteratorT output, ScanOpT
- first_elem_ptr,
- scan_op);
- C10_CUDA_KERNEL_LAUNCH_CHECK();
-- using ArgIndexInputIterator = NO_ROCM(detail)::cub::ArgIndexInputIterator;
-+ using ArgIndexInputIterator = NO_ROCM(at_cuda_detail)::cub::ArgIndexInputIterator;
- using tuple = typename ArgIndexInputIterator::value_type;
- auto input_iter_transform = [=] __device__ (const tuple &x)->input_t {
- if (x.key == 0) {
-@@ -269,9 +279,9 @@ inline void inclusive_scan(InputIteratorT input, OutputIteratorT output, ScanOpT
- return x.value;
- }
- };
-- auto input_ = NO_ROCM(detail)::cub::TransformInputIterator(
-+ auto input_ = NO_ROCM(at_cuda_detail)::cub::TransformInputIterator(
- ArgIndexInputIterator(input + i), input_iter_transform);
-- CUB_WRAPPER(NO_ROCM(detail)::cub::DeviceScan::InclusiveScan,
-+ CUB_WRAPPER(NO_ROCM(at_cuda_detail)::cub::DeviceScan::InclusiveScan,
- input_,
- output + i,
- scan_op,
-@@ -287,7 +297,7 @@ inline void exclusive_scan(InputIteratorT input, OutputIteratorT output, ScanOpT
- // so split at int_max/2
- constexpr int max_cub_size = std::numeric_limits::max() / 2 + 1; // 2**30
- int size_cub = std::min(num_items, max_cub_size);
-- CUB_WRAPPER(NO_ROCM(detail)::cub::DeviceScan::ExclusiveScan,
-+ CUB_WRAPPER(NO_ROCM(at_cuda_detail)::cub::DeviceScan::ExclusiveScan,
- input,
- output,
- scan_op,
-@@ -309,7 +319,7 @@ inline void exclusive_scan(InputIteratorT input, OutputIteratorT output, ScanOpT
- C10_CUDA_KERNEL_LAUNCH_CHECK();
- auto input_ = impl::chained_iterator{
- input + i, first_elem_ptr};
-- CUB_WRAPPER(NO_ROCM(detail)::cub::DeviceScan::InclusiveScan,
-+ CUB_WRAPPER(NO_ROCM(at_cuda_detail)::cub::DeviceScan::InclusiveScan,
- input_,
- output + i,
- scan_op,
-@@ -322,7 +332,7 @@ template::max(),
- "cub unique does not support more than INT_MAX elements");
-- CUB_WRAPPER(NO_ROCM(detail)::cub::DeviceSelect::Unique,
-+ CUB_WRAPPER(NO_ROCM(at_cuda_detail)::cub::DeviceSelect::Unique,
- input, output, num_selected_out, num_items, at::cuda::getCurrentCUDAStream());
- }
-
-diff --git a/aten/src/ATen/cuda/cub_definitions.cuh b/aten/src/ATen/cuda/cub_definitions.cuh
-new file mode 100644
-index 0000000000000..61119fc174587
---- /dev/null
-+++ b/aten/src/ATen/cuda/cub_definitions.cuh
-@@ -0,0 +1,29 @@
-+#pragma once
-+
-+#if !defined(USE_ROCM)
-+#include // for CUDA_VERSION
-+#endif
-+
-+#if defined(CUDA_VERSION) && CUDA_VERSION >= 11000
-+#include
-+#else
-+#define CUB_VERSION 0
-+#endif
-+
-+// cub sort support for __nv_bfloat16 is added to cub 1.13 in:
-+// https://github.com/NVIDIA/cub/pull/306
-+#if CUB_VERSION >= 101300
-+#define CUB_SUPPORTS_NV_BFLOAT16() true
-+#else
-+#define CUB_SUPPORTS_NV_BFLOAT16() false
-+#endif
-+
-+// cub sort support for CUB_WRAPPED_NAMESPACE is added to cub 1.13.1 in:
-+// https://github.com/NVIDIA/cub/pull/326
-+// CUB_WRAPPED_NAMESPACE is defined globally in cmake/Dependencies.cmake
-+// starting from CUDA 11.5
-+#if defined(CUB_WRAPPED_NAMESPACE) || defined(THRUST_CUB_WRAPPED_NAMESPACE)
-+#define USE_GLOBAL_CUB_WRAPPED_NAMESPACE() true
-+#else
-+#define USE_GLOBAL_CUB_WRAPPED_NAMESPACE() false
-+#endif
-diff --git a/caffe2/core/context_gpu.cu b/caffe2/core/context_gpu.cu
-index c2b89945ad..6d53740091 100644
---- a/caffe2/core/context_gpu.cu
-+++ b/caffe2/core/context_gpu.cu
-@@ -21,6 +21,7 @@
- #include "caffe2/core/logging.h"
- #include "caffe2/core/tensor.h"
- #include "caffe2/utils/string_utils.h"
-+#include "caffe2/utils/cub_namespace.cuh"
-
- C10_DEFINE_string(
- caffe2_cuda_memory_pool,
-diff --git a/caffe2/operators/accuracy_op.cu b/caffe2/operators/accuracy_op.cu
-index f06663d71a..29df54e752 100644
---- a/caffe2/operators/accuracy_op.cu
-+++ b/caffe2/operators/accuracy_op.cu
-@@ -3,6 +3,7 @@
- #include "caffe2/utils/GpuAtomics.cuh"
- #include "caffe2/utils/math.h"
-
-+#include "caffe2/utils/cub_namespace.cuh"
- #include
-
- namespace caffe2 {
-diff --git a/caffe2/operators/affine_channel_op.cu b/caffe2/operators/affine_channel_op.cu
-index adf4ac55c0..efae0a3fc6 100644
---- a/caffe2/operators/affine_channel_op.cu
-+++ b/caffe2/operators/affine_channel_op.cu
-@@ -1,5 +1,6 @@
- #include "caffe2/operators/affine_channel_op.h"
-
-+#include "caffe2/utils/cub_namespace.cuh"
- #include
-
- #include "caffe2/core/context_gpu.h"
-diff --git a/caffe2/operators/arg_ops.cu b/caffe2/operators/arg_ops.cu
-index 7e90d25b83..56deaa6363 100644
---- a/caffe2/operators/arg_ops.cu
-+++ b/caffe2/operators/arg_ops.cu
-@@ -2,8 +2,8 @@
-
- #include
-
-+#include "caffe2/utils/cub_namespace.cuh"
- #include
--#include
-
- #include "caffe2/core/common_gpu.h"
- #include "caffe2/core/context_gpu.h"
-diff --git a/caffe2/operators/batch_moments_op.cu b/caffe2/operators/batch_moments_op.cu
-index 4b693b5c04..81359f6440 100644
---- a/caffe2/operators/batch_moments_op.cu
-+++ b/caffe2/operators/batch_moments_op.cu
-@@ -1,5 +1,6 @@
- #include "caffe2/operators/batch_moments_op.h"
-
-+#include "caffe2/utils/cub_namespace.cuh"
- #include
-
- #include "caffe2/core/context_gpu.h"
-diff --git a/caffe2/operators/batch_sparse_to_dense_op.cu b/caffe2/operators/batch_sparse_to_dense_op.cu
-index aea2035a5d..3e7ad8af9a 100644
---- a/caffe2/operators/batch_sparse_to_dense_op.cu
-+++ b/caffe2/operators/batch_sparse_to_dense_op.cu
-@@ -1,5 +1,6 @@
- #include "caffe2/operators/batch_sparse_to_dense_op.h"
-
-+#include "caffe2/utils/cub_namespace.cuh"
- #include
-
- #include "caffe2/core/context_gpu.h"
-diff --git a/caffe2/operators/boolean_mask_ops.cu b/caffe2/operators/boolean_mask_ops.cu
-index 214b7c13ba..501dd3b191 100644
---- a/caffe2/operators/boolean_mask_ops.cu
-+++ b/caffe2/operators/boolean_mask_ops.cu
-@@ -2,8 +2,8 @@
-
- #include "caffe2/core/context_gpu.h"
- #include "caffe2/operators/boolean_mask_ops.h"
--
- #include
-+#include "caffe2/utils/cub_namespace.cuh"
-
- namespace caffe2 {
-
-diff --git a/caffe2/operators/cross_entropy_op.cu b/caffe2/operators/cross_entropy_op.cu
-index 380e80399f..c23f05f8e5 100644
---- a/caffe2/operators/cross_entropy_op.cu
-+++ b/caffe2/operators/cross_entropy_op.cu
-@@ -4,6 +4,7 @@
- #include "caffe2/core/context_gpu.h"
- #include "caffe2/operators/cross_entropy_op.h"
- #include "caffe2/operators/operator_fallback_gpu.h"
-+#include "caffe2/utils/cub_namespace.cuh"
-
- namespace caffe2 {
-
-diff --git a/caffe2/operators/distance_op.cu b/caffe2/operators/distance_op.cu
-index 3a8bb337d5..a360166854 100644
---- a/caffe2/operators/distance_op.cu
-+++ b/caffe2/operators/distance_op.cu
-@@ -4,6 +4,7 @@
- #include "caffe2/operators/distance_op.h"
- #include "caffe2/utils/conversions.h"
-
-+#include "caffe2/utils/cub_namespace.cuh"
- #include
-
- namespace caffe2 {
-diff --git a/caffe2/operators/elementwise_div_op.cu b/caffe2/operators/elementwise_div_op.cu
-index 42b103a0f1..33118a8f5e 100644
---- a/caffe2/operators/elementwise_div_op.cu
-+++ b/caffe2/operators/elementwise_div_op.cu
-@@ -3,8 +3,8 @@
- #include
- #include
-
-+#include "caffe2/utils/cub_namespace.cuh"
- #include
--#include
-
- #include "caffe2/core/context_gpu.h"
- #include "caffe2/operators/elementwise_ops_utils.h"
-diff --git a/caffe2/operators/elementwise_linear_op.cu b/caffe2/operators/elementwise_linear_op.cu
-index cc49115bff..8f749644b2 100644
---- a/caffe2/operators/elementwise_linear_op.cu
-+++ b/caffe2/operators/elementwise_linear_op.cu
-@@ -5,6 +5,7 @@
- #include "caffe2/core/context_gpu.h"
- #include "caffe2/operators/operator_fallback_gpu.h"
-
-+#include "caffe2/utils/cub_namespace.cuh"
- #include
-
- namespace caffe2 {
-diff --git a/caffe2/operators/elementwise_mul_op.cu b/caffe2/operators/elementwise_mul_op.cu
-index bdbf760cf9..1991b8b513 100644
---- a/caffe2/operators/elementwise_mul_op.cu
-+++ b/caffe2/operators/elementwise_mul_op.cu
-@@ -3,8 +3,8 @@
- #include
- #include
-
-+#include "caffe2/utils/cub_namespace.cuh"
- #include
--#include
-
- #include "caffe2/core/context_gpu.h"
- #include "caffe2/operators/elementwise_ops_utils.h"
-diff --git a/caffe2/operators/elementwise_ops.cu b/caffe2/operators/elementwise_ops.cu
-index c9ced33cf8..932bd5dafd 100644
---- a/caffe2/operators/elementwise_ops.cu
-+++ b/caffe2/operators/elementwise_ops.cu
-@@ -1,5 +1,6 @@
- #include "caffe2/operators/elementwise_ops.h"
-
-+#include "caffe2/utils/cub_namespace.cuh"
- #include
- #include
- #include
-diff --git a/caffe2/operators/find_op.cu b/caffe2/operators/find_op.cu
-index f8ff2bab16..0418a71fbc 100644
---- a/caffe2/operators/find_op.cu
-+++ b/caffe2/operators/find_op.cu
-@@ -1,6 +1,7 @@
- #include
- #include "caffe2/core/context_gpu.h"
- #include "caffe2/operators/find_op.h"
-+#include "caffe2/utils/cub_namespace.cuh"
-
- namespace caffe2 {
-
-diff --git a/caffe2/operators/generate_proposals_op.cu b/caffe2/operators/generate_proposals_op.cu
-index 64518538b6..a4207f8653 100644
---- a/caffe2/operators/generate_proposals_op.cu
-+++ b/caffe2/operators/generate_proposals_op.cu
-@@ -5,6 +5,7 @@
- #include "caffe2/operators/generate_proposals_op_util_boxes.h" // BBOX_XFORM_CLIP_DEFAULT
- #include "caffe2/operators/generate_proposals_op_util_nms.h"
- #include "caffe2/operators/generate_proposals_op_util_nms_gpu.h"
-+#include "caffe2/utils/cub_namespace.cuh"
-
- #ifdef __HIP_PLATFORM_HCC__
- #include
-diff --git a/caffe2/operators/normalize_ops.cu b/caffe2/operators/normalize_ops.cu
-index 26df05308d..e4d1f34b75 100644
---- a/caffe2/operators/normalize_ops.cu
-+++ b/caffe2/operators/normalize_ops.cu
-@@ -5,6 +5,7 @@
- #include "caffe2/core/context_gpu.h"
- #include "caffe2/operators/normalize_l1_op.h"
- #include "caffe2/operators/normalize_op.h"
-+#include "caffe2/utils/cub_namespace.cuh"
-
- namespace caffe2 {
-
-diff --git a/caffe2/operators/one_hot_ops.cu b/caffe2/operators/one_hot_ops.cu
-index e521b3dd09..87e8196765 100644
---- a/caffe2/operators/one_hot_ops.cu
-+++ b/caffe2/operators/one_hot_ops.cu
-@@ -2,6 +2,7 @@
-
- #include "caffe2/core/context_gpu.h"
- #include "caffe2/operators/one_hot_ops.h"
-+#include "caffe2/utils/cub_namespace.cuh"
-
- namespace caffe2 {
-
-diff --git a/caffe2/operators/pack_segments.cu b/caffe2/operators/pack_segments.cu
-index 7475100fd3..372638abdd 100644
---- a/caffe2/operators/pack_segments.cu
-+++ b/caffe2/operators/pack_segments.cu
-@@ -1,6 +1,7 @@
- #include
- #include "caffe2/core/context_gpu.h"
- #include "caffe2/operators/pack_segments.h"
-+#include "caffe2/utils/cub_namespace.cuh"
-
- namespace caffe2 {
-
-diff --git a/caffe2/operators/prelu_op.cu b/caffe2/operators/prelu_op.cu
-index 745a393f07..6303b70b4a 100644
---- a/caffe2/operators/prelu_op.cu
-+++ b/caffe2/operators/prelu_op.cu
-@@ -1,6 +1,7 @@
- #include "caffe2/core/context_gpu.h"
- #include "caffe2/operators/prelu_op.h"
-
-+#include "caffe2/utils/cub_namespace.cuh"
- #include
-
- namespace caffe2 {
-diff --git a/caffe2/operators/reduce_front_back_max_ops.cu b/caffe2/operators/reduce_front_back_max_ops.cu
-index 3c6ee7f0ae..c41d5ad579 100644
---- a/caffe2/operators/reduce_front_back_max_ops.cu
-+++ b/caffe2/operators/reduce_front_back_max_ops.cu
-@@ -1,6 +1,7 @@
- #include
- #include "caffe2/core/context_gpu.h"
- #include "caffe2/operators/reduce_front_back_max_ops.h"
-+#include "caffe2/utils/cub_namespace.cuh"
-
- #ifdef __HIP_PLATFORM_HCC__
- #include
-diff --git a/caffe2/operators/reduce_front_back_sum_mean_ops.cu b/caffe2/operators/reduce_front_back_sum_mean_ops.cu
-index 476596f084..a7ad6dd500 100644
---- a/caffe2/operators/reduce_front_back_sum_mean_ops.cu
-+++ b/caffe2/operators/reduce_front_back_sum_mean_ops.cu
-@@ -1,6 +1,7 @@
- #include
- #include "caffe2/core/context_gpu.h"
- #include "caffe2/operators/reduce_front_back_sum_mean_ops.h"
-+#include "caffe2/utils/cub_namespace.cuh"
-
- namespace caffe2 {
-
-diff --git a/caffe2/operators/reduction_ops.cu b/caffe2/operators/reduction_ops.cu
-index ba55a66de5..9649b85d01 100644
---- a/caffe2/operators/reduction_ops.cu
-+++ b/caffe2/operators/reduction_ops.cu
-@@ -2,7 +2,7 @@
- #include "caffe2/operators/reduction_ops.h"
- #include "caffe2/utils/conversions.h"
-
--#include
-+#include "caffe2/utils/cub_namespace.cuh"
-
- namespace caffe2 {
-
-diff --git a/caffe2/operators/rmac_regions_op.cu b/caffe2/operators/rmac_regions_op.cu
-index 0ec2dd351a..de2b2553a7 100644
---- a/caffe2/operators/rmac_regions_op.cu
-+++ b/caffe2/operators/rmac_regions_op.cu
-@@ -1,4 +1,5 @@
- #include
-+#include "caffe2/utils/cub_namespace.cuh"
-
- #include "caffe2/core/context_gpu.h"
- #include "caffe2/operators/rmac_regions_op.h"
-@@ -10,6 +11,9 @@
- #ifdef __HIP_PLATFORM_HCC__
- namespace rocprim {
- #else
-+#if USE_GLOBAL_CUB_WRAPPED_NAMESPACE()
-+namespace at_cuda_detail {
-+#endif
- namespace cub {
- #endif
-
-@@ -22,6 +26,9 @@ inline __host__ __device__ bool operator<(
- }
-
- } // namespace cub
-+#if USE_GLOBAL_CUB_WRAPPED_NAMESPACE()
-+} // namespace at_cuda_detail
-+#endif
-
- namespace caffe2 {
-
-diff --git a/caffe2/operators/segment_reduction_op_gpu.cuh b/caffe2/operators/segment_reduction_op_gpu.cuh
-index ffe834e886..eebade352e 100644
---- a/caffe2/operators/segment_reduction_op_gpu.cuh
-+++ b/caffe2/operators/segment_reduction_op_gpu.cuh
-@@ -1,3 +1,4 @@
-+#include "caffe2/utils/cub_namespace.cuh"
- #include
- #include
- #include
-diff --git a/caffe2/operators/sequence_ops.cu b/caffe2/operators/sequence_ops.cu
-index cc34effd3f..2ceb5236ef 100644
---- a/caffe2/operators/sequence_ops.cu
-+++ b/caffe2/operators/sequence_ops.cu
-@@ -1,6 +1,7 @@
- #include
-
- #include
-+#include "caffe2/utils/cub_namespace.cuh"
-
- #include "caffe2/core/context_gpu.h"
- #include "caffe2/operators/sequence_ops.h"
-diff --git a/caffe2/operators/softmax_ops.cu b/caffe2/operators/softmax_ops.cu
-index 51c0cbc2bf..ebf0700c9e 100644
---- a/caffe2/operators/softmax_ops.cu
-+++ b/caffe2/operators/softmax_ops.cu
-@@ -5,6 +5,7 @@
- #include "caffe2/operators/softmax_op.h"
- #include "caffe2/operators/softmax_with_loss_op.h"
- #include "caffe2/operators/spatial_softmax_with_loss_op.h"
-+#include "caffe2/utils/cub_namespace.cuh"
-
- namespace caffe2 {
-
-diff --git a/caffe2/operators/spatial_batch_norm_op_impl.cuh b/caffe2/operators/spatial_batch_norm_op_impl.cuh
-index edc076c7d7..6fdb4c63f8 100644
---- a/caffe2/operators/spatial_batch_norm_op_impl.cuh
-+++ b/caffe2/operators/spatial_batch_norm_op_impl.cuh
-@@ -5,8 +5,8 @@
-
- #include
-
-+#include "caffe2/utils/cub_namespace.cuh"
- #include
--#include
-
- #include "caffe2/core/context_gpu.h"
- #include "caffe2/utils/math.h"
-diff --git a/caffe2/sgd/adagrad_fused_op_gpu.cu b/caffe2/sgd/adagrad_fused_op_gpu.cu
-index e2bf91c880..a7057c8737 100644
---- a/caffe2/sgd/adagrad_fused_op_gpu.cu
-+++ b/caffe2/sgd/adagrad_fused_op_gpu.cu
-@@ -2,6 +2,7 @@
- #include
- #include
-
-+#include "caffe2/utils/cub_namespace.cuh"
- #include
- #include "caffe2/sgd/adagrad_fused_op_gpu.cuh"
- #include "caffe2/utils/math.h"
-diff --git a/caffe2/sgd/adagrad_op_gpu.cu b/caffe2/sgd/adagrad_op_gpu.cu
-index 8abb3376ca..b80d29700c 100644
---- a/caffe2/sgd/adagrad_op_gpu.cu
-+++ b/caffe2/sgd/adagrad_op_gpu.cu
-@@ -4,6 +4,7 @@
- #include "caffe2/core/common_gpu.h"
- #include "caffe2/core/context_gpu.h"
- #include "caffe2/sgd/adagrad_op.h"
-+#include "caffe2/utils/cub_namespace.cuh"
-
- namespace caffe2 {
-
-diff --git a/caffe2/sgd/adam_op_gpu.cu b/caffe2/sgd/adam_op_gpu.cu
-index 42ab975faa..6f9c323420 100644
---- a/caffe2/sgd/adam_op_gpu.cu
-+++ b/caffe2/sgd/adam_op_gpu.cu
-@@ -2,6 +2,7 @@
- #include "caffe2/core/common_gpu.h"
- #include "caffe2/core/context_gpu.h"
- #include "caffe2/sgd/adam_op.h"
-+#include "caffe2/utils/cub_namespace.cuh"
-
- namespace caffe2 {
-
-diff --git a/caffe2/utils/cub_namespace.cuh b/caffe2/utils/cub_namespace.cuh
-new file mode 100644
-index 0000000000000..188a9936f9c6e
---- /dev/null
-+++ b/caffe2/utils/cub_namespace.cuh
-@@ -0,0 +1,17 @@
-+#pragma once
-+
-+// cub sort support for CUB_WRAPPED_NAMESPACE is added to cub 1.13.1 in:
-+// https://github.com/NVIDIA/cub/pull/326
-+// CUB_WRAPPED_NAMESPACE is defined globally in cmake/Dependencies.cmake
-+// starting from CUDA 11.5
-+#if defined(CUB_WRAPPED_NAMESPACE) || defined(THRUST_CUB_WRAPPED_NAMESPACE)
-+#define USE_GLOBAL_CUB_WRAPPED_NAMESPACE() true
-+#else
-+#define USE_GLOBAL_CUB_WRAPPED_NAMESPACE() false
-+#endif
-+
-+#if USE_GLOBAL_CUB_WRAPPED_NAMESPACE()
-+namespace caffe2 {
-+namespace cub = ::CUB_WRAPPED_NAMESPACE::cub;
-+}
-+#endif
-diff --git a/caffe2/utils/math/reduce.cu b/caffe2/utils/math/reduce.cu
-index 8c40c5d2b0..e8a8b768eb 100644
---- a/caffe2/utils/math/reduce.cu
-+++ b/caffe2/utils/math/reduce.cu
-@@ -5,9 +5,8 @@
- #include
- #include
- #include
--
-+#include "caffe2/utils/cub_namespace.cuh"
- #include
--#include
-
- #include
- #include
-diff --git a/caffe2/utils/math/reduce.cuh b/caffe2/utils/math/reduce.cuh
-index 0c43ad45a3..18bdca11b9 100644
---- a/caffe2/utils/math/reduce.cuh
-+++ b/caffe2/utils/math/reduce.cuh
-@@ -1,8 +1,8 @@
- #ifndef CAFFE2_UTILS_MATH_REDUCE_CUH_
- #define CAFFE2_UTILS_MATH_REDUCE_CUH_
-
-+#include "caffe2/utils/cub_namespace.cuh"
- #include
--#include
-
- #include "caffe2/core/common_gpu.h"
-
-diff --git a/caffe2/utils/math_gpu.cu b/caffe2/utils/math_gpu.cu
-index 7f3bb8eea6..54fbcca1d4 100644
---- a/caffe2/utils/math_gpu.cu
-+++ b/caffe2/utils/math_gpu.cu
-@@ -7,8 +7,9 @@
- #include
- #include
-
--#include
- #include
-+#include
-+#include "caffe2/utils/cub_namespace.cuh"
-
- #include
- #include
-diff --git a/cmake/Dependencies.cmake b/cmake/Dependencies.cmake
-index ca560288a4..5fd189e4a8 100644
---- a/cmake/Dependencies.cmake
-+++ b/cmake/Dependencies.cmake
-@@ -1622,6 +1622,12 @@ if(NOT INTERN_BUILD_MOBILE)
- list(APPEND CUDA_NVCC_FLAGS "-Xcompiler" "-fPIC")
- endif()
-
-+ # use cub in a safe manner, see:
-+ # https://github.com/pytorch/pytorch/pull/55292
-+ if(NOT ${CUDA_VERSION} LESS 11.5)
-+ list(APPEND CUDA_NVCC_FLAGS "-DCUB_WRAPPED_NAMESPACE=at_cuda_detail")
-+ endif()
-+
- if(CUDA_HAS_FP16 OR NOT ${CUDA_VERSION} LESS 7.5)
- message(STATUS "Found CUDA with FP16 support, compiling with torch.cuda.HalfTensor")
- list(APPEND CUDA_NVCC_FLAGS "-DCUDA_HAS_FP16=1" "-D__CUDA_NO_HALF_OPERATORS__" "-D__CUDA_NO_HALF_CONVERSIONS__"
diff --git a/pytorch/samples/pom.xml b/pytorch/samples/pom.xml
index 78b9db77337..35eac3291b5 100644
--- a/pytorch/samples/pom.xml
+++ b/pytorch/samples/pom.xml
@@ -12,14 +12,14 @@
org.bytedeco
pytorch-platform
- 2.1.2-1.5.11-SNAPSHOT
+ 2.2.1-1.5.11-SNAPSHOT
org.bytedeco
pytorch-platform-gpu
- 2.1.2-1.5.11-SNAPSHOT
+ 2.2.1-1.5.11-SNAPSHOT
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ASMoutput.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ASMoutput.java
index 84d6a228a2c..16a89281a22 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ASMoutput.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ASMoutput.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ActivityTypeSet.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ActivityTypeSet.java
index 6e529401db3..a439f4848b5 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ActivityTypeSet.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ActivityTypeSet.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Adagrad.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Adagrad.java
index 46007a84e6e..01a7f182ea6 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Adagrad.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Adagrad.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -35,10 +35,10 @@ public Adagrad(
private native void allocate(
@ByVal OptimizerParamGroupVector param_groups);
- public Adagrad(@Cast({"", "std::vector"}) @StdMove TensorVector params, @ByVal(nullValue = "torch::optim::AdagradOptions{}") AdagradOptions defaults) { super((Pointer)null); allocate(params, defaults); }
- private native void allocate(@Cast({"", "std::vector"}) @StdMove TensorVector params, @ByVal(nullValue = "torch::optim::AdagradOptions{}") AdagradOptions defaults);
- public Adagrad(@Cast({"", "std::vector"}) @StdMove TensorVector params) { super((Pointer)null); allocate(params); }
- private native void allocate(@Cast({"", "std::vector"}) @StdMove TensorVector params);
+ public Adagrad(@ByVal TensorVector params, @ByVal(nullValue = "torch::optim::AdagradOptions{}") AdagradOptions defaults) { super((Pointer)null); allocate(params, defaults); }
+ private native void allocate(@ByVal TensorVector params, @ByVal(nullValue = "torch::optim::AdagradOptions{}") AdagradOptions defaults);
+ public Adagrad(@ByVal TensorVector params) { super((Pointer)null); allocate(params); }
+ private native void allocate(@ByVal TensorVector params);
public native @ByVal Tensor step(@ByVal(nullValue = "torch::optim::Optimizer::LossClosure(nullptr)") LossClosure closure);
public native @ByVal Tensor step();
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdagradOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdagradOptions.java
index 029d51cd26f..04ff7eeb15d 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdagradOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdagradOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdagradParamState.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdagradParamState.java
index 9d3b5676e73..359ee78b6c3 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdagradParamState.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdagradParamState.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -21,14 +21,16 @@
@Namespace("torch::optim") @NoOffset @Properties(inherit = org.bytedeco.pytorch.presets.torch.class)
public class AdagradParamState extends OptimizerCloneableAdagradParamState {
static { Loader.load(); }
- /** Default native constructor. */
- public AdagradParamState() { super((Pointer)null); allocate(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AdagradParamState(Pointer p) { super(p); }
- @UniquePtr @Name("std::make_unique") private native void allocate();
public native @ByRef @NoException(true) Tensor sum();
public native @Cast("int64_t*") @ByRef @NoException(true) LongPointer step();
+ public AdagradParamState() { super((Pointer)null); allocate(); }
+ @UniquePtr @Name("std::make_unique") private native void allocate();
+ public AdagradParamState(@Const @ByRef AdagradParamState arg0) { super((Pointer)null); allocate(arg0); }
+ @UniquePtr @Name("std::make_unique") private native void allocate(@Const @ByRef AdagradParamState arg0);
+ public native @ByRef @Name("operator =") AdagradParamState put(@Const @ByRef AdagradParamState arg0);
private static native @Namespace @Cast("bool") @Name("operator ==") boolean equals(
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Adam.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Adam.java
index ecdf5711627..9b3ddfe5273 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Adam.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Adam.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -34,10 +34,10 @@ public Adam(
@ByVal OptimizerParamGroupVector param_groups) { super((Pointer)null); allocate(param_groups); }
private native void allocate(
@ByVal OptimizerParamGroupVector param_groups);
- public Adam(@Cast({"", "std::vector"}) @StdMove TensorVector params, @ByVal(nullValue = "torch::optim::AdamOptions{}") AdamOptions defaults) { super((Pointer)null); allocate(params, defaults); }
- private native void allocate(@Cast({"", "std::vector"}) @StdMove TensorVector params, @ByVal(nullValue = "torch::optim::AdamOptions{}") AdamOptions defaults);
- public Adam(@Cast({"", "std::vector"}) @StdMove TensorVector params) { super((Pointer)null); allocate(params); }
- private native void allocate(@Cast({"", "std::vector"}) @StdMove TensorVector params);
+ public Adam(@ByVal TensorVector params, @ByVal(nullValue = "torch::optim::AdamOptions{}") AdamOptions defaults) { super((Pointer)null); allocate(params, defaults); }
+ private native void allocate(@ByVal TensorVector params, @ByVal(nullValue = "torch::optim::AdamOptions{}") AdamOptions defaults);
+ public Adam(@ByVal TensorVector params) { super((Pointer)null); allocate(params); }
+ private native void allocate(@ByVal TensorVector params);
public native @ByVal Tensor step(@ByVal(nullValue = "torch::optim::Optimizer::LossClosure(nullptr)") LossClosure closure);
public native @ByVal Tensor step();
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdamOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdamOptions.java
index cf89f8ff15f..a466026a740 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdamOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdamOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdamParamState.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdamParamState.java
index 8e566b180af..d944ca047fe 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdamParamState.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdamParamState.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdamW.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdamW.java
index 4dc34d7b275..44de72027df 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdamW.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdamW.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -34,10 +34,10 @@ public AdamW(
@ByVal OptimizerParamGroupVector param_groups) { super((Pointer)null); allocate(param_groups); }
private native void allocate(
@ByVal OptimizerParamGroupVector param_groups);
- public AdamW(@Cast({"", "std::vector"}) @StdMove TensorVector params, @ByVal(nullValue = "torch::optim::AdamWOptions{}") AdamWOptions defaults) { super((Pointer)null); allocate(params, defaults); }
- private native void allocate(@Cast({"", "std::vector"}) @StdMove TensorVector params, @ByVal(nullValue = "torch::optim::AdamWOptions{}") AdamWOptions defaults);
- public AdamW(@Cast({"", "std::vector"}) @StdMove TensorVector params) { super((Pointer)null); allocate(params); }
- private native void allocate(@Cast({"", "std::vector"}) @StdMove TensorVector params);
+ public AdamW(@ByVal TensorVector params, @ByVal(nullValue = "torch::optim::AdamWOptions{}") AdamWOptions defaults) { super((Pointer)null); allocate(params, defaults); }
+ private native void allocate(@ByVal TensorVector params, @ByVal(nullValue = "torch::optim::AdamWOptions{}") AdamWOptions defaults);
+ public AdamW(@ByVal TensorVector params) { super((Pointer)null); allocate(params); }
+ private native void allocate(@ByVal TensorVector params);
public native @ByVal Tensor step(@ByVal(nullValue = "torch::optim::Optimizer::LossClosure(nullptr)") LossClosure closure);
public native @ByVal Tensor step();
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdamWOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdamWOptions.java
index e270d83e7a7..e80fb9128bd 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdamWOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdamWOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdamWParamState.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdamWParamState.java
index 39b37dad975..16efed25070 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdamWParamState.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdamWParamState.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool1dImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool1dImpl.java
index 171508fb216..f8c1bb8caf7 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool1dImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool1dImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -44,9 +44,6 @@ private native void allocate(
@Const @ByRef AdaptiveAvgPool1dOptions options_);
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AdaptiveAvgPool1dImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AdaptiveAvgPool1dImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
public native @ByVal Tensor forward(@Const @ByRef Tensor input);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool1dImplBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool1dImplBase.java
index 123b07224a1..40b08a1ce43 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool1dImplBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool1dImplBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -26,9 +26,6 @@ public class AdaptiveAvgPool1dImplBase extends AdaptiveAvgPool1dImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AdaptiveAvgPool1dImplBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AdaptiveAvgPool1dImplBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast,torch::nn::AdaptiveAvgPool1dImpl>, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
public AdaptiveAvgPool1dImplBase(@ByVal @Cast("torch::ExpandingArray<1>*") LongPointer output_size) { super((Pointer)null); allocate(output_size); }
private native void allocate(@ByVal @Cast("torch::ExpandingArray<1>*") LongPointer output_size);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool1dImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool1dImplCloneable.java
index ce04804f4ca..48dfd2fbd0c 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool1dImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool1dImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class AdaptiveAvgPool1dImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AdaptiveAvgPool1dImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AdaptiveAvgPool1dImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr AdaptiveAvgPool1dImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool1dOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool1dOptions.java
index 57172086f26..d5c58a579ad 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool1dOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool1dOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool2dImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool2dImpl.java
index 2b009f7768e..d810f6bb144 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool2dImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool2dImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -44,9 +44,6 @@ private native void allocate(
@Const @ByRef AdaptiveAvgPool2dOptions options_);
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AdaptiveAvgPool2dImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AdaptiveAvgPool2dImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
public native @ByVal Tensor forward(@Const @ByRef Tensor input);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool2dImplBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool2dImplBase.java
index a3570edd8a4..276f3a01156 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool2dImplBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool2dImplBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,9 +22,6 @@ public class AdaptiveAvgPool2dImplBase extends AdaptiveAvgPool2dImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AdaptiveAvgPool2dImplBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AdaptiveAvgPool2dImplBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast,torch::nn::AdaptiveAvgPool2dImpl>, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
public AdaptiveAvgPool2dImplBase(@ByVal @Cast("torch::ExpandingArrayWithOptionalElem<2>*") LongOptional output_size) { super((Pointer)null); allocate(output_size); }
private native void allocate(@ByVal @Cast("torch::ExpandingArrayWithOptionalElem<2>*") LongOptional output_size);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool2dImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool2dImplCloneable.java
index 747751d4800..7ddff12187a 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool2dImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool2dImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class AdaptiveAvgPool2dImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AdaptiveAvgPool2dImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AdaptiveAvgPool2dImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr AdaptiveAvgPool2dImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool2dOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool2dOptions.java
index 45355287d28..e51d5d8c1fc 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool2dOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool2dOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool3dImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool3dImpl.java
index d0d29ed2285..0b4b3af9720 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool3dImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool3dImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -44,9 +44,6 @@ private native void allocate(
@Const @ByRef AdaptiveAvgPool3dOptions options_);
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AdaptiveAvgPool3dImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AdaptiveAvgPool3dImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
public native @ByVal Tensor forward(@Const @ByRef Tensor input);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool3dImplBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool3dImplBase.java
index b16d3fbf583..5f1a5b4e6e3 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool3dImplBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool3dImplBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,9 +22,6 @@ public class AdaptiveAvgPool3dImplBase extends AdaptiveAvgPool3dImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AdaptiveAvgPool3dImplBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AdaptiveAvgPool3dImplBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast,torch::nn::AdaptiveAvgPool3dImpl>, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
public AdaptiveAvgPool3dImplBase(@ByVal @Cast("torch::ExpandingArrayWithOptionalElem<3>*") LongOptional output_size) { super((Pointer)null); allocate(output_size); }
private native void allocate(@ByVal @Cast("torch::ExpandingArrayWithOptionalElem<3>*") LongOptional output_size);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool3dImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool3dImplCloneable.java
index 330171a4ba9..0133810ada4 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool3dImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool3dImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class AdaptiveAvgPool3dImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AdaptiveAvgPool3dImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AdaptiveAvgPool3dImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr AdaptiveAvgPool3dImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool3dOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool3dOptions.java
index 56437ae5e40..71020055604 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool3dOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveAvgPool3dOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveLogSoftmaxWithLossImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveLogSoftmaxWithLossImpl.java
index b12e2ae4485..eda1d3583fc 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveLogSoftmaxWithLossImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveLogSoftmaxWithLossImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -41,9 +41,6 @@ public class AdaptiveLogSoftmaxWithLossImpl extends AdaptiveLogSoftmaxWithLossIm
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AdaptiveLogSoftmaxWithLossImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AdaptiveLogSoftmaxWithLossImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
public AdaptiveLogSoftmaxWithLossImpl(
@Cast("int64_t") long in_features,
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveLogSoftmaxWithLossImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveLogSoftmaxWithLossImplCloneable.java
index cfaaefc7e8f..af51f4e06e1 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveLogSoftmaxWithLossImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveLogSoftmaxWithLossImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class AdaptiveLogSoftmaxWithLossImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AdaptiveLogSoftmaxWithLossImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AdaptiveLogSoftmaxWithLossImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr AdaptiveLogSoftmaxWithLossImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveLogSoftmaxWithLossOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveLogSoftmaxWithLossOptions.java
index a843ebe4099..ca1256eafa8 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveLogSoftmaxWithLossOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveLogSoftmaxWithLossOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool1dImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool1dImpl.java
index b8dd432312c..81010dd00cc 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool1dImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool1dImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -44,9 +44,6 @@ private native void allocate(
@Const @ByRef AdaptiveMaxPool1dOptions options_);
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AdaptiveMaxPool1dImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AdaptiveMaxPool1dImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
public native @ByVal Tensor forward(@Const @ByRef Tensor input);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool1dImplBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool1dImplBase.java
index d2f0afcfd76..495fa7d06c0 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool1dImplBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool1dImplBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -26,9 +26,6 @@ public class AdaptiveMaxPool1dImplBase extends AdaptiveMaxPool1dImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AdaptiveMaxPool1dImplBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AdaptiveMaxPool1dImplBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast,torch::nn::AdaptiveMaxPool1dImpl>, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
public AdaptiveMaxPool1dImplBase(@ByVal @Cast("torch::ExpandingArray<1>*") LongPointer output_size) { super((Pointer)null); allocate(output_size); }
private native void allocate(@ByVal @Cast("torch::ExpandingArray<1>*") LongPointer output_size);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool1dImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool1dImplCloneable.java
index dccc7d084e7..418391fb82f 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool1dImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool1dImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class AdaptiveMaxPool1dImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AdaptiveMaxPool1dImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AdaptiveMaxPool1dImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr AdaptiveMaxPool1dImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool1dOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool1dOptions.java
index 4480c46ff09..0b41b14b6ee 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool1dOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool1dOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool2dImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool2dImpl.java
index 8bfd16b6ff7..1843987daea 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool2dImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool2dImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -44,9 +44,6 @@ private native void allocate(
@Const @ByRef AdaptiveMaxPool2dOptions options_);
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AdaptiveMaxPool2dImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AdaptiveMaxPool2dImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
public native @ByVal Tensor forward(@Const @ByRef Tensor input);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool2dImplBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool2dImplBase.java
index fd1f6d6ffea..273ea117a34 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool2dImplBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool2dImplBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,9 +22,6 @@ public class AdaptiveMaxPool2dImplBase extends AdaptiveMaxPool2dImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AdaptiveMaxPool2dImplBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AdaptiveMaxPool2dImplBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast,torch::nn::AdaptiveMaxPool2dImpl>, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
public AdaptiveMaxPool2dImplBase(@ByVal @Cast("torch::ExpandingArrayWithOptionalElem<2>*") LongOptional output_size) { super((Pointer)null); allocate(output_size); }
private native void allocate(@ByVal @Cast("torch::ExpandingArrayWithOptionalElem<2>*") LongOptional output_size);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool2dImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool2dImplCloneable.java
index b51e5be3831..c524e3d8712 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool2dImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool2dImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class AdaptiveMaxPool2dImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AdaptiveMaxPool2dImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AdaptiveMaxPool2dImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr AdaptiveMaxPool2dImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool2dOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool2dOptions.java
index e32c7c6fffa..2b9b8f5b633 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool2dOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool2dOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool3dImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool3dImpl.java
index 333827b96b3..ef3cec1183d 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool3dImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool3dImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -44,9 +44,6 @@ private native void allocate(
@Const @ByRef AdaptiveMaxPool3dOptions options_);
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AdaptiveMaxPool3dImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AdaptiveMaxPool3dImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
public native @ByVal Tensor forward(@Const @ByRef Tensor input);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool3dImplBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool3dImplBase.java
index 71d0824d229..85d7563ae1e 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool3dImplBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool3dImplBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,9 +22,6 @@ public class AdaptiveMaxPool3dImplBase extends AdaptiveMaxPool3dImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AdaptiveMaxPool3dImplBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AdaptiveMaxPool3dImplBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast,torch::nn::AdaptiveMaxPool3dImpl>, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
public AdaptiveMaxPool3dImplBase(@ByVal @Cast("torch::ExpandingArrayWithOptionalElem<3>*") LongOptional output_size) { super((Pointer)null); allocate(output_size); }
private native void allocate(@ByVal @Cast("torch::ExpandingArrayWithOptionalElem<3>*") LongOptional output_size);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool3dImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool3dImplCloneable.java
index 106fe1c0276..0815e37d3c7 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool3dImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool3dImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class AdaptiveMaxPool3dImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AdaptiveMaxPool3dImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AdaptiveMaxPool3dImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr AdaptiveMaxPool3dImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool3dOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool3dOptions.java
index e665177151d..d52a037fca0 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool3dOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AdaptiveMaxPool3dOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AliasDb.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AliasDb.java
index 7ee28a83b82..8595ece7434 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AliasDb.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AliasDb.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AliasInfo.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AliasInfo.java
index 7212812afc5..f8c3f056ccc 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AliasInfo.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AliasInfo.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AliasInfoOptional.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AliasInfoOptional.java
index 8b8f93a4fd8..c91646faf20 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AliasInfoOptional.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AliasInfoOptional.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AliasTypeSetOptional.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AliasTypeSetOptional.java
index 8b3053d5eeb..0e80109be7f 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AliasTypeSetOptional.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AliasTypeSetOptional.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Allocator.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Allocator.java
index 4512c77c683..db9d39b70e3 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Allocator.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Allocator.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AlphaDropoutFuncOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AlphaDropoutFuncOptions.java
index 59ec56c3f36..13a6855649f 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AlphaDropoutFuncOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AlphaDropoutFuncOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AlphaDropoutImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AlphaDropoutImpl.java
index ca3a3358743..8aa6f8c4e9b 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AlphaDropoutImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AlphaDropoutImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -45,9 +45,6 @@ public class AlphaDropoutImpl extends AlphaDropoutImplBase {
private native void allocate();
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AlphaDropoutImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AlphaDropoutImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
public native @ByVal Tensor forward(@Const @ByRef Tensor input);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AlphaDropoutImplBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AlphaDropoutImplBase.java
index 92a39bdc090..18fab886e05 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AlphaDropoutImplBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AlphaDropoutImplBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -23,9 +23,6 @@ public class AlphaDropoutImplBase extends AlphaDropoutImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AlphaDropoutImplBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AlphaDropoutImplBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
public AlphaDropoutImplBase(double p) { super((Pointer)null); allocate(p); }
private native void allocate(double p);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AlphaDropoutImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AlphaDropoutImplCloneable.java
index e8c522963fc..859ea089357 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AlphaDropoutImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AlphaDropoutImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class AlphaDropoutImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AlphaDropoutImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AlphaDropoutImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr AlphaDropoutImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AnomalyMetadata.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AnomalyMetadata.java
index db0054fcc7b..78e2a22497e 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AnomalyMetadata.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AnomalyMetadata.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AnomalyMode.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AnomalyMode.java
index c7d5697b961..c5574cb4df9 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AnomalyMode.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AnomalyMode.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyClassType.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyClassType.java
index 7a6bff244b6..31dc3152958 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyClassType.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyClassType.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyClassTypePtr.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyClassTypePtr.java
index 49001c520c6..16a3faca35f 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyClassTypePtr.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyClassTypePtr.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyEnumType.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyEnumType.java
index 0370a159063..d3312cd32db 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyEnumType.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyEnumType.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyEnumTypePtr.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyEnumTypePtr.java
index f62a3932311..7ff7901fdf4 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyEnumTypePtr.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyEnumTypePtr.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyListType.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyListType.java
index 0edf4663fb7..a039e827418 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyListType.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyListType.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyListTypePtr.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyListTypePtr.java
index 469b7284409..f25a6d33ee6 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyListTypePtr.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyListTypePtr.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyModule.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyModule.java
index 925538bb388..f5d68f0fad4 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyModule.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyModule.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyModuleVector.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyModuleVector.java
index edf0c3bb58a..a386153cdd3 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyModuleVector.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyModuleVector.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyTupleType.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyTupleType.java
index 8e386c44efd..65d89929367 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyTupleType.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyTupleType.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyTupleTypePtr.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyTupleTypePtr.java
index ef2b8d737ca..66ff484d421 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyTupleTypePtr.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyTupleTypePtr.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyType.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyType.java
index 08104d0aa10..19a4af193fa 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyType.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyType.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyTypePtr.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyTypePtr.java
index 9149717852b..da7ffc8590e 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyTypePtr.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyTypePtr.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyValue.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyValue.java
index 9b3fd073dd0..7af1d36c38f 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AnyValue.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AnyValue.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Apply.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Apply.java
index 9e8a04351a1..d24b10f427d 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Apply.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Apply.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Argument.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Argument.java
index 93a000e0fb9..063e9d0b520 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Argument.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Argument.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -35,14 +35,14 @@ public class Argument extends Pointer {
public Argument(
@StdString BytePointer name/*=""*/,
- @ByVal(nullValue = "c10::TypePtr(nullptr)") Type.TypePtr type,
+ @Const @ByRef(nullValue = "c10::TypePtr(nullptr)") Type.TypePtr type,
@ByVal(nullValue = "c10::optional(c10::nullopt)") IntOptional N,
@ByVal(nullValue = "c10::optional(c10::nullopt)") IValueOptional default_value,
@Cast("bool") boolean kwarg_only/*=false*/,
@ByVal(nullValue = "c10::optional(c10::nullopt)") AliasInfoOptional alias_info) { super((Pointer)null); allocate(name, type, N, default_value, kwarg_only, alias_info); }
private native void allocate(
@StdString BytePointer name/*=""*/,
- @ByVal(nullValue = "c10::TypePtr(nullptr)") Type.TypePtr type,
+ @Const @ByRef(nullValue = "c10::TypePtr(nullptr)") Type.TypePtr type,
@ByVal(nullValue = "c10::optional(c10::nullopt)") IntOptional N,
@ByVal(nullValue = "c10::optional(c10::nullopt)") IValueOptional default_value,
@Cast("bool") boolean kwarg_only/*=false*/,
@@ -51,14 +51,14 @@ private native void allocate(
private native void allocate();
public Argument(
@StdString String name/*=""*/,
- @ByVal(nullValue = "c10::TypePtr(nullptr)") Type.TypePtr type,
+ @Const @ByRef(nullValue = "c10::TypePtr(nullptr)") Type.TypePtr type,
@ByVal(nullValue = "c10::optional(c10::nullopt)") IntOptional N,
@ByVal(nullValue = "c10::optional(c10::nullopt)") IValueOptional default_value,
@Cast("bool") boolean kwarg_only/*=false*/,
@ByVal(nullValue = "c10::optional(c10::nullopt)") AliasInfoOptional alias_info) { super((Pointer)null); allocate(name, type, N, default_value, kwarg_only, alias_info); }
private native void allocate(
@StdString String name/*=""*/,
- @ByVal(nullValue = "c10::TypePtr(nullptr)") Type.TypePtr type,
+ @Const @ByRef(nullValue = "c10::TypePtr(nullptr)") Type.TypePtr type,
@ByVal(nullValue = "c10::optional(c10::nullopt)") IntOptional N,
@ByVal(nullValue = "c10::optional(c10::nullopt)") IValueOptional default_value,
@Cast("bool") boolean kwarg_only/*=false*/,
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentArrayRef.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentArrayRef.java
index eb293a0e46f..ace579e04af 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentArrayRef.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentArrayRef.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentDef.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentDef.java
index 72a301dd7bc..91235fdfa60 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentDef.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentDef.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentDefArrayRef.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentDefArrayRef.java
index 842dc133162..7d08eb14fa8 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentDefArrayRef.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentDefArrayRef.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentInfo.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentInfo.java
index 528fb8ab28e..7596de57fbe 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentInfo.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentInfo.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentSpec.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentSpec.java
index be0dfea710a..51f1009575c 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentSpec.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentSpec.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -24,7 +24,6 @@ public class ArgumentSpec extends Pointer {
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public ArgumentSpec(Pointer p) { super(p); }
- // NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
public ArgumentSpec(@Cast("size_t") long num_flat_tensor_inputs, @Cast("size_t") long num_flat_optional_inputs) { super((Pointer)null); allocate(num_flat_tensor_inputs, num_flat_optional_inputs); }
private native void allocate(@Cast("size_t") long num_flat_tensor_inputs, @Cast("size_t") long num_flat_optional_inputs);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentSpecCreator.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentSpecCreator.java
index 79792f9ace9..04e02c3e52b 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentSpecCreator.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentSpecCreator.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentSpecExecutionPlanMap.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentSpecExecutionPlanMap.java
index 2de1499ad71..c08603e1f7c 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentSpecExecutionPlanMap.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ArgumentSpecExecutionPlanMap.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Assert.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Assert.java
index f9874d40006..abd978952b7 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Assert.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Assert.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Assign.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Assign.java
index fbe86fa4191..b708332cc3c 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Assign.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Assign.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AssignList.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AssignList.java
index bb7cb9e28c7..68282742cdf 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AssignList.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AssignList.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AssignListIterator.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AssignListIterator.java
index 74e4a1729d8..ad6633bba4b 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AssignListIterator.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AssignListIterator.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AssignListMaybe.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AssignListMaybe.java
index 9dd9bf7b94e..1387fb99e9e 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AssignListMaybe.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AssignListMaybe.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Attribute.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Attribute.java
index 1d494c3321f..27ce7cc23e9 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Attribute.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Attribute.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AttributeList.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AttributeList.java
index 4d92ff89e56..7e44a5c75ba 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AttributeList.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AttributeList.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AttributeListIterator.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AttributeListIterator.java
index c9bc0cdc345..86f3a2a863f 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AttributeListIterator.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AttributeListIterator.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AttributePolicy.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AttributePolicy.java
index ca45796e4cf..318e6081a01 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AttributePolicy.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AttributePolicy.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AttributeValue.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AttributeValue.java
index 2dc24beb629..353b3fbda30 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AttributeValue.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AttributeValue.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AugAssign.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AugAssign.java
index a4bebe9a45c..ce606b315ce 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AugAssign.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AugAssign.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AugAssignKind.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AugAssignKind.java
index 5566d45616f..31fb6cdf990 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AugAssignKind.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AugAssignKind.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AutoDispatchBelowADInplaceOrView.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AutoDispatchBelowADInplaceOrView.java
index f69107ef272..5aeb3816687 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AutoDispatchBelowADInplaceOrView.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AutoDispatchBelowADInplaceOrView.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AutoDispatchBelowAutograd.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AutoDispatchBelowAutograd.java
index 97dea63b69a..b7e076813aa 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AutoDispatchBelowAutograd.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AutoDispatchBelowAutograd.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AutoDispatchSkipFunctionalize.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AutoDispatchSkipFunctionalize.java
index 789d37b0b06..4b1c2d77330 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AutoDispatchSkipFunctionalize.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AutoDispatchSkipFunctionalize.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AutoFwGradMode.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AutoFwGradMode.java
index 5ee2386ad7c..a18572b6266 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AutoFwGradMode.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AutoFwGradMode.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AutoGradMode.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AutoGradMode.java
index b692bada3ce..ceb13776019 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AutoGradMode.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AutoGradMode.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AutoNonVariableTypeMode.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AutoNonVariableTypeMode.java
index cf6dd3813bc..114e70da000 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AutoNonVariableTypeMode.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AutoNonVariableTypeMode.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AutogradContext.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AutogradContext.java
index bb620bc279c..d7cc6f65b8c 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AutogradContext.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AutogradContext.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -46,15 +46,15 @@ public class AutogradContext extends Pointer {
/** Saves the list of variables for a future call to {@code backward}. This
* should be called at most once from inside of {@code forward}. */
- public native void save_for_backward(@Cast({"", "std::vector"}) @StdMove TensorVector to_save);
+ public native void save_for_backward(@ByVal TensorVector to_save);
/** Marks variables in the list as modified in an in-place operation. This
* should be called at most once from inside of {@code forward} and all arguments
* should be inputs. */
- public native void mark_dirty(@Cast({"", "std::vector"}) @StdMove TensorVector inputs);
+ public native void mark_dirty(@Const @ByRef TensorVector inputs);
/** Marks outputs in the list as not requiring gradients. This should be
* called at most once from inside of {@code forward} and all arguments should be
* outputs. */
- public native void mark_non_differentiable(@Cast({"", "std::vector"}) @StdMove TensorVector outputs);
+ public native void mark_non_differentiable(@Const @ByRef TensorVector outputs);
// Sets whether undefined output grad tensors should be expanded to tensors
// full of zeros before calling backward function. Default value is true.
public native void set_materialize_grads(@Cast("bool") boolean value);
@@ -62,7 +62,7 @@ public class AutogradContext extends Pointer {
/** Get the list of variables that were saved in {@code forward} using
* {@code save_for_backward()}. Before returning them to the user, a check is made
* to ensure that they were not modified by any in-place operations. */
- public native @Cast({"", "std::vector"}) @StdMove TensorVector get_saved_variables();
+ public native @ByVal TensorVector get_saved_variables();
public native @Const @ByRef TensorImplSet get_and_bump_dirty();
public native @Const @ByRef TensorImplSet get_non_differentiable();
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AutogradMeta.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AutogradMeta.java
index 50111da690a..788de523b3f 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AutogradMeta.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AutogradMeta.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AutogradMetaFactory.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AutogradMetaFactory.java
index bd49aea08b2..3581dfb6461 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AutogradMetaFactory.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AutogradMetaFactory.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AutogradMetaFactoryRegisterer.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AutogradMetaFactoryRegisterer.java
index 90dda80c8ac..74e14258664 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AutogradMetaFactoryRegisterer.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AutogradMetaFactoryRegisterer.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AutogradMetaInterface.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AutogradMetaInterface.java
index 6c1246f2256..368bb234eab 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AutogradMetaInterface.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AutogradMetaInterface.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AutogradState.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AutogradState.java
index 2277dc45739..de586a29db0 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AutogradState.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AutogradState.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool1dImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool1dImpl.java
index 592df1cf1ca..1937194bbdf 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool1dImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool1dImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -42,9 +42,6 @@ public class AvgPool1dImpl extends AvgPool1dImplBase {
private native void allocate(@Const @ByRef AvgPool1dOptions options_);
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AvgPool1dImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AvgPool1dImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
public native @ByVal Tensor forward(@Const @ByRef Tensor input);
}
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool1dImplBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool1dImplBase.java
index c90409abc1e..38ce73924f6 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool1dImplBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool1dImplBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -24,9 +24,6 @@ public class AvgPool1dImplBase extends AvgPool1dImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AvgPool1dImplBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AvgPool1dImplBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
public AvgPool1dImplBase(@ByVal @Cast("torch::ExpandingArray<1>*") LongPointer kernel_size) { super((Pointer)null); allocate(kernel_size); }
private native void allocate(@ByVal @Cast("torch::ExpandingArray<1>*") LongPointer kernel_size);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool1dImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool1dImplCloneable.java
index 3dd5a203305..2c37a94eef8 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool1dImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool1dImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class AvgPool1dImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AvgPool1dImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AvgPool1dImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr AvgPool1dImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool1dOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool1dOptions.java
index 55fef6eb6b0..e816c99a187 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool1dOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool1dOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool2dImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool2dImpl.java
index f5b1781da04..af2351a0914 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool2dImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool2dImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -42,9 +42,6 @@ public class AvgPool2dImpl extends AvgPool2dImplBase {
private native void allocate(@Const @ByRef AvgPool2dOptions options_);
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AvgPool2dImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AvgPool2dImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
public native @ByVal Tensor forward(@Const @ByRef Tensor input);
}
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool2dImplBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool2dImplBase.java
index ed7de5fe0d3..b5c44b68be7 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool2dImplBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool2dImplBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,9 +22,6 @@ public class AvgPool2dImplBase extends AvgPool2dImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AvgPool2dImplBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AvgPool2dImplBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
public AvgPool2dImplBase(@ByVal @Cast("torch::ExpandingArray<2>*") LongPointer kernel_size) { super((Pointer)null); allocate(kernel_size); }
private native void allocate(@ByVal @Cast("torch::ExpandingArray<2>*") LongPointer kernel_size);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool2dImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool2dImplCloneable.java
index 555819565e7..eeddd68607b 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool2dImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool2dImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class AvgPool2dImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AvgPool2dImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AvgPool2dImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr AvgPool2dImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool2dOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool2dOptions.java
index b72f0d12429..88055b7067e 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool2dOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool2dOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool3dImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool3dImpl.java
index 99aaa8fb476..3d88a6167c8 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool3dImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool3dImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -42,9 +42,6 @@ public class AvgPool3dImpl extends AvgPool3dImplBase {
private native void allocate(@Const @ByRef AvgPool3dOptions options_);
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AvgPool3dImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AvgPool3dImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
public native @ByVal Tensor forward(@Const @ByRef Tensor input);
}
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool3dImplBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool3dImplBase.java
index 2551ed45a34..e1221202c68 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool3dImplBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool3dImplBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,9 +22,6 @@ public class AvgPool3dImplBase extends AvgPool3dImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AvgPool3dImplBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AvgPool3dImplBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
public AvgPool3dImplBase(@ByVal @Cast("torch::ExpandingArray<3>*") LongPointer kernel_size) { super((Pointer)null); allocate(kernel_size); }
private native void allocate(@ByVal @Cast("torch::ExpandingArray<3>*") LongPointer kernel_size);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool3dImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool3dImplCloneable.java
index dafc95ecc73..b21dd9618ea 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool3dImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool3dImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class AvgPool3dImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public AvgPool3dImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public AvgPool3dImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr AvgPool3dImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool3dOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool3dOptions.java
index 29db5e0bd4d..42d125c2084 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool3dOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AvgPool3dOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Await.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Await.java
index 4b820db366e..9b8f7335da5 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Await.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Await.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -41,9 +41,9 @@ public class Await extends Pointer {
- public native @ByVal Type.TypePtr elementType();
+ public native @Const @ByRef Type.TypePtr elementType();
- public native @ByVal Type.TypePtr type();
+ public native @Const @ByRef Type.TypePtr type();
public native void setArgs(@ByVal IValueVector args);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AwaitPtr.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AwaitPtr.java
index 0ba3aad00aa..2aabc38bebb 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AwaitPtr.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AwaitPtr.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AwaitSingleElementType.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AwaitSingleElementType.java
index 1101c354673..f39c07a2a75 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AwaitSingleElementType.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AwaitSingleElementType.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/AwaitType.java b/pytorch/src/gen/java/org/bytedeco/pytorch/AwaitType.java
index 7c8d56de06b..702535a3092 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/AwaitType.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/AwaitType.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BCELossImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BCELossImpl.java
index 3223dc8a13a..302df9666a5 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BCELossImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BCELossImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -37,9 +37,6 @@ public class BCELossImpl extends BCELossImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public BCELossImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public BCELossImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
public BCELossImpl(@ByVal(nullValue = "torch::nn::BCELossOptions{}") BCELossOptions options_) { super((Pointer)null); allocate(options_); }
@SharedPtr @Name("std::make_shared") private native void allocate(@ByVal(nullValue = "torch::nn::BCELossOptions{}") BCELossOptions options_);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BCELossImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BCELossImplCloneable.java
index 063f64149db..6ec0eb00023 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BCELossImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BCELossImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class BCELossImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public BCELossImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public BCELossImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr BCELossImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BCELossOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BCELossOptions.java
index f681fbc29ec..5a32a0cb0a3 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BCELossOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BCELossOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BCEWithLogitsLossImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BCEWithLogitsLossImpl.java
index 6d91eed2a07..b4feec62624 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BCEWithLogitsLossImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BCEWithLogitsLossImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -41,9 +41,6 @@ public class BCEWithLogitsLossImpl extends BCEWithLogitsLossImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public BCEWithLogitsLossImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public BCEWithLogitsLossImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
public BCEWithLogitsLossImpl(@ByVal(nullValue = "torch::nn::BCEWithLogitsLossOptions{}") BCEWithLogitsLossOptions options_) { super((Pointer)null); allocate(options_); }
@SharedPtr @Name("std::make_shared") private native void allocate(@ByVal(nullValue = "torch::nn::BCEWithLogitsLossOptions{}") BCEWithLogitsLossOptions options_);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BCEWithLogitsLossImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BCEWithLogitsLossImplCloneable.java
index f7221be4683..b4cea865ca5 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BCEWithLogitsLossImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BCEWithLogitsLossImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class BCEWithLogitsLossImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public BCEWithLogitsLossImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public BCEWithLogitsLossImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr BCEWithLogitsLossImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BCEWithLogitsLossOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BCEWithLogitsLossOptions.java
index 7a92effefd9..27b96ac34f0 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BCEWithLogitsLossOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BCEWithLogitsLossOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BFloat16.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BFloat16.java
index 32738efa3c8..f7e51e10ccc 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BFloat16.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BFloat16.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BFloat16ArrayRef.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BFloat16ArrayRef.java
index c7a062a6f2c..a97a23d3891 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BFloat16ArrayRef.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BFloat16ArrayRef.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BackendMeta.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BackendMeta.java
index 20140131fcf..f7a8ea37cf4 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BackendMeta.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BackendMeta.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BackendMetaRef.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BackendMetaRef.java
index 4e188155a93..3846c176118 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BackendMetaRef.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BackendMetaRef.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm1dImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm1dImpl.java
index 181677e4519..ef67cd0b4aa 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm1dImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm1dImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -43,8 +43,5 @@ public class BatchNorm1dImpl extends BatchNorm1dImplBase {
private native void allocate(@Const @ByRef BatchNormOptions options_);
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public BatchNorm1dImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public BatchNorm1dImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
}
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm1dImplBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm1dImplBase.java
index d0ed378620f..bdc37ef9e6e 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm1dImplBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm1dImplBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -24,9 +24,6 @@ public class BatchNorm1dImplBase extends BatchNorm1dImplBaseBase {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public BatchNorm1dImplBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public BatchNorm1dImplBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
public native @ByVal Tensor forward(@Const @ByRef Tensor input);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm1dImplBaseBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm1dImplBaseBase.java
index ef7145767ef..b4ae722bcce 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm1dImplBaseBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm1dImplBaseBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -25,9 +25,6 @@ public class BatchNorm1dImplBaseBase extends BatchNorm1dImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public BatchNorm1dImplBaseBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public BatchNorm1dImplBaseBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
public native void reset();
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm1dImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm1dImplCloneable.java
index 756595fd2a4..3abc8ed6f4f 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm1dImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm1dImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class BatchNorm1dImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public BatchNorm1dImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public BatchNorm1dImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr BatchNorm1dImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm2dImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm2dImpl.java
index 0abe72a063f..dca3bbd4e46 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm2dImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm2dImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -43,8 +43,5 @@ public class BatchNorm2dImpl extends BatchNorm2dImplBase {
private native void allocate(@Const @ByRef BatchNormOptions options_);
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public BatchNorm2dImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public BatchNorm2dImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
}
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm2dImplBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm2dImplBase.java
index e1f19727684..7cee0bbb592 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm2dImplBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm2dImplBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,9 +22,6 @@ public class BatchNorm2dImplBase extends BatchNorm2dImplBaseBase {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public BatchNorm2dImplBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public BatchNorm2dImplBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
public native @ByVal Tensor forward(@Const @ByRef Tensor input);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm2dImplBaseBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm2dImplBaseBase.java
index 5be55e6ee8b..098f0c726bc 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm2dImplBaseBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm2dImplBaseBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,9 +22,6 @@ public class BatchNorm2dImplBaseBase extends BatchNorm2dImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public BatchNorm2dImplBaseBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public BatchNorm2dImplBaseBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
public native void reset();
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm2dImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm2dImplCloneable.java
index fb370b26601..5b4486f119c 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm2dImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm2dImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class BatchNorm2dImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public BatchNorm2dImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public BatchNorm2dImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr BatchNorm2dImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm3dImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm3dImpl.java
index 4d0d760077e..4c53a2502d6 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm3dImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm3dImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -43,8 +43,5 @@ public class BatchNorm3dImpl extends BatchNorm3dImplBase {
private native void allocate(@Const @ByRef BatchNormOptions options_);
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public BatchNorm3dImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public BatchNorm3dImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
}
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm3dImplBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm3dImplBase.java
index 5ab44850df8..aa430c11fbd 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm3dImplBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm3dImplBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,9 +22,6 @@ public class BatchNorm3dImplBase extends BatchNorm3dImplBaseBase {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public BatchNorm3dImplBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public BatchNorm3dImplBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
public native @ByVal Tensor forward(@Const @ByRef Tensor input);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm3dImplBaseBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm3dImplBaseBase.java
index bcd29083a49..51b0783d20e 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm3dImplBaseBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm3dImplBaseBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,9 +22,6 @@ public class BatchNorm3dImplBaseBase extends BatchNorm3dImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public BatchNorm3dImplBaseBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public BatchNorm3dImplBaseBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
public native void reset();
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm3dImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm3dImplCloneable.java
index ffc83e68a80..1ffac3653fa 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm3dImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNorm3dImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class BatchNorm3dImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public BatchNorm3dImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public BatchNorm3dImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr BatchNorm3dImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNormFuncOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNormFuncOptions.java
index 3fc5835d2a2..82a33aee581 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNormFuncOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNormFuncOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNormOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNormOptions.java
index cdf2c8b59e6..d2ebc2c0b58 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNormOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchNormOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchSize.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchSize.java
index 0eb92ed468a..b0b0957520b 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchSize.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchSize.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchSizeOptional.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchSizeOptional.java
index e9aa51bb0bd..526bfd696df 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchSizeOptional.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchSizeOptional.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,14 +22,12 @@ public class BatchSizeOptional extends Pointer {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public BatchSizeOptional(Pointer p) { super(p); }
- public BatchSizeOptional(BatchSize value) { this(); put(value); }
public BatchSizeOptional() { allocate(); }
private native void allocate();
- public native @Name("operator =") @ByRef BatchSizeOptional put(@ByRef BatchSizeOptional x);
+
public native boolean has_value();
public native void reset();
public native @Name("value") @ByRef BatchSize get();
- @ValueSetter public native BatchSizeOptional put(@ByRef BatchSize value);
}
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchSizeSampler.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchSizeSampler.java
index 7562f59135c..a87bb33cff1 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BatchSizeSampler.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BatchSizeSampler.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BilinearImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BilinearImpl.java
index de37e8ec00d..2ff1d54f60c 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BilinearImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BilinearImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -36,9 +36,6 @@ public class BilinearImpl extends BilinearImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public BilinearImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public BilinearImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
public BilinearImpl(@Cast("int64_t") long in1_features, @Cast("int64_t") long in2_features, @Cast("int64_t") long out_features) { super((Pointer)null); allocate(in1_features, in2_features, out_features); }
@SharedPtr @Name("std::make_shared") private native void allocate(@Cast("int64_t") long in1_features, @Cast("int64_t") long in2_features, @Cast("int64_t") long out_features);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BilinearImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BilinearImplCloneable.java
index 59515659c54..20f2c3784bf 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BilinearImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BilinearImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class BilinearImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public BilinearImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public BilinearImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr BilinearImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BilinearOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BilinearOptions.java
index 962810e59fc..d438dfc0b6d 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BilinearOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BilinearOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BinOp.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BinOp.java
index dc8d4a631bd..9dd22d383c1 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BinOp.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BinOp.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Blob.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Blob.java
index 0fa752de78c..7e38b95d478 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Blob.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Blob.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Block.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Block.java
index 83f186bb22e..6528e789332 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Block.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Block.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BlockArrayRef.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BlockArrayRef.java
index 6787e14c37c..08f07737a0f 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BlockArrayRef.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BlockArrayRef.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BlockWrap.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BlockWrap.java
index 17c5092be4e..42eabf3ad02 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BlockWrap.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BlockWrap.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BoolArrayRef.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BoolArrayRef.java
index 85d85ccb9a5..9830abb5b28 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BoolArrayRef.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BoolArrayRef.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BoolOptional.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BoolOptional.java
index 6f12475e5d2..59675b1de16 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BoolOptional.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BoolOptional.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BoolType.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BoolType.java
index d41517ad66d..1f3e6816cbd 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BoolType.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BoolType.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BoolTypePtr.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BoolTypePtr.java
index 123677de131..6cdbdc83f8f 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BoolTypePtr.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BoolTypePtr.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BoolVector.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BoolVector.java
index 82fb0b65280..1b9db184bef 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BoolVector.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BoolVector.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BoolVectorOptional.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BoolVectorOptional.java
index e01948077fa..5c0ae0ddcc1 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BoolVectorOptional.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BoolVectorOptional.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BooleanElementReference.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BooleanElementReference.java
index 276f7cb605d..024c78a2095 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BooleanElementReference.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BooleanElementReference.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BooleanList.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BooleanList.java
index 42ead5f69c4..64488385c2c 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BooleanList.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BooleanList.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BooleanListIterator.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BooleanListIterator.java
index 6382600e122..8aac364c51c 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BooleanListIterator.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BooleanListIterator.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Break.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Break.java
index 15d39839ecb..311a86ff665 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Break.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Break.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BufferPolicy.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BufferPolicy.java
index 1ea6aa52c4a..d7eacdbc360 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BufferPolicy.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BufferPolicy.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BuiltinFunction.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BuiltinFunction.java
index 15d1fd3c08d..5f9bf340946 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BuiltinFunction.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BuiltinFunction.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BuiltinModule.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BuiltinModule.java
index f1381861845..097921b400e 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BuiltinModule.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BuiltinModule.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ByteArrayRef.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ByteArrayRef.java
index 3e63907dc88..49d4a670633 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ByteArrayRef.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ByteArrayRef.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ByteOptional.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ByteOptional.java
index 48d5d34f756..829928771c5 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ByteOptional.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ByteOptional.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BytePointerPair.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BytePointerPair.java
new file mode 100644
index 00000000000..ec56895cfd0
--- /dev/null
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BytePointerPair.java
@@ -0,0 +1,49 @@
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
+
+package org.bytedeco.pytorch;
+
+import org.bytedeco.pytorch.Allocator;
+import org.bytedeco.pytorch.Function;
+import org.bytedeco.pytorch.functions.*;
+import org.bytedeco.pytorch.Module;
+import org.bytedeco.javacpp.annotation.Cast;
+import java.nio.*;
+import org.bytedeco.javacpp.*;
+import org.bytedeco.javacpp.annotation.*;
+
+import static org.bytedeco.javacpp.presets.javacpp.*;
+import static org.bytedeco.openblas.global.openblas_nolapack.*;
+import static org.bytedeco.openblas.global.openblas.*;
+
+import static org.bytedeco.pytorch.global.torch.*;
+
+@NoOffset @Name("std::pair") @Properties(inherit = org.bytedeco.pytorch.presets.torch.class)
+public class BytePointerPair extends Pointer {
+ static { Loader.load(); }
+ /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
+ public BytePointerPair(Pointer p) { super(p); }
+ public BytePointerPair(@Cast("const char*") BytePointer firstValue, @Cast("const char*") BytePointer secondValue) { this(); put(firstValue, secondValue); }
+ public BytePointerPair(String firstValue, String secondValue) { this(); put(firstValue, secondValue); }
+ public BytePointerPair() { allocate(); }
+ private native void allocate();
+ public native @Name("operator =") @ByRef BytePointerPair put(@ByRef BytePointerPair x);
+
+
+ @MemberGetter public native @Const @Cast("const char*") BytePointer first(); public native BytePointerPair first(BytePointer first);
+ @MemberGetter public native @Const @Cast("const char*") BytePointer second(); public native BytePointerPair second(BytePointer second);
+ @MemberSetter @Index public native BytePointerPair first(@Const String first);
+ @MemberSetter @Index public native BytePointerPair second(@Const String second);
+
+ public BytePointerPair put(BytePointer firstValue, BytePointer secondValue) {
+ first(firstValue);
+ second(secondValue);
+ return this;
+ }
+
+ public BytePointerPair put(String firstValue, String secondValue) {
+ first(firstValue);
+ second(secondValue);
+ return this;
+ }
+}
+
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BytePointerPairOptional.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BytePointerPairOptional.java
new file mode 100644
index 00000000000..6d24b3b1f00
--- /dev/null
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BytePointerPairOptional.java
@@ -0,0 +1,35 @@
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
+
+package org.bytedeco.pytorch;
+
+import org.bytedeco.pytorch.Allocator;
+import org.bytedeco.pytorch.Function;
+import org.bytedeco.pytorch.functions.*;
+import org.bytedeco.pytorch.Module;
+import org.bytedeco.javacpp.annotation.Cast;
+import java.nio.*;
+import org.bytedeco.javacpp.*;
+import org.bytedeco.javacpp.annotation.*;
+
+import static org.bytedeco.javacpp.presets.javacpp.*;
+import static org.bytedeco.openblas.global.openblas_nolapack.*;
+import static org.bytedeco.openblas.global.openblas.*;
+
+import static org.bytedeco.pytorch.global.torch.*;
+
+@NoOffset @Name("c10::optional >") @Properties(inherit = org.bytedeco.pytorch.presets.torch.class)
+public class BytePointerPairOptional extends Pointer {
+ static { Loader.load(); }
+ /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
+ public BytePointerPairOptional(Pointer p) { super(p); }
+ public BytePointerPairOptional(BytePointerPair value) { this(); put(value); }
+ public BytePointerPairOptional() { allocate(); }
+ private native void allocate();
+ public native @Name("operator =") @ByRef BytePointerPairOptional put(@ByRef BytePointerPairOptional x);
+
+ public native boolean has_value();
+ public native void reset();
+ public native @Name("value") @ByRef BytePointerPair get();
+ @ValueSetter public native BytePointerPairOptional put(@ByRef BytePointerPair value);
+}
+
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/BytePointerVector.java b/pytorch/src/gen/java/org/bytedeco/pytorch/BytePointerVector.java
index 06b385f5ddf..5127b9f713c 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/BytePointerVector.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/BytePointerVector.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/C10FlagParser.java b/pytorch/src/gen/java/org/bytedeco/pytorch/C10FlagParser.java
index d3b19a40991..0175cf91c61 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/C10FlagParser.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/C10FlagParser.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/CELUImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/CELUImpl.java
index 290717ba9bf..09ceda6e127 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/CELUImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/CELUImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -36,9 +36,6 @@ public class CELUImpl extends CELUImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public CELUImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public CELUImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
public CELUImpl(@Const @ByRef(nullValue = "torch::nn::CELUOptions{}") CELUOptions options_) { super((Pointer)null); allocate(options_); }
@SharedPtr @Name("std::make_shared") private native void allocate(@Const @ByRef(nullValue = "torch::nn::CELUOptions{}") CELUOptions options_);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/CELUImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/CELUImplCloneable.java
index 07b52334c1d..ca1bf9c15fd 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/CELUImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/CELUImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class CELUImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public CELUImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public CELUImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr CELUImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/CELUOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/CELUOptions.java
index 710dc97ce4d..433be6070af 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/CELUOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/CELUOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/CPUGeneratorImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/CPUGeneratorImpl.java
index 1158093d2cc..be3c5e63022 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/CPUGeneratorImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/CPUGeneratorImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/CTCLossImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/CTCLossImpl.java
index 390fd91cd16..72bfd641ff3 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/CTCLossImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/CTCLossImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -37,9 +37,6 @@ public class CTCLossImpl extends CTCLossImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public CTCLossImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public CTCLossImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
public CTCLossImpl(@ByVal(nullValue = "torch::nn::CTCLossOptions{}") CTCLossOptions options_) { super((Pointer)null); allocate(options_); }
@SharedPtr @Name("std::make_shared") private native void allocate(@ByVal(nullValue = "torch::nn::CTCLossOptions{}") CTCLossOptions options_);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/CTCLossImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/CTCLossImplCloneable.java
index 08a20833f2b..c15d39e20c2 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/CTCLossImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/CTCLossImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class CTCLossImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public CTCLossImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public CTCLossImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr CTCLossImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/CTCLossOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/CTCLossOptions.java
index 74cec973383..910b3ff8d97 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/CTCLossOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/CTCLossOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/CUDAHooksArgs.java b/pytorch/src/gen/java/org/bytedeco/pytorch/CUDAHooksArgs.java
index 9ca9bad7d8e..bda89287dc0 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/CUDAHooksArgs.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/CUDAHooksArgs.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/CUDAHooksInterface.java b/pytorch/src/gen/java/org/bytedeco/pytorch/CUDAHooksInterface.java
index 295097a31ab..a446e505655 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/CUDAHooksInterface.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/CUDAHooksInterface.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Call.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Call.java
index 1d5be1c2781..4b0f13710ad 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Call.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Call.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/CapsuleType.java b/pytorch/src/gen/java/org/bytedeco/pytorch/CapsuleType.java
index 539e9559678..6cdc616619f 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/CapsuleType.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/CapsuleType.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/CapsuleTypePtr.java b/pytorch/src/gen/java/org/bytedeco/pytorch/CapsuleTypePtr.java
index 608ec1bbb0d..02c266c4cce 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/CapsuleTypePtr.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/CapsuleTypePtr.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/CastValue.java b/pytorch/src/gen/java/org/bytedeco/pytorch/CastValue.java
index 647739f1a5e..485082ee80a 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/CastValue.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/CastValue.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkBatchDataset.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkBatchDataset.java
index fcdc318e836..4bd639f1d2a 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkBatchDataset.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkBatchDataset.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkBatchSharedBatchDataset.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkBatchSharedBatchDataset.java
index eff51251111..372fe258744 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkBatchSharedBatchDataset.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkBatchSharedBatchDataset.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkBatchSharedTensorBatchDataset.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkBatchSharedTensorBatchDataset.java
index fcfbdf2da89..ceed73e0d0f 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkBatchSharedTensorBatchDataset.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkBatchSharedTensorBatchDataset.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkDataReader.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkDataReader.java
index 9ea3d185a40..a95b3f7fbf2 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkDataReader.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkDataReader.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkDataset.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkDataset.java
index ad63d2d3d0a..25de5e1c011 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkDataset.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkDataset.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkDatasetOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkDatasetOptions.java
index 44758ffa266..c7c7ea60241 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkDatasetOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkDatasetOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkMapBatchDataset.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkMapBatchDataset.java
index b2b012a886f..d90c8378d8b 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkMapBatchDataset.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkMapBatchDataset.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkMapDataset.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkMapDataset.java
index d044a513c2b..76e2b21ce91 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkMapDataset.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkMapDataset.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkMapTensorBatchDataset.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkMapTensorBatchDataset.java
index d9e25dddce7..191ed20c628 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkMapTensorBatchDataset.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkMapTensorBatchDataset.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkMapTensorDataset.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkMapTensorDataset.java
index 078d4d22d5e..11471071c9c 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkMapTensorDataset.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkMapTensorDataset.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkRandomDataLoader.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkRandomDataLoader.java
index 8486c70c0c6..eff35875117 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkRandomDataLoader.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkRandomDataLoader.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkRandomDataLoaderBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkRandomDataLoaderBase.java
index 7a9d4e4fbc6..d2b3dd7d98e 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkRandomDataLoaderBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkRandomDataLoaderBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkRandomTensorDataLoader.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkRandomTensorDataLoader.java
index 195f356edc6..316fa2a369e 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkRandomTensorDataLoader.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkRandomTensorDataLoader.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkRandomTensorDataLoaderBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkRandomTensorDataLoaderBase.java
index 8ce879a93a2..771c1076a83 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkRandomTensorDataLoaderBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkRandomTensorDataLoaderBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkRecordIterator.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkRecordIterator.java
new file mode 100644
index 00000000000..f144159f573
--- /dev/null
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkRecordIterator.java
@@ -0,0 +1,30 @@
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
+
+package org.bytedeco.pytorch;
+
+import org.bytedeco.pytorch.Allocator;
+import org.bytedeco.pytorch.Function;
+import org.bytedeco.pytorch.functions.*;
+import org.bytedeco.pytorch.Module;
+import org.bytedeco.javacpp.annotation.Cast;
+import java.nio.*;
+import org.bytedeco.javacpp.*;
+import org.bytedeco.javacpp.annotation.*;
+
+import static org.bytedeco.javacpp.presets.javacpp.*;
+import static org.bytedeco.openblas.global.openblas_nolapack.*;
+import static org.bytedeco.openblas.global.openblas.*;
+
+import static org.bytedeco.pytorch.global.torch.*;
+
+
+@Namespace("caffe2::serialize") @NoOffset @Properties(inherit = org.bytedeco.pytorch.presets.torch.class)
+public class ChunkRecordIterator extends Pointer {
+ static { Loader.load(); }
+ /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
+ public ChunkRecordIterator(Pointer p) { super(p); }
+
+
+ // Read at most `chunkSize` into `buf`. Return the number of actual bytes read.
+ public native @Cast("size_t") long next(Pointer buf);
+}
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkSharedBatchDataset.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkSharedBatchDataset.java
index 7c844d8a0c0..098e8c2c591 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkSharedBatchDataset.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkSharedBatchDataset.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkSharedTensorBatchDataset.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkSharedTensorBatchDataset.java
index 5b478247c28..1daed38af62 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkSharedTensorBatchDataset.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkSharedTensorBatchDataset.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkStatefulDataset.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkStatefulDataset.java
index 4a99533335f..48649299a16 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkStatefulDataset.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkStatefulDataset.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkStatefulTensorDataset.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkStatefulTensorDataset.java
index 3836af1162a..d40d1dc2c25 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkStatefulTensorDataset.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkStatefulTensorDataset.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkTensorBatchDataset.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkTensorBatchDataset.java
index 00c7f6e775a..c9c16904e1b 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkTensorBatchDataset.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkTensorBatchDataset.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkTensorDataReader.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkTensorDataReader.java
index 99eff8c5f74..3f165de5493 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkTensorDataReader.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkTensorDataReader.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkTensorDataset.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkTensorDataset.java
index 18e16f1dc9f..bb02ac9f39a 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkTensorDataset.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ChunkTensorDataset.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ClassAttribute.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ClassAttribute.java
index b98adebe32b..245e1e947ff 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ClassAttribute.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ClassAttribute.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ClassDef.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ClassDef.java
index 51aef3a4793..4f6e30671a4 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ClassDef.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ClassDef.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ClassType.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ClassType.java
index 02b16129d9d..8a19ca8e0ee 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ClassType.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ClassType.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -121,8 +121,8 @@ public static class Property extends Pointer {
// it is unsafe to maintain uses of the old type of the attribute,
// and any code that works on the attribute is now invalid.
// Only newly created code is valid again.
- public native void unsafeChangeAttributeType(@StdString BytePointer name, @ByVal Type.TypePtr new_ty);
- public native void unsafeChangeAttributeType(@StdString String name, @ByVal Type.TypePtr new_ty);
+ public native void unsafeChangeAttributeType(@StdString BytePointer name, @Const @ByRef Type.TypePtr new_ty);
+ public native void unsafeChangeAttributeType(@StdString String name, @Const @ByRef Type.TypePtr new_ty);
// Add attribute \p NAME if it doesn't exist or verify that it has a
// compatible type otherwise.
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ClassTypePropertyOptional.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ClassTypePropertyOptional.java
index 3c82c6d0b94..0f6ee68e172 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ClassTypePropertyOptional.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ClassTypePropertyOptional.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ClassValue.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ClassValue.java
index fba8d9c6c95..b740cf551de 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ClassValue.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ClassValue.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ClosureValue.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ClosureValue.java
index 170459a01d6..8a2c916eebd 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ClosureValue.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ClosureValue.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Code.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Code.java
index c3f1c66ff72..9c5c559676b 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Code.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Code.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/CodeImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/CodeImpl.java
index 9b2d3926419..56fe902a48c 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/CodeImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/CodeImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/CompilationUnit.java b/pytorch/src/gen/java/org/bytedeco/pytorch/CompilationUnit.java
index 758ed102ff0..80bfa8cea8e 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/CompilationUnit.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/CompilationUnit.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/CompileTimeEmptyString.java b/pytorch/src/gen/java/org/bytedeco/pytorch/CompileTimeEmptyString.java
index 58d1b1993f2..3b493e6d8cb 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/CompileTimeEmptyString.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/CompileTimeEmptyString.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/CompiledNodeArgs.java b/pytorch/src/gen/java/org/bytedeco/pytorch/CompiledNodeArgs.java
index eb05330a0b3..778fdee0f15 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/CompiledNodeArgs.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/CompiledNodeArgs.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ComplexType.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ComplexType.java
index a169d0a4556..2b4228b06da 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ComplexType.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ComplexType.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ComplexTypePtr.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ComplexTypePtr.java
index 6132a3fd4a1..40343406921 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ComplexTypePtr.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ComplexTypePtr.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Compound.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Compound.java
index d6466a8c60e..097c118f750 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Compound.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Compound.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstExpr.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstExpr.java
index 46511f72af6..9f15c3265af 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstExpr.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstExpr.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad1dImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad1dImpl.java
index 8eb010bd4f8..c756a5be903 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad1dImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad1dImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -42,8 +42,5 @@ public class ConstantPad1dImpl extends ConstantPad1dImplBase {
private native void allocate(@Const @ByRef ConstantPad1dOptions options_);
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public ConstantPad1dImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public ConstantPad1dImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
}
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad1dImplBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad1dImplBase.java
index d83d22b646e..ba3b49901cd 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad1dImplBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad1dImplBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -26,9 +26,6 @@ public class ConstantPad1dImplBase extends ConstantPad1dImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public ConstantPad1dImplBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public ConstantPad1dImplBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
public ConstantPad1dImplBase(@ByVal @Cast("torch::ExpandingArray<1*2>*") LongPointer padding, double value) { super((Pointer)null); allocate(padding, value); }
private native void allocate(@ByVal @Cast("torch::ExpandingArray<1*2>*") LongPointer padding, double value);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad1dImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad1dImplCloneable.java
index 96044b1aaf5..eb4a8ed8c7b 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad1dImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad1dImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class ConstantPad1dImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public ConstantPad1dImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public ConstantPad1dImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr ConstantPad1dImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad1dOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad1dOptions.java
index c9a7db4b3af..df804685b72 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad1dOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad1dOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad2dImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad2dImpl.java
index 1c32f9c2986..120ff47601e 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad2dImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad2dImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -42,8 +42,5 @@ public class ConstantPad2dImpl extends ConstantPad2dImplBase {
private native void allocate(@Const @ByRef ConstantPad2dOptions options_);
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public ConstantPad2dImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public ConstantPad2dImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
}
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad2dImplBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad2dImplBase.java
index 2bdeb13265f..84517d5fcb2 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad2dImplBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad2dImplBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,9 +22,6 @@ public class ConstantPad2dImplBase extends ConstantPad2dImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public ConstantPad2dImplBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public ConstantPad2dImplBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
public ConstantPad2dImplBase(@ByVal @Cast("torch::ExpandingArray<2*2>*") LongPointer padding, double value) { super((Pointer)null); allocate(padding, value); }
private native void allocate(@ByVal @Cast("torch::ExpandingArray<2*2>*") LongPointer padding, double value);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad2dImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad2dImplCloneable.java
index c638b6de067..81323b5e5c0 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad2dImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad2dImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class ConstantPad2dImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public ConstantPad2dImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public ConstantPad2dImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr ConstantPad2dImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad2dOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad2dOptions.java
index 0a5b8416242..e6c3d2da67e 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad2dOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad2dOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad3dImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad3dImpl.java
index 18eda2cb41e..34fa4bda9f6 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad3dImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad3dImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -42,8 +42,5 @@ public class ConstantPad3dImpl extends ConstantPad3dImplBase {
private native void allocate(@Const @ByRef ConstantPad3dOptions options_);
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public ConstantPad3dImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public ConstantPad3dImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
}
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad3dImplBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad3dImplBase.java
index 151b29fde19..df7449f8b7d 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad3dImplBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad3dImplBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,9 +22,6 @@ public class ConstantPad3dImplBase extends ConstantPad3dImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public ConstantPad3dImplBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public ConstantPad3dImplBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
public ConstantPad3dImplBase(@ByVal @Cast("torch::ExpandingArray<3*2>*") LongPointer padding, double value) { super((Pointer)null); allocate(padding, value); }
private native void allocate(@ByVal @Cast("torch::ExpandingArray<3*2>*") LongPointer padding, double value);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad3dImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad3dImplCloneable.java
index 396b5aa4ec1..18409adf29e 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad3dImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad3dImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class ConstantPad3dImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public ConstantPad3dImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public ConstantPad3dImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr ConstantPad3dImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad3dOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad3dOptions.java
index 255633d760b..cadeea7485d 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad3dOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantPad3dOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantString.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantString.java
index 74e9b651205..74e14d15f19 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantString.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantString.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantStringPtr.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantStringPtr.java
index e7090d69ab9..96fa79756dc 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantStringPtr.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConstantStringPtr.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Context.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Context.java
index d3e1dccaaa2..a55f2aa984d 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Context.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Context.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -138,6 +138,8 @@ public class Context extends Pointer {
public native @Cast("bool") boolean deterministicAlgorithms();
public native @Cast("bool") boolean deterministicAlgorithmsWarnOnly();
public native void setDeterministicAlgorithms(@Cast("bool") boolean arg0, @Cast("bool") boolean arg1);
+ public native @Cast("bool") boolean deterministicFillUninitializedMemory();
+ public native void setDeterministicFillUninitializedMemory(@Cast("bool") boolean arg0);
// Note [Writing Nondeterministic Operations]
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Continue.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Continue.java
index addc051c24c..0a47ef3e3db 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Continue.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Continue.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv1dFuncOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv1dFuncOptions.java
index 1a5cd3a9290..f0ab894ff77 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv1dFuncOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv1dFuncOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv1dImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv1dImpl.java
index 5510f8c45dc..9598c469633 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv1dImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv1dImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -36,9 +36,6 @@ public class Conv1dImpl extends Conv1dImplBase {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public Conv1dImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public Conv1dImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
public Conv1dImpl(
@Cast("int64_t") long input_channels,
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv1dImplBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv1dImplBase.java
index 75593f6b4e9..f41914c9da3 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv1dImplBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv1dImplBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -24,9 +24,6 @@ public class Conv1dImplBase extends Conv1dImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public Conv1dImplBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public Conv1dImplBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
public Conv1dImplBase(@ByVal DetailConv1dOptions options_) { super((Pointer)null); allocate(options_); }
private native void allocate(@ByVal DetailConv1dOptions options_);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv1dImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv1dImplCloneable.java
index 547f9d2f279..33989a694a0 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv1dImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv1dImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class Conv1dImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public Conv1dImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public Conv1dImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr Conv1dImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv1dOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv1dOptions.java
index 21ffa043df8..c33496b60be 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv1dOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv1dOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv1dPadding.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv1dPadding.java
index 9ed98f583de..4b7fec2f254 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv1dPadding.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv1dPadding.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -17,19 +17,19 @@
import static org.bytedeco.pytorch.global.torch.*;
-@NoOffset @Name("c10::variant,torch::enumtype::kValid,torch::enumtype::kSame>") @Properties(inherit = org.bytedeco.pytorch.presets.torch.class)
+@NoOffset @Name("std::variant,torch::enumtype::kValid,torch::enumtype::kSame>") @Properties(inherit = org.bytedeco.pytorch.presets.torch.class)
public class Conv1dPadding extends Pointer {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public Conv1dPadding(Pointer p) { super(p); }
public @Cast("torch::ExpandingArray<1>*") @ByRef LongPointer get0() { return get0(this); }
- @Namespace @Name("c10::get<0>") public static native @Cast("torch::ExpandingArray<1>*") @ByRef LongPointer get0(@ByRef Conv1dPadding container);
+ @Namespace @Name("std::get<0>") public static native @Cast("torch::ExpandingArray<1>*") @ByRef LongPointer get0(@ByRef Conv1dPadding container);
@ValueSetter public native Conv1dPadding put(@Cast("torch::ExpandingArray<1>*") @ByRef LongPointer value);
public @ByRef kValid get1() { return get1(this); }
- @Namespace @Name("c10::get<1>") public static native @ByRef kValid get1(@ByRef Conv1dPadding container);
+ @Namespace @Name("std::get<1>") public static native @ByRef kValid get1(@ByRef Conv1dPadding container);
@ValueSetter public native Conv1dPadding put(@ByRef kValid value);
public @ByRef kSame get2() { return get2(this); }
- @Namespace @Name("c10::get<2>") public static native @ByRef kSame get2(@ByRef Conv1dPadding container);
+ @Namespace @Name("std::get<2>") public static native @ByRef kSame get2(@ByRef Conv1dPadding container);
@ValueSetter public native Conv1dPadding put(@ByRef kSame value);
}
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv2dFuncOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv2dFuncOptions.java
index 65d8ebfe980..e584973c787 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv2dFuncOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv2dFuncOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv2dImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv2dImpl.java
index dfd2f099365..bcbba04019d 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv2dImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv2dImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -36,9 +36,6 @@ public class Conv2dImpl extends Conv2dImplBase {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public Conv2dImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public Conv2dImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
public Conv2dImpl(
@Cast("int64_t") long input_channels,
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv2dImplBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv2dImplBase.java
index 9b3423396ef..69e7a14c0b7 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv2dImplBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv2dImplBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,9 +22,6 @@ public class Conv2dImplBase extends Conv2dImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public Conv2dImplBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public Conv2dImplBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
public Conv2dImplBase(@ByVal DetailConv2dOptions options_) { super((Pointer)null); allocate(options_); }
private native void allocate(@ByVal DetailConv2dOptions options_);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv2dImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv2dImplCloneable.java
index a7e6d1de26d..fa81cc3a2c5 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv2dImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv2dImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class Conv2dImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public Conv2dImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public Conv2dImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr Conv2dImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv2dOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv2dOptions.java
index c37d0f8f58c..ba32723ac78 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv2dOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv2dOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv2dPadding.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv2dPadding.java
index ea8893052c6..61c4261f4b2 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv2dPadding.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv2dPadding.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -17,19 +17,19 @@
import static org.bytedeco.pytorch.global.torch.*;
-@NoOffset @Name("c10::variant,torch::enumtype::kValid,torch::enumtype::kSame>") @Properties(inherit = org.bytedeco.pytorch.presets.torch.class)
+@NoOffset @Name("std::variant,torch::enumtype::kValid,torch::enumtype::kSame>") @Properties(inherit = org.bytedeco.pytorch.presets.torch.class)
public class Conv2dPadding extends Pointer {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public Conv2dPadding(Pointer p) { super(p); }
public @Cast("torch::ExpandingArray<2>*") @ByRef LongPointer get0() { return get0(this); }
- @Namespace @Name("c10::get<0>") public static native @Cast("torch::ExpandingArray<2>*") @ByRef LongPointer get0(@ByRef Conv2dPadding container);
+ @Namespace @Name("std::get<0>") public static native @Cast("torch::ExpandingArray<2>*") @ByRef LongPointer get0(@ByRef Conv2dPadding container);
@ValueSetter public native Conv2dPadding put(@Cast("torch::ExpandingArray<2>*") @ByRef LongPointer value);
public @ByRef kValid get1() { return get1(this); }
- @Namespace @Name("c10::get<1>") public static native @ByRef kValid get1(@ByRef Conv2dPadding container);
+ @Namespace @Name("std::get<1>") public static native @ByRef kValid get1(@ByRef Conv2dPadding container);
@ValueSetter public native Conv2dPadding put(@ByRef kValid value);
public @ByRef kSame get2() { return get2(this); }
- @Namespace @Name("c10::get<2>") public static native @ByRef kSame get2(@ByRef Conv2dPadding container);
+ @Namespace @Name("std::get<2>") public static native @ByRef kSame get2(@ByRef Conv2dPadding container);
@ValueSetter public native Conv2dPadding put(@ByRef kSame value);
}
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv3dFuncOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv3dFuncOptions.java
index 2393b28fde8..a2d7a206d87 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv3dFuncOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv3dFuncOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv3dImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv3dImpl.java
index 19994e2d76a..43ec04d34ab 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv3dImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv3dImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -36,9 +36,6 @@ public class Conv3dImpl extends Conv3dImplBase {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public Conv3dImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public Conv3dImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
public Conv3dImpl(
@Cast("int64_t") long input_channels,
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv3dImplBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv3dImplBase.java
index e4061c69a01..466040b9962 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv3dImplBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv3dImplBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,9 +22,6 @@ public class Conv3dImplBase extends Conv3dImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public Conv3dImplBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public Conv3dImplBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
public Conv3dImplBase(@ByVal DetailConv3dOptions options_) { super((Pointer)null); allocate(options_); }
private native void allocate(@ByVal DetailConv3dOptions options_);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv3dImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv3dImplCloneable.java
index ab3cba20ab5..a67ab190ce9 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv3dImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv3dImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class Conv3dImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public Conv3dImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public Conv3dImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr Conv3dImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv3dOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv3dOptions.java
index 74b9ff14b89..e7dd8351238 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv3dOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv3dOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv3dPadding.java b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv3dPadding.java
index b09cbea15dd..86affc897c2 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/Conv3dPadding.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/Conv3dPadding.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -17,19 +17,19 @@
import static org.bytedeco.pytorch.global.torch.*;
-@NoOffset @Name("c10::variant,torch::enumtype::kValid,torch::enumtype::kSame>") @Properties(inherit = org.bytedeco.pytorch.presets.torch.class)
+@NoOffset @Name("std::variant,torch::enumtype::kValid,torch::enumtype::kSame>") @Properties(inherit = org.bytedeco.pytorch.presets.torch.class)
public class Conv3dPadding extends Pointer {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public Conv3dPadding(Pointer p) { super(p); }
public @Cast("torch::ExpandingArray<3>*") @ByRef LongPointer get0() { return get0(this); }
- @Namespace @Name("c10::get<0>") public static native @Cast("torch::ExpandingArray<3>*") @ByRef LongPointer get0(@ByRef Conv3dPadding container);
+ @Namespace @Name("std::get<0>") public static native @Cast("torch::ExpandingArray<3>*") @ByRef LongPointer get0(@ByRef Conv3dPadding container);
@ValueSetter public native Conv3dPadding put(@Cast("torch::ExpandingArray<3>*") @ByRef LongPointer value);
public @ByRef kValid get1() { return get1(this); }
- @Namespace @Name("c10::get<1>") public static native @ByRef kValid get1(@ByRef Conv3dPadding container);
+ @Namespace @Name("std::get<1>") public static native @ByRef kValid get1(@ByRef Conv3dPadding container);
@ValueSetter public native Conv3dPadding put(@ByRef kValid value);
public @ByRef kSame get2() { return get2(this); }
- @Namespace @Name("c10::get<2>") public static native @ByRef kSame get2(@ByRef Conv3dPadding container);
+ @Namespace @Name("std::get<2>") public static native @ByRef kSame get2(@ByRef Conv3dPadding container);
@ValueSetter public native Conv3dPadding put(@ByRef kSame value);
}
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvPaddingMode.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvPaddingMode.java
index a8ab94abe70..6454ff02e98 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvPaddingMode.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvPaddingMode.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -17,7 +17,7 @@
import static org.bytedeco.pytorch.global.torch.*;
-@NoOffset @Name("c10::variant") @Properties(inherit = org.bytedeco.pytorch.presets.torch.class)
+@NoOffset @Name("std::variant") @Properties(inherit = org.bytedeco.pytorch.presets.torch.class)
public class ConvPaddingMode extends Pointer {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
@@ -31,16 +31,16 @@ public class ConvPaddingMode extends Pointer {
public native @Name("operator =") @ByRef ConvPaddingMode put(@ByRef ConvPaddingMode x);
public @ByRef kZeros get0() { return get0(this); }
- @Namespace @Name("c10::get<0>") public static native @ByRef kZeros get0(@ByRef ConvPaddingMode container);
+ @Namespace @Name("std::get<0>") public static native @ByRef kZeros get0(@ByRef ConvPaddingMode container);
@ValueSetter public native ConvPaddingMode put(@ByRef kZeros value);
public @ByRef kReflect get1() { return get1(this); }
- @Namespace @Name("c10::get<1>") public static native @ByRef kReflect get1(@ByRef ConvPaddingMode container);
+ @Namespace @Name("std::get<1>") public static native @ByRef kReflect get1(@ByRef ConvPaddingMode container);
@ValueSetter public native ConvPaddingMode put(@ByRef kReflect value);
public @ByRef kReplicate get2() { return get2(this); }
- @Namespace @Name("c10::get<2>") public static native @ByRef kReplicate get2(@ByRef ConvPaddingMode container);
+ @Namespace @Name("std::get<2>") public static native @ByRef kReplicate get2(@ByRef ConvPaddingMode container);
@ValueSetter public native ConvPaddingMode put(@ByRef kReplicate value);
public @ByRef kCircular get3() { return get3(this); }
- @Namespace @Name("c10::get<3>") public static native @ByRef kCircular get3(@ByRef ConvPaddingMode container);
+ @Namespace @Name("std::get<3>") public static native @ByRef kCircular get3(@ByRef ConvPaddingMode container);
@ValueSetter public native ConvPaddingMode put(@ByRef kCircular value);
}
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose1dFuncOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose1dFuncOptions.java
index a4b829c2991..1dee0a27b19 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose1dFuncOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose1dFuncOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose1dImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose1dImpl.java
index 9265bfa0ad8..70c2af64001 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose1dImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose1dImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -38,9 +38,6 @@ public class ConvTranspose1dImpl extends ConvTranspose1dImplBase {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public ConvTranspose1dImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public ConvTranspose1dImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
public ConvTranspose1dImpl(
@Cast("int64_t") long input_channels,
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose1dImplBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose1dImplBase.java
index b9af89ada31..486f8e6de8c 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose1dImplBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose1dImplBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -30,9 +30,6 @@ public class ConvTranspose1dImplBase extends ConvTranspose1dImplBaseBase {
private native void allocate(@ByVal DetailConv1dOptions options_);
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public ConvTranspose1dImplBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public ConvTranspose1dImplBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
/** Pretty prints the {@code ConvTranspose{1,2,3}d} module into the given {@code stream}. */
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose1dImplBaseBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose1dImplBaseBase.java
index cd489c43846..7fc4690f041 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose1dImplBaseBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose1dImplBaseBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,9 +22,6 @@ public class ConvTranspose1dImplBaseBase extends ConvTranspose1dImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public ConvTranspose1dImplBaseBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public ConvTranspose1dImplBaseBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
public ConvTranspose1dImplBaseBase(@ByVal DetailConv1dOptions options_) { super((Pointer)null); allocate(options_); }
private native void allocate(@ByVal DetailConv1dOptions options_);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose1dImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose1dImplCloneable.java
index 5ba913e41b0..ca6eb38739d 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose1dImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose1dImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class ConvTranspose1dImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public ConvTranspose1dImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public ConvTranspose1dImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr ConvTranspose1dImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose1dOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose1dOptions.java
index 0b1a00f4551..f8cf246f305 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose1dOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose1dOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose2dFuncOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose2dFuncOptions.java
index 01c4af6c1a0..336ac8f6073 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose2dFuncOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose2dFuncOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose2dImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose2dImpl.java
index fa35920cf5a..f1ac7203ac1 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose2dImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose2dImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -38,9 +38,6 @@ public class ConvTranspose2dImpl extends ConvTranspose2dImplBase {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public ConvTranspose2dImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public ConvTranspose2dImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
public ConvTranspose2dImpl(
@Cast("int64_t") long input_channels,
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose2dImplBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose2dImplBase.java
index fe3bd3bebbe..2b6747cda3e 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose2dImplBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose2dImplBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -26,9 +26,6 @@ public class ConvTranspose2dImplBase extends ConvTranspose2dImplBaseBase {
private native void allocate(@ByVal DetailConv2dOptions options_);
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public ConvTranspose2dImplBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public ConvTranspose2dImplBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
/** Pretty prints the {@code ConvTranspose{1,2,3}d} module into the given {@code stream}. */
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose2dImplBaseBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose2dImplBaseBase.java
index 87f6961ee22..2c6a0855d50 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose2dImplBaseBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose2dImplBaseBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,9 +22,6 @@ public class ConvTranspose2dImplBaseBase extends ConvTranspose2dImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public ConvTranspose2dImplBaseBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public ConvTranspose2dImplBaseBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
public ConvTranspose2dImplBaseBase(@ByVal DetailConv2dOptions options_) { super((Pointer)null); allocate(options_); }
private native void allocate(@ByVal DetailConv2dOptions options_);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose2dImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose2dImplCloneable.java
index 51f1e6c0e3f..dd57a5ddc90 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose2dImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose2dImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class ConvTranspose2dImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public ConvTranspose2dImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public ConvTranspose2dImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
- @Override public Module asModule() { return asModule(this); }
- @Namespace public static native @SharedPtr @Name("SHARED_PTR_NAMESPACE::static_pointer_cast>") Module asModule(@SharedPtr ConvTranspose2dImplCloneable pointer);
/** {@code reset()} must perform initialization of all members with reference
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose2dOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose2dOptions.java
index 95afa0be76a..ca3021ac5bd 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose2dOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose2dOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose3dFuncOptions.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose3dFuncOptions.java
index 46ed91af223..86b32722e3f 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose3dFuncOptions.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose3dFuncOptions.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose3dImpl.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose3dImpl.java
index 4684f19d800..6762020b959 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose3dImpl.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose3dImpl.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -38,9 +38,6 @@ public class ConvTranspose3dImpl extends ConvTranspose3dImplBase {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public ConvTranspose3dImpl(Pointer p) { super(p); }
- /** Downcast constructor. */
- public ConvTranspose3dImpl(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast") void allocate(@SharedPtr Module pointer);
public ConvTranspose3dImpl(
@Cast("int64_t") long input_channels,
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose3dImplBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose3dImplBase.java
index e1a1ee7cdb0..ed5d75ef5ae 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose3dImplBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose3dImplBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -26,9 +26,6 @@ public class ConvTranspose3dImplBase extends ConvTranspose3dImplBaseBase {
private native void allocate(@ByVal DetailConv3dOptions options_);
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public ConvTranspose3dImplBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public ConvTranspose3dImplBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
/** Pretty prints the {@code ConvTranspose{1,2,3}d} module into the given {@code stream}. */
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose3dImplBaseBase.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose3dImplBaseBase.java
index 76597346543..d15f5df1cb6 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose3dImplBaseBase.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose3dImplBaseBase.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,9 +22,6 @@ public class ConvTranspose3dImplBaseBase extends ConvTranspose3dImplCloneable {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public ConvTranspose3dImplBaseBase(Pointer p) { super(p); }
- /** Downcast constructor. */
- public ConvTranspose3dImplBaseBase(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast, torch::nn::Module>") void allocate(@SharedPtr Module pointer);
public ConvTranspose3dImplBaseBase(@ByVal DetailConv3dOptions options_) { super((Pointer)null); allocate(options_); }
private native void allocate(@ByVal DetailConv3dOptions options_);
diff --git a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose3dImplCloneable.java b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose3dImplCloneable.java
index 5a38d0b8424..65b59c547c4 100644
--- a/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose3dImplCloneable.java
+++ b/pytorch/src/gen/java/org/bytedeco/pytorch/ConvTranspose3dImplCloneable.java
@@ -1,4 +1,4 @@
-// Targeted by JavaCPP version 1.5.10: DO NOT EDIT THIS FILE
+// Targeted by JavaCPP version 1.5.11-SNAPSHOT: DO NOT EDIT THIS FILE
package org.bytedeco.pytorch;
@@ -22,11 +22,6 @@ public class ConvTranspose3dImplCloneable extends Module {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public ConvTranspose3dImplCloneable(Pointer p) { super(p); }
- /** Downcast constructor. */
- public ConvTranspose3dImplCloneable(Module pointer) { super((Pointer)null); allocate(pointer); }
- @Namespace private native @SharedPtr @Name("SHARED_PTR_NAMESPACE::dynamic_pointer_cast