3-1 Low-level API demonstration

The following example uses Pytorch’s low-level API to implement a linear regression model and a DNN binary classification model. The low-level API mainly includes tensor operations, calculation graphs and automatic differentiation. The implementation of linear models and simple DNN two-classification models is very simple, but it is the most basic part of constructing data, building […]

SCSI series ten: low-level driver

The source directory for the SCSI subsystem in the Linux kernel is a good place to start: /usr/src/linux/drivers/scsi. Some drivers include information in a “readme” file: README.. Others have a ton of information at the top of their “.c” files. This information typically includes version numbers, changelogs, and options for kernel boot time and module […]

Very low-level performance optimization: let the CPU execute your code faster

Article directory The impact of cache on performance Improve data cache (dcache) hit rate 1. The reason for faster speed 2. The reason for the 8 times difference in speed Improve instruction cache (icache) hit rate Improve the cache hit rate under multi-core CPU Summarize The impact of Cache on performance First of all, we […]

TensorFlow high-level API and low-level API

TensorFlow provides many APIs, which can be simply classified into high-level APIs and low-level APIs. Too many APIs are too messy and one of the key points of criticism of TensorFlow is that Google has too many engineers and the community is too active. ~ Of course, Google also realized this problem later, and it […]

[Solved] Remember low-level errors – mmdet-centernet

mmdet trains and tests centernet, often uses the framework, but does not study the details of the parameters inside, and serious low-level errors occur. train and test pipline code train_pipeline = [ dict(type=’LoadImageFromFile’, to_float32=True, color_type=’color’), dict(type=’LoadAnnotations’, with_bbox=True), dict( type=’RandomCenterCropPad’, crop_size=(512, 512), ratios=(0.6, 0.7, 0.8, 0.9, 1.0, 1.1, 1.2, 1.3), mean=[0, 0, 0], std=[1, 1, 1], […]

[Solved] Use nvm to install multiple nodejs versions on win10 system to solve the problem of running low-level front-end projects

I. Reason analysis The nodejs installed on my computer is 16.14.0 It is not the latest, but when running a vue2 project 2 years ago, the project uses vue-admin-template The template, but it can’t run, and the following error is reported: node sass does not yet support your current environment windows 64-bit with unsupported runtime […]