<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wata_d</author_name>
  <author_url>https://blog.hatena.ne.jp/wata_d/</author_url>
  <blog_title>閑古鳥</blog_title>
  <blog_url>https://www.little-cuckoo.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>tensorflowのソースにこんな実装があって、なるほどと思いました。 bool RequireCudnnDeterminism() { static bool require_cudnn_determinism = [] { // TODO(reedwm): Remove the TF_CUDNN_DETERMINISTIC env var. bool cudnn_deterministic = false; TF_CHECK_OK(tensorflow::ReadBoolFromEnvVar(&quot;TF_CUDNN_DETERMINISTIC&quot;, /*default_val=*/false,…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.little-cuckoo.jp%2Fentry%2F2021%2F12%2F18%2F182012&quot; title=&quot;static変数を返す関数で、変数をlambdaで初期化するイディオム - 閑古鳥&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-12-18 18:20:12</published>
  <title>static変数を返す関数で、変数をlambdaで初期化するイディオム</title>
  <type>rich</type>
  <url>https://www.little-cuckoo.jp/entry/2021/12/18/182012</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
