24.02.1
|
Attributes are backend-agnostic parameters (in addition to the input/output tensors) of an operator. More...
#include <CastAttributes.h>
Public Member Functions | |
CastAttributes & | data_type (const DataType &data_type) |
Set Data Type to be casted to. More... | |
DataType | data_type () const |
Get Data Type to be casted to. More... | |
CastAttributes & | convert_policy (const ConvertPolicy &policy) |
Set Policy. More... | |
ConvertPolicy | convert_policy () const |
Get Policy. More... | |
Attributes are backend-agnostic parameters (in addition to the input/output tensors) of an operator.
Cast attributes
Definition at line 39 of file CastAttributes.h.
ConvertPolicy convert_policy | ( | ) | const |
Get Policy.
Definition at line 50 of file CastAttributes.cpp.
Referenced by CastAttributes::convert_policy().
CastAttributes & convert_policy | ( | const ConvertPolicy & | policy | ) |
Set Policy.
Definition at line 44 of file CastAttributes.cpp.
References CastAttributes::convert_policy().
Referenced by ClTemplateCast::get_component_code(), and arm_compute::operator<<().
DataType data_type | ( | ) | const |
Get Data Type to be casted to.
Definition at line 39 of file CastAttributes.cpp.
Referenced by CastAttributes::data_type().
CastAttributes & data_type | ( | const DataType & | data_type | ) |
Set Data Type to be casted to.
Definition at line 33 of file CastAttributes.cpp.
References CastAttributes::data_type().
Referenced by GpuCast::create_op(), arm_compute::operator<<(), arm_compute::test::validation::TEST_CASE(), ClComponentCast::validate(), and GpuCast::validate_op().