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

Method setWeight

core/concat_conv.cpp:74–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 // -----------------------------------------------------------------------------------------------
73
74 void ConcatConv::setWeight(const Ref<Tensor>& weight)
75 {
76 if (!weight || weight->getDesc() != weightDesc)
77 throw std::invalid_argument("invalid concat+conv weight");
78
79 this->weight = weight;
80 updateWeight();
81 }
82
83 // -----------------------------------------------------------------------------------------------
84

Callers 1

updateWeightMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected