For an IterVar (or an axis), it has three kinds of features
- axis attribute
- arithmetic feature
- touch feature
| # Licensed to the Apache Software Foundation (ASF) under one | |
| # or more contributor license agreements. See the NOTICE file | |
| # distributed with this work for additional information | |
| # regarding copyright ownership. The ASF licenses this file | |
| # to you under the Apache License, Version 2.0 (the | |
| # "License"); you may not use this file except in compliance | |
| # with the License. You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # |
| #!/usr/bin/python3 | |
| import sys | |
| import json | |
| old_file = 'arm_cpu_v0.04.log' | |
| new_file = 'arm_cpu_v0.05.log' | |
| fn = open(new_file, 'w') | |
| with open(old_file) as fp: |
| #!/usr/bin/python3 | |
| import nnvm | |
| import nnvm.frontend.darknet | |
| import tvm.relay.testing.yolo_detection | |
| import tvm.relay.testing.darknet | |
| import tvm.relay.transform as _transform | |
| import matplotlib.pyplot as plt | |
| import numpy as np | |
| import tvm |
| #!/usr/bin/python3 | |
| #import nnvm.frontend.darknet | |
| import tvm.relay.testing.yolo_detection | |
| import tvm.relay.testing.darknet | |
| import tvm.relay.transform as _transform | |
| import matplotlib.pyplot as plt | |
| import numpy as np | |
| import tvm | |
| import onnx |
| #!/usr/bin/python | |
| import onnx | |
| import numpy as np | |
| import tvm | |
| from tvm import te | |
| import tvm.relay as relay | |
| ### |
Used online repositories for Fedora/RHEL/CentOS linux:
The VLSI repository homepage: https://copr.fedorainfracloud.org/coprs/rezso/VLSI
The HDL repository homepage: https://copr.fedorainfracloud.org/coprs/rezso/HDL
Docker variants of this: https://github.com/cbalint13/copr-packages/tree/main/docker-examples
| #!/usr/bin/python3 | |
| """ | |
| ********************************************************** | |
| * BSD License * | |
| * Copyright (c) 2022 * | |
| * Balint Cristian <cristian dot balint at gmail dot com> * | |
| ********************************************************** | |
| # Little script to Homography match images into animation |
| from litex.build.generic_platform import * | |
| from litex.build.xilinx import XilinxPlatform | |
| # Create the platform object | |
| platform = XilinxPlatform("my_platform") | |
| # Add the PCIe device to the platform | |
| platform.add_extension([ | |
| ("pcie_phy", 0, | |
| Subsignal("rst_n", Pins("")), |