serhii.net

In the middle of the desert you can say anything you want

15 Jan 2020

Day 378

Adding numbers in Bash

integer arithmetic - How can I add numbers in a bash script - Stack Overflow

num=$((num1 + num2))
num=$(($num1 + $num2))

.. which is what I used in the updated create.sh script. FILE=_posts/$(date +%Y-%m-%d)-day$((365+$(date +%j))).markdown

Tensorflow

  • TODO - why can’t tf.convert_to_tensor() convert stuff to other types (int64->float32) and I have to use tf.cast() afterwards?
  • tf.in_train_phase() – both x and y have to be the same shape
  • In a custom layer, compute_mask() can return a single None even if there are multiple output layers!

German

Erfahrungsmäßig

Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus