Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
() => tf.concat( [tf.ones([batchSize, 1]).mul(SOFT_ONE), tf.zeros([batchSize, 1])]));
For information please refer [here](https://github.com/tensorflow/tfjs/blob/master/tfjs-node/README.md).