MCPcopy Create free account
hub / github.com/RenderKit/oidn / OutputProcessDesc

Function OutputProcessDesc

core/output_process.cpp:6–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include "output_process.h"
5
6OIDN_NAMESPACE_BEGIN
7
8 OutputProcess::OutputProcess(const OutputProcessDesc& desc)
9 : OutputProcessDesc(desc)
10 {
11 if (srcDesc.getRank() != 3)
12 throw std::invalid_argument("invalid output processing source shape");
13
14 setTile(0, 0, 0, 0, 0, 0);
15 }
16
17 void OutputProcess::setSrc(const Ref<Tensor>& src)
18 {

Callers

nothing calls this directly

Calls 1

getRankMethod · 0.80

Tested by

no test coverage detected