Public Member Functions | |
| TensorAscentResult | optimize (const torch::Tensor &input, const GradientAscentOptions &options) |
Public Attributes | |
| cv::cuda::GpuMat | blended_input_cuda |
| int | cuda_device = 0 |
| std::filesystem::path | filename |
| std::uint64_t | frame_sequence = 0 |
| ModelMetadata | metadata |
| torch::jit::Module | module |
| std::vector< std::vector< std::int64_t > > | output_shapes |
| cv::Mat | previous_output |
| cv::cuda::GpuMat | previous_output_cuda |
| torch::ScalarType | scalar_type = torch::kFloat32 |
| std::size_t | selected_layer = 0 |
| cv::cuda::GpuMat | transformed_feedback_cuda |
| cv::cuda::GpuMat | working_input_cuda |
Definition at line 240 of file deep_dream_model.cpp.
|
nodiscard |
Definition at line 258 of file deep_dream_model.cpp.
References acmxvk::dream::GradientAscentResult::activation_loss, cuda_device, frame_sequence, acmxvk::dream::ModelMetadata::input_mean, acmxvk::dream::ModelMetadata::input_std, acmxvk::dream::GradientAscentOptions::iterations, acmxvk::dream::GradientAscentOptions::jitter, acmxvk::dream::ModelMetadata::layers, acmxvk::dream::GradientAscentResult::mean_gradient, acmxvk::dream::GradientAscentResult::mean_pixel_change, metadata, acmxvk::dream::ModelMetadata::minimum_input_size, module, acmxvk::dream::GradientAscentOptions::octave_scale, acmxvk::dream::GradientAscentOptions::octaves, acmxvk::dream::GradientAscentResult::processed_height, acmxvk::dream::GradientAscentResult::processed_octaves, acmxvk::dream::GradientAscentResult::processed_width, scalar_type, selected_layer, acmxvk::dream::GradientAscentOptions::smoothing, acmxvk::dream::GradientAscentOptions::step_size, and acmxvk::dream::GradientAscentOptions::target_channel.
| cv::cuda::GpuMat acmxvk::dream::Model::Impl::blended_input_cuda |
Definition at line 249 of file deep_dream_model.cpp.
| int acmxvk::dream::Model::Impl::cuda_device = 0 |
Definition at line 251 of file deep_dream_model.cpp.
Referenced by optimize().
| std::filesystem::path acmxvk::dream::Model::Impl::filename |
Definition at line 243 of file deep_dream_model.cpp.
| std::uint64_t acmxvk::dream::Model::Impl::frame_sequence = 0 |
Definition at line 253 of file deep_dream_model.cpp.
Referenced by optimize().
| ModelMetadata acmxvk::dream::Model::Impl::metadata |
Definition at line 242 of file deep_dream_model.cpp.
Referenced by optimize().
| torch::jit::Module acmxvk::dream::Model::Impl::module |
Definition at line 241 of file deep_dream_model.cpp.
Referenced by optimize().
| std::vector<std::vector<std::int64_t> > acmxvk::dream::Model::Impl::output_shapes |
Definition at line 244 of file deep_dream_model.cpp.
| cv::Mat acmxvk::dream::Model::Impl::previous_output |
Definition at line 245 of file deep_dream_model.cpp.
| cv::cuda::GpuMat acmxvk::dream::Model::Impl::previous_output_cuda |
Definition at line 246 of file deep_dream_model.cpp.
| torch::ScalarType acmxvk::dream::Model::Impl::scalar_type = torch::kFloat32 |
Definition at line 252 of file deep_dream_model.cpp.
Referenced by optimize().
| std::size_t acmxvk::dream::Model::Impl::selected_layer = 0 |
Definition at line 250 of file deep_dream_model.cpp.
Referenced by optimize().
| cv::cuda::GpuMat acmxvk::dream::Model::Impl::transformed_feedback_cuda |
Definition at line 248 of file deep_dream_model.cpp.
| cv::cuda::GpuMat acmxvk::dream::Model::Impl::working_input_cuda |
Definition at line 247 of file deep_dream_model.cpp.