タグ

2018年5月11日のブックマーク (3件)

  • Boston Dynamics’ robots are learning how to run outside and navigate autonomously

    Jacob Kastrenakes is The Verge’s executive editor. He has covered tech, policy, and online creators for over a decade. Boston Dynamics’ robots look more natural and more amazing with each video, and today the company posted two more clips to its YouTube channel showing the latest progress of its Atlas and SpotMini robots. The clips don’t reveal much we haven’t seen before, but they both show how n

    Boston Dynamics’ robots are learning how to run outside and navigate autonomously
    mattn
    mattn 2018/05/11
  • Heap optimization means speed optimization

    Find heap allocations and nail them down to save 0.67µs (37%) on a Raspberry Pi 3 in an inner loop Heap optimization For hot code paths, it is important to reduce heap allocations. This reduces the GC pressure and it is generally a speed optimization at the same time. We’ll see real world examples below. Reducing heap usage can be done in a few ways and I’ll show case three in this post: Favor con

    Heap optimization means speed optimization
    mattn
    mattn 2018/05/11
    ヒープを減らすとパフォーマンスがあがるという話。最後の struct のが結構効果あるのね。 #golang
  • FizzBuzz Zero ―― 人類の知識なしでFizzBuzzをマスターする

    プログラム問題としてあまりにも有名になってしまったので、今ではあらゆる言語のFizzBuzzがそろっています。面白いですね。 深層学習 で FizzBuzz この記事の読まれている大半の方は、FizzBuzzを書くのにあまり苦労しないでしょう。 しかし、あなたが何かの拍子でプログラムの書き方を忘れてしまったらどうでしょう? 心配する必要はありません。そういうときこそAIの出番です。 最近は空前の人工知能ブームで、も杓子もDeep Learningです。 実際、Deep LearningによるFizzBuzzは、いくつも先例があります。 Fizz Buzz in Tensorflow TensorFlowコトハジメ Fizz-Buzz問題 Kerasでfizzbuzz問題を解いてみる 実装方法にはバリエーションがありますが、基的には 入力は直前の数値 or 文字列 出力は「数値」「Fiz

    FizzBuzz Zero ―― 人類の知識なしでFizzBuzzをマスターする
    mattn
    mattn 2018/05/11