exit /b in Windows batch script
You must be familiar with the exit command. If you execute this command in a DOS window, the DOS window closes and the cmd process exits. This is like closing […]
You must be familiar with the exit command. If you execute this command in a DOS window, the DOS window closes and the cmd process exits. This is like closing […]
It seems both can get the current directory. What is the difference between %~dp0 and %CD%, then? First, %~dp0 can only be used in bat file while %CD% can be […]
In windows bat file, %0, %1,…, %9 are the first, second, …, tenth parameter of the command line. The first parameter is the command itself. Suppose the bat file is […]
If you are compiling code that use old openssl lib(such as openssl 1.0.2) with the latest openssl lib such as openssl 1.1.0, you will meet this error: invalid use of […]
In my experience in using Qt, I find it would be hard to make a business app without the help of Qt experts. In other words, you need to buy […]
When compiling with Mingw 32bit, the size of long and unsigned long is 4 bytes, the size of long long and unsigned long long is 8 bytes. To print a […]
If you use openssl RSA API to encrypt/decrypt/sign/verify, you will need a MODULUS, which is part of a RSA public key. To generate a MODULUS, first you need to generate […]
Softmax is unlike other activation functions such as tanh and sigmoid, which take one number as input and output one number. Softmax activation function takes several numbers as input and […]
MNIST dataset is a frequently used image dataset for neuron network and deep learning study. How to download the MNIST dataset? import tensorflow as tf (X_train, y_train), (X_test, y_test) = […]
tf.TensorArray is a class, not a function. You can use tf.TensorArray to construct a TensorArray operation: ta = tf.TensorArray(dtype=tf.float32, size=2) Here, the tensorarray contains 2 tensors. How to get […]