/aosp_15_r20/external/tensorflow/tensorflow/python/framework/ |
H A D | op_def_util.cc | 48 const std::map<std::string, AttributeType>* AttributeTypeNameMap() { in AttributeTypeNameMap() 49 static auto* type_map = new std::map<std::string, AttributeType>( in AttributeTypeNameMap() 50 {{"any", AttributeType::ANY}, in AttributeTypeNameMap() 51 {"float", AttributeType::FLOAT}, in AttributeTypeNameMap() 52 {"int", AttributeType::INT}, in AttributeTypeNameMap() 53 {"string", AttributeType::STRING}, in AttributeTypeNameMap() 54 {"bool", AttributeType::BOOL}, in AttributeTypeNameMap() 55 {"shape", AttributeType::SHAPE}, in AttributeTypeNameMap() 56 {"type", AttributeType::DTYPE}, in AttributeTypeNameMap() 57 {"tensor", AttributeType::TENSOR}, in AttributeTypeNameMap() [all …]
|
H A D | op_def_library_pybind.cc | 44 using ::tensorflow::AttributeType; 97 py::object ToAttributeType(const py::handle& value, const AttributeType type) { in ToAttributeType() 126 return ToAttributeType(value, AttributeType::DTYPE) in MakeType() 139 return ToAttributeType(value, AttributeType::SHAPE) in MakeShape() 163 const AttributeType type_enum = AttributeTypeFromName(attr_type); in ValueToAttrValue() 165 case AttributeType::STRING: in ValueToAttrValue() 168 case AttributeType::LIST_STRING: { in ValueToAttrValue() 175 case AttributeType::INT: in ValueToAttrValue() 178 case AttributeType::LIST_INT: { in ValueToAttrValue() 185 case AttributeType::FLOAT: in ValueToAttrValue() [all …]
|
/aosp_15_r20/external/pytorch/torch/onnx/_internal/exporter/ |
H A D | _schemas.py | 31 float: ir.AttributeType.FLOAT, 32 int: ir.AttributeType.INT, 33 str: ir.AttributeType.STRING, 34 bool: ir.AttributeType.INT, 35 ir.Tensor: ir.AttributeType.TENSOR, 36 ir.TensorProtocol: ir.AttributeType.TENSOR, 37 ir.Graph: ir.AttributeType.GRAPH, 38 ir.GraphProtocol: ir.AttributeType.GRAPH, 44 float: ir.AttributeType.FLOATS, 45 int: ir.AttributeType.INTS, [all …]
|
/aosp_15_r20/prebuilts/vndk/v31/x86/include/frameworks/av/media/libmedia/include/media/ |
D | EventMetric.h | 73 template<typename AttributeType> 86 void Record(double value, AttributeType attribute) { in Record() 114 std::function<void (const AttributeType&, in ExportValues() argument 126 std::map<AttributeType, std::unique_ptr<struct EventStatistics>> values_; 146 template<typename AttributeType> 149 explicit EventTimer(EventMetric<AttributeType>* metric) in EventTimer() 161 void SetAttribute(const AttributeType& attribute) { in SetAttribute() 170 EventMetric<AttributeType>* metric_; 171 AttributeType attribute_;
|
/aosp_15_r20/prebuilts/vndk/v34/arm64/include/frameworks/av/media/libmedia/include/media/ |
D | EventMetric.h | 73 template<typename AttributeType> 86 void Record(double value, AttributeType attribute) { in Record() 114 std::function<void (const AttributeType&, in ExportValues() argument 126 std::map<AttributeType, std::unique_ptr<struct EventStatistics>> values_; 146 template<typename AttributeType> 149 explicit EventTimer(EventMetric<AttributeType>* metric) in EventTimer() 161 void SetAttribute(const AttributeType& attribute) { in SetAttribute() 170 EventMetric<AttributeType>* metric_; 171 AttributeType attribute_;
|
/aosp_15_r20/prebuilts/vndk/v31/arm64/include/frameworks/av/media/libmedia/include/media/ |
D | EventMetric.h | 73 template<typename AttributeType> 86 void Record(double value, AttributeType attribute) { in Record() 114 std::function<void (const AttributeType&, in ExportValues() argument 126 std::map<AttributeType, std::unique_ptr<struct EventStatistics>> values_; 146 template<typename AttributeType> 149 explicit EventTimer(EventMetric<AttributeType>* metric) in EventTimer() 161 void SetAttribute(const AttributeType& attribute) { in SetAttribute() 170 EventMetric<AttributeType>* metric_; 171 AttributeType attribute_;
|
/aosp_15_r20/prebuilts/vndk/v33/x86/include/frameworks/av/media/libmedia/include/media/ |
D | EventMetric.h | 73 template<typename AttributeType> 86 void Record(double value, AttributeType attribute) { in Record() 114 std::function<void (const AttributeType&, in ExportValues() argument 126 std::map<AttributeType, std::unique_ptr<struct EventStatistics>> values_; 146 template<typename AttributeType> 149 explicit EventTimer(EventMetric<AttributeType>* metric) in EventTimer() 161 void SetAttribute(const AttributeType& attribute) { in SetAttribute() 170 EventMetric<AttributeType>* metric_; 171 AttributeType attribute_;
|
/aosp_15_r20/prebuilts/vndk/v34/arm/include/frameworks/av/media/libmedia/include/media/ |
D | EventMetric.h | 73 template<typename AttributeType> 86 void Record(double value, AttributeType attribute) { in Record() 114 std::function<void (const AttributeType&, in ExportValues() argument 126 std::map<AttributeType, std::unique_ptr<struct EventStatistics>> values_; 146 template<typename AttributeType> 149 explicit EventTimer(EventMetric<AttributeType>* metric) in EventTimer() 161 void SetAttribute(const AttributeType& attribute) { in SetAttribute() 170 EventMetric<AttributeType>* metric_; 171 AttributeType attribute_;
|
/aosp_15_r20/prebuilts/vndk/v30/x86/include/frameworks/av/media/libmedia/include/media/ |
D | EventMetric.h | 73 template<typename AttributeType> 86 void Record(double value, AttributeType attribute) { in Record() 114 std::function<void (const AttributeType&, in ExportValues() argument 126 std::map<AttributeType, std::unique_ptr<struct EventStatistics>> values_; 146 template<typename AttributeType> 149 explicit EventTimer(EventMetric<AttributeType>* metric) in EventTimer() 161 void SetAttribute(const AttributeType& attribute) { in SetAttribute() 170 EventMetric<AttributeType>* metric_; 171 AttributeType attribute_;
|
/aosp_15_r20/prebuilts/vndk/v32/x86/include/frameworks/av/media/libmedia/include/media/ |
D | EventMetric.h | 73 template<typename AttributeType> 86 void Record(double value, AttributeType attribute) { in Record() 114 std::function<void (const AttributeType&, in ExportValues() argument 126 std::map<AttributeType, std::unique_ptr<struct EventStatistics>> values_; 146 template<typename AttributeType> 149 explicit EventTimer(EventMetric<AttributeType>* metric) in EventTimer() 161 void SetAttribute(const AttributeType& attribute) { in SetAttribute() 170 EventMetric<AttributeType>* metric_; 171 AttributeType attribute_;
|
/aosp_15_r20/prebuilts/vndk/v34/x86_64/include/frameworks/av/media/libmedia/include/media/ |
D | EventMetric.h | 73 template<typename AttributeType> 86 void Record(double value, AttributeType attribute) { in Record() 114 std::function<void (const AttributeType&, in ExportValues() argument 126 std::map<AttributeType, std::unique_ptr<struct EventStatistics>> values_; 146 template<typename AttributeType> 149 explicit EventTimer(EventMetric<AttributeType>* metric) in EventTimer() 161 void SetAttribute(const AttributeType& attribute) { in SetAttribute() 170 EventMetric<AttributeType>* metric_; 171 AttributeType attribute_;
|
/aosp_15_r20/prebuilts/vndk/v31/x86_64/include/frameworks/av/media/libmedia/include/media/ |
D | EventMetric.h | 73 template<typename AttributeType> 86 void Record(double value, AttributeType attribute) { in Record() 114 std::function<void (const AttributeType&, in ExportValues() argument 126 std::map<AttributeType, std::unique_ptr<struct EventStatistics>> values_; 146 template<typename AttributeType> 149 explicit EventTimer(EventMetric<AttributeType>* metric) in EventTimer() 161 void SetAttribute(const AttributeType& attribute) { in SetAttribute() 170 EventMetric<AttributeType>* metric_; 171 AttributeType attribute_;
|
/aosp_15_r20/prebuilts/vndk/v30/x86_64/include/frameworks/av/media/libmedia/include/media/ |
D | EventMetric.h | 73 template<typename AttributeType> 86 void Record(double value, AttributeType attribute) { in Record() 114 std::function<void (const AttributeType&, in ExportValues() argument 126 std::map<AttributeType, std::unique_ptr<struct EventStatistics>> values_; 146 template<typename AttributeType> 149 explicit EventTimer(EventMetric<AttributeType>* metric) in EventTimer() 161 void SetAttribute(const AttributeType& attribute) { in SetAttribute() 170 EventMetric<AttributeType>* metric_; 171 AttributeType attribute_;
|
/aosp_15_r20/prebuilts/vndk/v30/arm/include/frameworks/av/media/libmedia/include/media/ |
D | EventMetric.h | 73 template<typename AttributeType> 86 void Record(double value, AttributeType attribute) { in Record() 114 std::function<void (const AttributeType&, in ExportValues() argument 126 std::map<AttributeType, std::unique_ptr<struct EventStatistics>> values_; 146 template<typename AttributeType> 149 explicit EventTimer(EventMetric<AttributeType>* metric) in EventTimer() 161 void SetAttribute(const AttributeType& attribute) { in SetAttribute() 170 EventMetric<AttributeType>* metric_; 171 AttributeType attribute_;
|
/aosp_15_r20/frameworks/av/media/libmedia/include/media/ |
H A D | EventMetric.h | 73 template<typename AttributeType> 86 void Record(double value, AttributeType attribute) { in Record() 114 std::function<void (const AttributeType&, in ExportValues() argument 126 std::map<AttributeType, std::unique_ptr<struct EventStatistics>> values_; 146 template<typename AttributeType> 149 explicit EventTimer(EventMetric<AttributeType>* metric) in EventTimer() 161 void SetAttribute(const AttributeType& attribute) { in SetAttribute() 170 EventMetric<AttributeType>* metric_; 171 AttributeType attribute_;
|
/aosp_15_r20/prebuilts/vndk/v31/arm/include/frameworks/av/media/libmedia/include/media/ |
D | EventMetric.h | 73 template<typename AttributeType> 86 void Record(double value, AttributeType attribute) { in Record() 114 std::function<void (const AttributeType&, in ExportValues() argument 126 std::map<AttributeType, std::unique_ptr<struct EventStatistics>> values_; 146 template<typename AttributeType> 149 explicit EventTimer(EventMetric<AttributeType>* metric) in EventTimer() 161 void SetAttribute(const AttributeType& attribute) { in SetAttribute() 170 EventMetric<AttributeType>* metric_; 171 AttributeType attribute_;
|
/aosp_15_r20/prebuilts/vndk/v32/x86_64/include/frameworks/av/media/libmedia/include/media/ |
D | EventMetric.h | 73 template<typename AttributeType> 86 void Record(double value, AttributeType attribute) { in Record() 114 std::function<void (const AttributeType&, in ExportValues() argument 126 std::map<AttributeType, std::unique_ptr<struct EventStatistics>> values_; 146 template<typename AttributeType> 149 explicit EventTimer(EventMetric<AttributeType>* metric) in EventTimer() 161 void SetAttribute(const AttributeType& attribute) { in SetAttribute() 170 EventMetric<AttributeType>* metric_; 171 AttributeType attribute_;
|
/aosp_15_r20/prebuilts/vndk/v34/x86/include/frameworks/av/media/libmedia/include/media/ |
D | EventMetric.h | 73 template<typename AttributeType> 86 void Record(double value, AttributeType attribute) { in Record() 114 std::function<void (const AttributeType&, in ExportValues() argument 126 std::map<AttributeType, std::unique_ptr<struct EventStatistics>> values_; 146 template<typename AttributeType> 149 explicit EventTimer(EventMetric<AttributeType>* metric) in EventTimer() 161 void SetAttribute(const AttributeType& attribute) { in SetAttribute() 170 EventMetric<AttributeType>* metric_; 171 AttributeType attribute_;
|
/aosp_15_r20/prebuilts/vndk/v32/arm/include/frameworks/av/media/libmedia/include/media/ |
D | EventMetric.h | 73 template<typename AttributeType> 86 void Record(double value, AttributeType attribute) { in Record() 114 std::function<void (const AttributeType&, in ExportValues() argument 126 std::map<AttributeType, std::unique_ptr<struct EventStatistics>> values_; 146 template<typename AttributeType> 149 explicit EventTimer(EventMetric<AttributeType>* metric) in EventTimer() 161 void SetAttribute(const AttributeType& attribute) { in SetAttribute() 170 EventMetric<AttributeType>* metric_; 171 AttributeType attribute_;
|
/aosp_15_r20/prebuilts/vndk/v33/arm/include/frameworks/av/media/libmedia/include/media/ |
D | EventMetric.h | 73 template<typename AttributeType> 86 void Record(double value, AttributeType attribute) { in Record() 114 std::function<void (const AttributeType&, in ExportValues() argument 126 std::map<AttributeType, std::unique_ptr<struct EventStatistics>> values_; 146 template<typename AttributeType> 149 explicit EventTimer(EventMetric<AttributeType>* metric) in EventTimer() 161 void SetAttribute(const AttributeType& attribute) { in SetAttribute() 170 EventMetric<AttributeType>* metric_; 171 AttributeType attribute_;
|
/aosp_15_r20/prebuilts/vndk/v33/x86_64/include/frameworks/av/media/libmedia/include/media/ |
D | EventMetric.h | 73 template<typename AttributeType> 86 void Record(double value, AttributeType attribute) { in Record() 114 std::function<void (const AttributeType&, in ExportValues() argument 126 std::map<AttributeType, std::unique_ptr<struct EventStatistics>> values_; 146 template<typename AttributeType> 149 explicit EventTimer(EventMetric<AttributeType>* metric) in EventTimer() 161 void SetAttribute(const AttributeType& attribute) { in SetAttribute() 170 EventMetric<AttributeType>* metric_; 171 AttributeType attribute_;
|
/aosp_15_r20/prebuilts/vndk/v32/arm64/include/frameworks/av/media/libmedia/include/media/ |
D | EventMetric.h | 73 template<typename AttributeType> 86 void Record(double value, AttributeType attribute) { in Record() 114 std::function<void (const AttributeType&, in ExportValues() argument 126 std::map<AttributeType, std::unique_ptr<struct EventStatistics>> values_; 146 template<typename AttributeType> 149 explicit EventTimer(EventMetric<AttributeType>* metric) in EventTimer() 161 void SetAttribute(const AttributeType& attribute) { in SetAttribute() 170 EventMetric<AttributeType>* metric_; 171 AttributeType attribute_;
|
/aosp_15_r20/prebuilts/vndk/v33/arm64/include/frameworks/av/media/libmedia/include/media/ |
D | EventMetric.h | 73 template<typename AttributeType> 86 void Record(double value, AttributeType attribute) { in Record() 114 std::function<void (const AttributeType&, in ExportValues() argument 126 std::map<AttributeType, std::unique_ptr<struct EventStatistics>> values_; 146 template<typename AttributeType> 149 explicit EventTimer(EventMetric<AttributeType>* metric) in EventTimer() 161 void SetAttribute(const AttributeType& attribute) { in SetAttribute() 170 EventMetric<AttributeType>* metric_; 171 AttributeType attribute_;
|
/aosp_15_r20/prebuilts/vndk/v30/arm64/include/frameworks/av/media/libmedia/include/media/ |
D | EventMetric.h | 73 template<typename AttributeType> 86 void Record(double value, AttributeType attribute) { in Record() 114 std::function<void (const AttributeType&, in ExportValues() argument 126 std::map<AttributeType, std::unique_ptr<struct EventStatistics>> values_; 146 template<typename AttributeType> 149 explicit EventTimer(EventMetric<AttributeType>* metric) in EventTimer() 161 void SetAttribute(const AttributeType& attribute) { in SetAttribute() 170 EventMetric<AttributeType>* metric_; 171 AttributeType attribute_;
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/RISCV/MCTargetDesc/ |
H A D | RISCVELFStreamer.h | 36 enum class AttributeType { Hidden, Numeric, Text, NumericAndText }; enum 39 AttributeType Type; 64 Item->Type = AttributeType::Numeric; in setAttributeItem() 70 Contents.push_back({AttributeType::Numeric, Attribute, Value, ""}); in setAttributeItem() 79 Item->Type = AttributeType::Text; in setAttributeItem() 85 Contents.push_back({AttributeType::Text, Attribute, 0, std::string(Value)}); in setAttributeItem() 94 Item->Type = AttributeType::NumericAndText; in setAttributeItems() 101 Contents.push_back({AttributeType::NumericAndText, Attribute, IntValue, in setAttributeItems()
|