aboutsummaryrefslogtreecommitdiff
path: root/misc/onnx
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2019-11-24 18:23:10 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2019-11-24 18:23:10 +0000
commitc6a504bbd5ee884dd2fbf50675437423b3865e62 (patch)
treeb0713eb26b693662294279732a971fc45d7aca16 /misc/onnx
parent64391cfc2afac234722ea27fc73613436f7f3e20 (diff)
downloadports-c6a504bbd5ee884dd2fbf50675437423b3865e62.tar.gz
ports-c6a504bbd5ee884dd2fbf50675437423b3865e62.zip
Notes
Diffstat (limited to 'misc/onnx')
-rw-r--r--misc/onnx/Makefile28
-rw-r--r--misc/onnx/distinfo3
-rw-r--r--misc/onnx/pkg-descr14
-rw-r--r--misc/onnx/pkg-plist101
4 files changed, 146 insertions, 0 deletions
diff --git a/misc/onnx/Makefile b/misc/onnx/Makefile
new file mode 100644
index 000000000000..8263fc1121b1
--- /dev/null
+++ b/misc/onnx/Makefile
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= onnx
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.6.0.20191021
+CATEGORIES= misc # machine-learning
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Open Neural Network eXchange
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libprotobuf.so:devel/protobuf
+
+USES= cmake compiler:c++11-lang python:build
+USE_GITHUB= yes
+GH_TAGNAME= 3ea3b0e0 # repo is mislabeled: https://github.com/onnx/onnx/issues/2420
+USE_LDCONFIG= yes
+
+CMAKE_ON= BUILD_SHARED_LIBS
+
+BINARY_ALIAS= python=${PYTHON_CMD}
+
+post-install: # https://github.com/onnx/onnx/issues/2263
+ @${FIND} -d ${STAGEDIR}${PREFIX}/include -type d -empty -delete
+
+.include <bsd.port.mk>
diff --git a/misc/onnx/distinfo b/misc/onnx/distinfo
new file mode 100644
index 000000000000..513ac9596462
--- /dev/null
+++ b/misc/onnx/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1572026075
+SHA256 (onnx-onnx-v1.6.0.20191021-3ea3b0e0_GH0.tar.gz) = 9c2fd57b6f9f16b8c15ac4df604437cbb7b6e6c3d248f813e813f9225a838b9a
+SIZE (onnx-onnx-v1.6.0.20191021-3ea3b0e0_GH0.tar.gz) = 2598436
diff --git a/misc/onnx/pkg-descr b/misc/onnx/pkg-descr
new file mode 100644
index 000000000000..cb61902666c8
--- /dev/null
+++ b/misc/onnx/pkg-descr
@@ -0,0 +1,14 @@
+Open Neural Network Exchange (ONNX) is an open ecosystem that empowers AI
+developers to choose the right tools as their project evolves. ONNX provides an
+open source format for AI models, both deep learning and traditional ML. It
+defines an extensible computation graph model, as well as definitions of
+built-in operators and standard data types. Currently we focus on the
+capabilities needed for inferencing (scoring).
+
+ONNX is widely supported and can be found in many frameworks, tools, and
+hardware. Enabling interoperability between different frameworks and
+streamlining the path from research to production helps increase the speed of
+innovation in the AI community. We invite the community to join us and further
+evolve ONNX.
+
+WWW: https://onnx.ai/
diff --git a/misc/onnx/pkg-plist b/misc/onnx/pkg-plist
new file mode 100644
index 000000000000..7cae71afb491
--- /dev/null
+++ b/misc/onnx/pkg-plist
@@ -0,0 +1,101 @@
+include/onnx/backend/test/cpp/driver/test_driver.h
+include/onnx/backend/test/cpp/gtest_utils.h
+include/onnx/checker.h
+include/onnx/common/array_ref.h
+include/onnx/common/assertions.h
+include/onnx/common/common.h
+include/onnx/common/constants.h
+include/onnx/common/graph_node_list.h
+include/onnx/common/interned_strings.h
+include/onnx/common/ir.h
+include/onnx/common/ir_pb_converter.h
+include/onnx/common/model_helpers.h
+include/onnx/common/platform_helpers.h
+include/onnx/common/status.h
+include/onnx/common/stl_backports.h
+include/onnx/common/tensor.h
+include/onnx/defs/attr_proto_util.h
+include/onnx/defs/data_type_utils.h
+include/onnx/defs/function.h
+include/onnx/defs/operator_sets-ml.h
+include/onnx/defs/operator_sets.h
+include/onnx/defs/schema.h
+include/onnx/defs/shape_inference.h
+include/onnx/defs/tensor/utils.h
+include/onnx/defs/tensor_proto_util.h
+include/onnx/defs/tensor_util.h
+include/onnx/onnx-ml.pb.h
+include/onnx/onnx-operators-ml.pb.h
+include/onnx/onnx-operators_pb.h
+include/onnx/onnx_pb.h
+include/onnx/onnxifi.h
+include/onnx/onnxifi_ext.h
+include/onnx/onnxifi_loader.h
+include/onnx/onnxifi_utils.h
+include/onnx/optimizer/optimize.h
+include/onnx/optimizer/pass.h
+include/onnx/optimizer/pass_manager.h
+include/onnx/optimizer/pass_registry.h
+include/onnx/optimizer/passes/eliminate_deadend.h
+include/onnx/optimizer/passes/eliminate_identity.h
+include/onnx/optimizer/passes/eliminate_nop_dropout.h
+include/onnx/optimizer/passes/eliminate_nop_monotone_argmax.h
+include/onnx/optimizer/passes/eliminate_nop_pad.h
+include/onnx/optimizer/passes/eliminate_nop_transpose.h
+include/onnx/optimizer/passes/eliminate_unused_initializer.h
+include/onnx/optimizer/passes/extract_constant_to_initializer.h
+include/onnx/optimizer/passes/fuse_add_bias_into_conv.h
+include/onnx/optimizer/passes/fuse_bn_into_conv.h
+include/onnx/optimizer/passes/fuse_consecutive_concats.h
+include/onnx/optimizer/passes/fuse_consecutive_log_softmax.h
+include/onnx/optimizer/passes/fuse_consecutive_reduce_unsqueeze.h
+include/onnx/optimizer/passes/fuse_consecutive_squeezes.h
+include/onnx/optimizer/passes/fuse_consecutive_transposes.h
+include/onnx/optimizer/passes/fuse_matmul_add_bias_into_gemm.h
+include/onnx/optimizer/passes/fuse_pad_into_conv.h
+include/onnx/optimizer/passes/fuse_transpose_into_gemm.h
+include/onnx/optimizer/passes/lift_lexical_references.h
+include/onnx/optimizer/passes/nop.h
+include/onnx/optimizer/passes/split.h
+include/onnx/proto_utils.h
+include/onnx/py_utils.h
+include/onnx/shape_inference/implementation.h
+include/onnx/string_utils.h
+include/onnx/version_converter/BaseConverter.h
+include/onnx/version_converter/adapters/adapter.h
+include/onnx/version_converter/adapters/averagepool_7_6.h
+include/onnx/version_converter/adapters/batch_normalization_6_5.h
+include/onnx/version_converter/adapters/batch_normalization_6_7.h
+include/onnx/version_converter/adapters/batch_normalization_8_9.h
+include/onnx/version_converter/adapters/broadcast_backward_compatibility.h
+include/onnx/version_converter/adapters/broadcast_forward_compatibility.h
+include/onnx/version_converter/adapters/cast_9_8.h
+include/onnx/version_converter/adapters/compatible.h
+include/onnx/version_converter/adapters/concat_3_4.h
+include/onnx/version_converter/adapters/dropout_6_7.h
+include/onnx/version_converter/adapters/extend_supported_types.h
+include/onnx/version_converter/adapters/gemm_6_7.h
+include/onnx/version_converter/adapters/gemm_7_6.h
+include/onnx/version_converter/adapters/maxpool_8_7.h
+include/onnx/version_converter/adapters/no_previous_version.h
+include/onnx/version_converter/adapters/remove_consumed_inputs.h
+include/onnx/version_converter/adapters/reshape_4_5.h
+include/onnx/version_converter/adapters/reshape_5_4.h
+include/onnx/version_converter/adapters/scan_8_9.h
+include/onnx/version_converter/adapters/scan_9_8.h
+include/onnx/version_converter/adapters/set_is_test.h
+include/onnx/version_converter/adapters/sum_8_7.h
+include/onnx/version_converter/adapters/type_restriction.h
+include/onnx/version_converter/adapters/upsample_8_9.h
+include/onnx/version_converter/adapters/upsample_9_8.h
+include/onnx/version_converter/convert.h
+include/onnx/version_converter/helper.h
+lib/libonnx.so
+lib/libonnx_proto.so
+lib/libonnxifi.so
+lib/libonnxifi_dummy.so
+lib/libonnxifi_loader.a
+share/cmake/ONNX/ONNXConfig.cmake
+share/cmake/ONNX/ONNXConfigVersion.cmake
+share/cmake/ONNX/ONNXTargets-%%CMAKE_BUILD_TYPE%%.cmake
+share/cmake/ONNX/ONNXTargets.cmake