ACMX 2.139.0
Dual-Backend Real-Time GPU Video Synthesis
Loading...
Searching...
No Matches
acmxvk::dream::Model::Impl Struct Reference

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

Detailed Description

Definition at line 240 of file deep_dream_model.cpp.

Member Function Documentation

◆ optimize()

Member Data Documentation

◆ blended_input_cuda

cv::cuda::GpuMat acmxvk::dream::Model::Impl::blended_input_cuda

Definition at line 249 of file deep_dream_model.cpp.

◆ cuda_device

int acmxvk::dream::Model::Impl::cuda_device = 0

Definition at line 251 of file deep_dream_model.cpp.

Referenced by optimize().

◆ filename

std::filesystem::path acmxvk::dream::Model::Impl::filename

Definition at line 243 of file deep_dream_model.cpp.

◆ frame_sequence

std::uint64_t acmxvk::dream::Model::Impl::frame_sequence = 0

Definition at line 253 of file deep_dream_model.cpp.

Referenced by optimize().

◆ metadata

ModelMetadata acmxvk::dream::Model::Impl::metadata

Definition at line 242 of file deep_dream_model.cpp.

Referenced by optimize().

◆ module

torch::jit::Module acmxvk::dream::Model::Impl::module

Definition at line 241 of file deep_dream_model.cpp.

Referenced by optimize().

◆ output_shapes

std::vector<std::vector<std::int64_t> > acmxvk::dream::Model::Impl::output_shapes

Definition at line 244 of file deep_dream_model.cpp.

◆ previous_output

cv::Mat acmxvk::dream::Model::Impl::previous_output

Definition at line 245 of file deep_dream_model.cpp.

◆ previous_output_cuda

cv::cuda::GpuMat acmxvk::dream::Model::Impl::previous_output_cuda

Definition at line 246 of file deep_dream_model.cpp.

◆ scalar_type

torch::ScalarType acmxvk::dream::Model::Impl::scalar_type = torch::kFloat32

Definition at line 252 of file deep_dream_model.cpp.

Referenced by optimize().

◆ selected_layer

std::size_t acmxvk::dream::Model::Impl::selected_layer = 0

Definition at line 250 of file deep_dream_model.cpp.

Referenced by optimize().

◆ transformed_feedback_cuda

cv::cuda::GpuMat acmxvk::dream::Model::Impl::transformed_feedback_cuda

Definition at line 248 of file deep_dream_model.cpp.

◆ working_input_cuda

cv::cuda::GpuMat acmxvk::dream::Model::Impl::working_input_cuda

Definition at line 247 of file deep_dream_model.cpp.


The documentation for this struct was generated from the following file: