MCPcopy Create free account
hub / github.com/NeuralNetworkVerification/Marabou / duplicateConstraint

Method duplicateConstraint

src/engine/LeakyReluConstraint.cpp:94–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94PiecewiseLinearConstraint *LeakyReluConstraint::duplicateConstraint() const
95{
96 LeakyReluConstraint *clone = new LeakyReluConstraint( _b, _f, _slope );
97 *clone = *this;
98 this->initializeDuplicateCDOs( clone );
99 return clone;
100}
101
102void LeakyReluConstraint::restoreState( const PiecewiseLinearConstraint *state )
103{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected