/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/include/glow/Importer/ |
H A D | ONNXModelLoader.h | 34 namespace ONNX_NAMESPACE { 144 Error loadConv(const ONNX_NAMESPACE::NodeProto &op, 176 Error loadPool(const ONNX_NAMESPACE::NodeProto &op, 232 Error loadPad(const ONNX_NAMESPACE::NodeProto &op, 268 Error loadRNN(const ONNX_NAMESPACE::NodeProto &op, 272 Error loadGRU(const ONNX_NAMESPACE::NodeProto &op, 392 Error loadNetwork(ONNX_NAMESPACE::GraphProto &net, 401 Error setVersion(ONNX_NAMESPACE::ModelProto MP); 405 static Expected<ONNX_NAMESPACE::ModelProto> 427 Error loadInputs(ONNX_NAMESPACE::GraphProto &net, [all …]
|
/dports/misc/py-onnx/onnx-1.10.2/onnx/common/ |
H A D | ir_pb_converter.cc | 11 namespace ONNX_NAMESPACE { namespace 26 case ONNX_NAMESPACE::TensorProto_DataType_FLOAT: in tensorProtoToTensor() 34 case ONNX_NAMESPACE::TensorProto_DataType_FLOAT16: in tensorProtoToTensor() 35 case ONNX_NAMESPACE::TensorProto_DataType_BFLOAT16: in tensorProtoToTensor() 36 case ONNX_NAMESPACE::TensorProto_DataType_BOOL: in tensorProtoToTensor() 37 case ONNX_NAMESPACE::TensorProto_DataType_INT8: in tensorProtoToTensor() 38 case ONNX_NAMESPACE::TensorProto_DataType_INT16: in tensorProtoToTensor() 39 case ONNX_NAMESPACE::TensorProto_DataType_INT32: in tensorProtoToTensor() 40 case ONNX_NAMESPACE::TensorProto_DataType_UINT8: in tensorProtoToTensor() 55 case ONNX_NAMESPACE::TensorProto_DataType_UINT32: in tensorProtoToTensor() [all …]
|
H A D | tensor.h | 16 namespace ONNX_NAMESPACE { 53 , elem_type_(ONNX_NAMESPACE::TensorProto_DataType_UNDEFINED) in Tensor() 331 case ONNX_NAMESPACE::TensorProto_DataType_FLOAT: { \ 335 case ONNX_NAMESPACE::TensorProto_DataType_BOOL: \ 336 case ONNX_NAMESPACE::TensorProto_DataType_INT8: \ 337 case ONNX_NAMESPACE::TensorProto_DataType_INT16: \ 376 case ONNX_NAMESPACE::TensorProto_DataType_FLOAT: { in APPLY_BINARY_FUNCTION() 380 case ONNX_NAMESPACE::TensorProto_DataType_DOUBLE: { in APPLY_BINARY_FUNCTION() 399 case ONNX_NAMESPACE::TensorProto_DataType_FLOAT: { in scale_by_first_dim() 403 case ONNX_NAMESPACE::TensorProto_DataType_FLOAT16: { in scale_by_first_dim() [all …]
|
H A D | assertions.h | 13 namespace ONNX_NAMESPACE { 41 std::string error_msg = ::ONNX_NAMESPACE::barf( \ 57 std::string error_msg = ::ONNX_NAMESPACE::barf( \ 74 std::string error_msg = ::ONNX_NAMESPACE::barf( \
|
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/thirdparty/onnx/onnx/common/ |
H A D | ir_pb_converter.cc | 6 namespace ONNX_NAMESPACE { namespace 21 case ONNX_NAMESPACE::TensorProto_DataType_FLOAT: in tensorProtoToTensor() 29 case ONNX_NAMESPACE::TensorProto_DataType_FLOAT16: in tensorProtoToTensor() 30 case ONNX_NAMESPACE::TensorProto_DataType_BFLOAT16: in tensorProtoToTensor() 31 case ONNX_NAMESPACE::TensorProto_DataType_BOOL: in tensorProtoToTensor() 32 case ONNX_NAMESPACE::TensorProto_DataType_INT8: in tensorProtoToTensor() 33 case ONNX_NAMESPACE::TensorProto_DataType_INT16: in tensorProtoToTensor() 34 case ONNX_NAMESPACE::TensorProto_DataType_INT32: in tensorProtoToTensor() 35 case ONNX_NAMESPACE::TensorProto_DataType_UINT8: in tensorProtoToTensor() 50 case ONNX_NAMESPACE::TensorProto_DataType_UINT32: in tensorProtoToTensor() [all …]
|
H A D | tensor.h | 12 namespace ONNX_NAMESPACE { 49 , elem_type_(ONNX_NAMESPACE::TensorProto_DataType_UNDEFINED) in Tensor() 281 case ONNX_NAMESPACE::TensorProto_DataType_FLOAT: { \ 285 case ONNX_NAMESPACE::TensorProto_DataType_BOOL: \ 286 case ONNX_NAMESPACE::TensorProto_DataType_INT8: \ 287 case ONNX_NAMESPACE::TensorProto_DataType_INT16: \ 326 case ONNX_NAMESPACE::TensorProto_DataType_FLOAT: { in APPLY_BINARY_FUNCTION() 330 case ONNX_NAMESPACE::TensorProto_DataType_DOUBLE: { in APPLY_BINARY_FUNCTION() 349 case ONNX_NAMESPACE::TensorProto_DataType_FLOAT: { in scale_by_first_dim() 353 case ONNX_NAMESPACE::TensorProto_DataType_FLOAT16: { in scale_by_first_dim() [all …]
|
H A D | assertions.h | 9 namespace ONNX_NAMESPACE { 37 std::string error_msg = ::ONNX_NAMESPACE::barf( \ 53 std::string error_msg = ::ONNX_NAMESPACE::barf( \ 70 std::string error_msg = ::ONNX_NAMESPACE::barf( \
|
/dports/misc/py-onnx/onnx-1.10.2/onnx/backend/test/cpp/driver/ |
H A D | test_driver.cc | 21 namespace ONNX_NAMESPACE { namespace 207 ONNX_NAMESPACE::ValueInfoProto input_info; in LoadSingleTestCase() 211 ONNX_NAMESPACE::TensorProto input_proto; in LoadSingleTestCase() 215 ONNX_NAMESPACE::SequenceProto input_proto; in LoadSingleTestCase() 219 ONNX_NAMESPACE::MapProto input_proto; in LoadSingleTestCase() 223 ONNX_NAMESPACE::OptionalProto input_proto; in LoadSingleTestCase() 232 ONNX_NAMESPACE::ValueInfoProto output_info; in LoadSingleTestCase() 236 ONNX_NAMESPACE::TensorProto output_proto; in LoadSingleTestCase() 240 ONNX_NAMESPACE::SequenceProto output_proto; in LoadSingleTestCase() 244 ONNX_NAMESPACE::MapProto output_proto; in LoadSingleTestCase() [all …]
|
H A D | test_driver.h | 15 namespace ONNX_NAMESPACE { 65 std::vector<ONNX_NAMESPACE::TensorProto> inputs_; 66 std::vector<ONNX_NAMESPACE::SequenceProto> seq_inputs_; 67 std::vector<ONNX_NAMESPACE::MapProto> map_inputs_; 68 std::vector<ONNX_NAMESPACE::OptionalProto> optional_inputs_; 70 std::vector<ONNX_NAMESPACE::TensorProto> outputs_; 71 std::vector<ONNX_NAMESPACE::SequenceProto> seq_outputs_; 72 std::vector<ONNX_NAMESPACE::MapProto> map_outputs_; 73 std::vector<ONNX_NAMESPACE::OptionalProto> optional_outputs_; 83 ONNX_NAMESPACE::ModelProto model_;
|
/dports/misc/py-onnx/onnx-1.10.2/onnx/backend/test/cpp/ |
H A D | driver_test.cc | 28 namespace ONNX_NAMESPACE { namespace 63 ONNX_NAMESPACE::ModelProto model_; 72 ONNX_NAMESPACE::testing::ResolvedTestCase t = GetParam(); in SetUp() 217 ONNX_NAMESPACE::checker::check_model(model_); in RunAndVerify() 219 ONNX_NAMESPACE::checker::CheckerContext ctx; in RunAndVerify() 222 ONNX_NAMESPACE::checker::check_tensor(input, ctx); in RunAndVerify() 225 ONNX_NAMESPACE::checker::check_sequence(input, ctx); in RunAndVerify() 228 ONNX_NAMESPACE::checker::check_map(input, ctx); in RunAndVerify() 231 ONNX_NAMESPACE::checker::check_optional(input, ctx); in RunAndVerify() 234 ONNX_NAMESPACE::checker::check_tensor(output, ctx); in RunAndVerify() [all …]
|
H A D | gtest_utils.cc | 6 namespace ONNX_NAMESPACE { namespace 8 std::vector<ONNX_NAMESPACE::testing::ResolvedTestCase>& GetTestCases() { in GetTestCases() 9 static std::vector<ONNX_NAMESPACE::testing::ResolvedTestCase> all_test_cases; in GetTestCases()
|
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/thirdparty/onnx/onnx/optimizer/passes/ |
H A D | lift_lexical_references.h | 6 namespace ONNX_NAMESPACE { 153 if (n->kind() == ONNX_NAMESPACE::kUndefined || in liftReferences() 154 n->kind() == ONNX_NAMESPACE::kCaptured) { in liftReferences() 177 if (n->kind() == ONNX_NAMESPACE::kLoop) { in liftReferences() 178 auto* body_graph = n->g(ONNX_NAMESPACE::kbody).get(); in liftReferences() 181 } else if (n->kind() == ONNX_NAMESPACE::kIf) { in liftReferences() 182 auto* then_graph = n->g(ONNX_NAMESPACE::kthen_branch).get(); in liftReferences() 186 auto* else_graph = n->g(ONNX_NAMESPACE::kelse_branch).get(); in liftReferences() 204 n->ss_(ONNX_NAMESPACE::k__control_inputs, std::move(control_inputs)); in liftReferences()
|
H A D | fuse_bn_into_conv.h | 34 namespace ONNX_NAMESPACE { 100 if (s_iter->elem_type() != ONNX_NAMESPACE::TensorProto_DataType_FLOAT && in modify_conv() 101 s_iter->elem_type() != ONNX_NAMESPACE::TensorProto_DataType_DOUBLE) { in modify_conv() 126 eps.elem_type() = ONNX_NAMESPACE::TensorProto_DataType_##TENSOR_TYPE; \ in modify_conv() 132 bc.elem_type() = ONNX_NAMESPACE::TensorProto_DataType_##TENSOR_TYPE; \ in modify_conv() 146 case ONNX_NAMESPACE::TensorProto_DataType_FLOAT: { in modify_conv() 150 case ONNX_NAMESPACE::TensorProto_DataType_DOUBLE: { in modify_conv()
|
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/lib/Importer/ |
H A D | ONNXModelLoader.cpp | 462 ::ONNX_NAMESPACE::GraphProto graphProto; in parseOnnxFile() 673 case ONNX_NAMESPACE::TensorProto::FLOAT: in getTensorType() 686 case ONNX_NAMESPACE::TensorProto::INT8: in getTensorType() 696 case ONNX_NAMESPACE::TensorProto::BOOL: in getTensorType() 873 Expected<ONNX_NAMESPACE::ModelProto> 880 ONNX_NAMESPACE::ModelProto MP; in loadProto() 887 Expected<ONNX_NAMESPACE::ModelProto> 893 Expected<ONNX_NAMESPACE::ModelProto> 896 ONNX_NAMESPACE::ModelProto MP; in loadProto() 927 ONNX_NAMESPACE::ModelProto MP; in loadProto() [all …]
|
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/thirdparty/onnx/onnx/backend/test/cpp/ |
H A D | driver_test.cc | 24 namespace ONNX_NAMESPACE { namespace 58 std::vector<ONNX_NAMESPACE::testing::ResolvedTestData> protos_; 59 ONNX_NAMESPACE::ModelProto model_; 68 ONNX_NAMESPACE::testing::ResolvedTestCase t = GetParam(); in SetUp() 213 ONNX_NAMESPACE::checker::check_model(model_); in RunAndVerify() 215 ONNX_NAMESPACE::checker::CheckerContext ctx; in RunAndVerify() 218 ONNX_NAMESPACE::checker::check_tensor(input, ctx); in RunAndVerify() 221 ONNX_NAMESPACE::checker::check_tensor(output, ctx); in RunAndVerify() 231 ONNX_NAMESPACE::testing::ProtoToOnnxTensorDescriptor( in RunAndVerify() 263 ONNX_NAMESPACE::testing::ProtoToOnnxTensorDescriptor( in RunAndVerify() [all …]
|
H A D | gtest_utils.cc | 2 namespace ONNX_NAMESPACE { namespace 4 std::vector<ONNX_NAMESPACE::testing::ResolvedTestCase>& GetTestCases() { in GetTestCases() 5 static std::vector<ONNX_NAMESPACE::testing::ResolvedTestCase> all_test_cases; in GetTestCases()
|
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/thirdparty/onnx/onnx/backend/test/cpp/driver/ |
H A D | test_driver.cc | 16 namespace ONNX_NAMESPACE { namespace 54 case_dirname += "test_data_set_" + ONNX_NAMESPACE::to_string(case_count); in FetchSingleTestCase() 63 ONNX_NAMESPACE::to_string(data_count) + ".pb"; in FetchSingleTestCase() 65 ONNX_NAMESPACE::to_string(data_count) + ".pb"; in FetchSingleTestCase() 200 ONNX_NAMESPACE::ParseProtoFromBytes( in LoadSingleTestCase() 209 ONNX_NAMESPACE::TensorProto input_proto; in LoadSingleTestCase() 210 ONNX_NAMESPACE::ParseProtoFromBytes( in LoadSingleTestCase() 217 ONNX_NAMESPACE::TensorProto output_proto; in LoadSingleTestCase() 218 ONNX_NAMESPACE::ParseProtoFromBytes( in LoadSingleTestCase()
|
H A D | test_driver.h | 10 namespace ONNX_NAMESPACE { 60 std::vector<ONNX_NAMESPACE::TensorProto> inputs_; 61 std::vector<ONNX_NAMESPACE::TensorProto> outputs_; 71 ONNX_NAMESPACE::ModelProto model_;
|
/dports/misc/py-onnx/onnx-1.10.2/onnx/defs/quantization/ |
H A D | defs.cc | 9 namespace ONNX_NAMESPACE { namespace 57 [](ONNX_NAMESPACE::InferenceContext& ctx) { in __anonb0cfbbdb0102() 114 [](ONNX_NAMESPACE::InferenceContext& ctx) { in __anonb0cfbbdb0202() 118 ONNX_NAMESPACE::TensorProto::FLOAT); in __anonb0cfbbdb0202() 188 [](ONNX_NAMESPACE::InferenceContext& ctx) { in __anonb0cfbbdb0302()
|
H A D | old.cc | 9 namespace ONNX_NAMESPACE { namespace 49 [](ONNX_NAMESPACE::InferenceContext& ctx) { in __anond9af5f780102() 94 [](ONNX_NAMESPACE::InferenceContext& ctx) { in __anond9af5f780202() 98 ONNX_NAMESPACE::TensorProto::FLOAT); in __anond9af5f780202()
|
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/thirdparty/onnx/onnx/defs/quantization/ |
H A D | defs.cc | 6 namespace ONNX_NAMESPACE { namespace 46 [](ONNX_NAMESPACE::InferenceContext& ctx) { in __anon73c114620102() 91 [](ONNX_NAMESPACE::InferenceContext& ctx) { in __anon73c114620202() 95 ONNX_NAMESPACE::TensorProto::FLOAT); in __anon73c114620202()
|
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/include/glow/Exporter/ |
H A D | ONNXModelWriter.h | 35 using GraphProto = ONNX_NAMESPACE::GraphProto; 47 using NodeType = ONNX_NAMESPACE::NodeProto; 48 using TensorType = ONNX_NAMESPACE::TensorProto; 49 using AttrType = ONNX_NAMESPACE::AttributeProto; 50 using ValueInfoType = ONNX_NAMESPACE::ValueInfoProto; 53 ONNX_NAMESPACE::ModelProto modelProto_;
|
/dports/misc/py-onnx/onnx-1.10.2/onnx/test/cpp/ |
H A D | function_context_test.cc | 12 using namespace ONNX_NAMESPACE::checker; 14 namespace ONNX_NAMESPACE { namespace 80 ONNX_NAMESPACE::OpSchema schema; in RegisterCustomFuncFloatSchema() 89 ONNX_NAMESPACE::OpSchemaRegistry::OpSchemaRegisterOnce unused(schema); in RegisterCustomFuncFloatSchema() 139 ONNX_NAMESPACE::OpSchema schema; in RegisterCustomFunctionSchema() 148 ONNX_NAMESPACE::OpSchemaRegistry::OpSchemaRegisterOnce unused(schema); in RegisterCustomFunctionSchema()
|
/dports/misc/py-onnx/onnx-1.10.2/onnx/defs/object_detection/ |
H A D | old.cc | 7 using namespace ONNX_NAMESPACE; 9 namespace ONNX_NAMESPACE { namespace 71 ::ONNX_NAMESPACE::TensorProto_DataType:: in __anon37b872460102()
|
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/thirdparty/onnx/onnx/ |
H A D | checker.h | 12 namespace ONNX_NAMESPACE { 24 expanded_message_ = ONNX_NAMESPACE::MakeString( in AppendContext() 33 throw ONNX_NAMESPACE::checker::ValidationError( \ 34 ONNX_NAMESPACE::MakeString(__VA_ARGS__));
|