24.02.1
|
Attributes are backend-agnostic parameters (in addition to the input/output tensors) of an operator. More...
#include <ClampAttributes.h>
Public Member Functions | |
ClampAttributes & | min_val (const float &min_val) |
Set the minimum clip value. More... | |
float | min_val () const |
Get the minimum clip value. More... | |
ClampAttributes & | max_val (const float &max_val) |
Set the maximum clip value. More... | |
float | max_val () const |
Get the maximum clip value. More... | |
Attributes are backend-agnostic parameters (in addition to the input/output tensors) of an operator.
Clamp attributes
Definition at line 40 of file ClampAttributes.h.
float max_val | ( | ) | const |
Get the maximum clip value.
Definition at line 51 of file ClampAttributes.cpp.
Referenced by ClampAttributes::max_val().
ClampAttributes & max_val | ( | const float & | max_val | ) |
Set the maximum clip value.
Definition at line 45 of file ClampAttributes.cpp.
References ClampAttributes::max_val().
Referenced by arm_compute::test::validation::combine(), GpuClamp::create_op(), arm_compute::test::validation::FIXTURE_DATA_TEST_CASE(), and arm_compute::operator<<().
float min_val | ( | ) | const |
Get the minimum clip value.
Definition at line 40 of file ClampAttributes.cpp.
Referenced by ClampAttributes::min_val().
ClampAttributes & min_val | ( | const float & | min_val | ) |
Set the minimum clip value.
Definition at line 34 of file ClampAttributes.cpp.
References ClampAttributes::min_val().
Referenced by arm_compute::test::validation::combine(), GpuClamp::create_op(), arm_compute::test::validation::FIXTURE_DATA_TEST_CASE(), and arm_compute::operator<<().