<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Hironsan</author_name>
  <author_url>https://blog.hatena.ne.jp/Hironsan/</author_url>
  <blog_title>Ahogrammer</blog_title>
  <blog_url>https://hironsan.hatenablog.com/</blog_url>
  <categories>
    <anon>TensorFlow</anon>
    <anon>TensorFlow Datasets</anon>
  </categories>
  <description>TensorFlowには、tf.data.Dataset APIという入力のパイプラインを実現するための強力な機能があります。入力のパイプラインを最適化することで学習全体を高速化できるため、定量的に計測して改善する価値があります。そこで、本記事ではTensorFlow Datasetsに含まれるbenchmark関数を使ってデータセットの処理時間を測定する方法について紹介します。 ベンチマーク関数 benchmark関数は、tf.data.Datasetのベンチマークを行うための関数です。Datasetを渡すことで、データセットの処理時間に関する以下の情報を出力できます。 総実行時間 セットア…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhironsan.hatenablog.com%2Fentry%2Fhow-to-use-benchmark-function&quot; title=&quot;benchmark関数を使ってデータセットの処理時間の計測と改善に取り組む - Ahogrammer&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>2020-09-29 07:36:46</published>
  <title>benchmark関数を使ってデータセットの処理時間の計測と改善に取り組む</title>
  <type>rich</type>
  <url>https://hironsan.hatenablog.com/entry/how-to-use-benchmark-function</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
