MCPcopy Create free account
hub / github.com/darglein/ADOP / PointRenderModuleImpl

Class PointRenderModuleImpl

src/lib/rendering/RenderModule.h:10–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include "PointRenderer.h"
9
10class PointRenderModuleImpl : public torch::nn::Module
11{
12 public:
13 PointRenderModuleImpl(std::shared_ptr<CombinedParams> params);
14
15 // Renders the point cloud image in multiple scale levels and returns all of them.
16 // If masks are required, the first n images are the color images followed by n mask images
17 //
18 std::pair<std::vector<torch::Tensor>, std::vector<torch::Tensor>> forward(NeuralRenderInfo* nri);
19
20 std::pair<std::vector<torch::Tensor>, std::vector<torch::Tensor>> forward(
21 NeuralScene& scene, const std::vector<NeuralTrainData>& batch, CUDA::CudaTimerSystem* timer_system = nullptr);
22
23 std::shared_ptr<CombinedParams> params;
24 int num_layers;
25 std::shared_ptr<PointRendererCache> cache;
26};
27
28
29TORCH_MODULE(PointRenderModule);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected