
    AVh{             %       l   d Z ddlZddlmZ ddlmZ ddlmZ ddlm	Z
 ddlmZ ddlmZ dd	lmZ dd
lmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZm Z m!Z! ddl"m#Z# dde#e!ejH                  f   de#e!ejJ                  f   de#e!ejH                  f   fdZ&  ed       ejN                  e&            Z(de#e!ejH                  f   de#e!ejJ                  f   de#e!ejH                  f   fdZ)dde#e!ejH                  f   de#e!ejT                  f   de#e!ejH                  f   fdZ+  ed       ejN                  e+            Z,de#e!ejH                  f   de#e!ejT                  f   de#e!ejH                  f   fdZ-dde#e!ejH                  f   de#e!ejT                  f   de#e!ejH                  f   fdZ.  ed       ejN                  e.            Z/de#e!ejH                  f   de#e!ejT                  f   de#e!ejH                  f   fdZ0dde#e!ejH                  f   de#e!ejJ                  f   de#e!ejJ                  f   d e1d!e1de#e!ejH                  f   fd"Z2  ed#       ejN                  e2            Z3de#e!ejH                  f   de#e!ejJ                  f   de#e!ejJ                  f   d e1d!e1de#e!ejH                  f   fd$Z4dde#e!ejH                  f   d%e#e!ejT                  f   de#e!ejH                  f   fd&Z5  ed'       ejN                  e5            Z6de#e!ejH                  f   d%e#e!ejT                  f   de#e!ejH                  f   fd(Z7dd)e#e!ejT                  f   d*e#e!ejT                  f   d+e#e!ejJ                  f   d,e#e!ejp                  f   d-e#e!ejT                  f   d.e#e!ejp                  f   d/e#e!ejT                  f   d0e#e!ejJ                  f   de#e!ejH                  f   fd1Z9  ed2       ejN                  e9            Z:d)e#e!ejT                  f   d*e#e!ejT                  f   d+e#e!ejJ                  f   d,e#e!ejp                  f   d-e#e!ejT                  f   d.e#e!ejp                  f   d/e#e!ejT                  f   d0e#e!ejJ                  f   de#e!ejH                  f   fd3Z;dd)e#e!ejT                  f   d*e#e!ejT                  f   d+e#e!ejJ                  f   d,e#e!ejp                  f   d-e#e!ejT                  f   d.e#e!ejp                  f   d/e#e!ejT                  f   d0e#e!ejJ                  f   d4e#e!ejJ                  f   de#e!ejH                  f   fd5Z<  ed6       ejN                  e<            Z=d)e#e!ejT                  f   d*e#e!ejT                  f   d+e#e!ejJ                  f   d,e#e!ejp                  f   d-e#e!ejT                  f   d.e#e!ejp                  f   d/e#e!ejT                  f   d0e#e!ejJ                  f   d4e#e!ejJ                  f   de#e!ejH                  f   fd7Z> ed8 Z?ej                  ej                   ed9      dd:e#e!e?f   de#e!e?f   fd;                     ZB  ed<       ejN                  eB            ZCeBj                  j                  ZFd:e#e!e?f   de#e!e?f   fd=ZGdde#e!ejH                  f   d>e#e!ejJ                  f   d?e#e!ejJ                  f   d@e1de#e!ejH                  f   f
dAZH  edB       ejN                  eH            ZIde#e!ejH                  f   d>e#e!ejJ                  f   d?e#e!ejJ                  f   d@e1de#e!ejH                  f   f
dCZJddDe#e e!   ejH                  f   dEe1de#e!ejH                  f   fdFZK  edG       ejN                  eK            ZLdDe#e e!   ejH                  f   dEe1de#e!ejH                  f   fdHZMdde#e!ejH                  f   fdIZN  edJ       ejN                  eN            ZOde#e!ejH                  f   fdKZPdde#e!ejH                  f   de#e!ejJ                  f   fdLZQ  edM       ejN                  eQ            ZRde#e!ejH                  f   de#e!ejJ                  f   fdNZSddOe#e!ejJ                  f   dPe#e!ejT                  f   dQe#e!ejT                  f   dRe#e!ejT                  f   dSe#e!ejT                  f   dTe#e!ejJ                  f   dUe#e!ej                  f   dVe1dWeUdXeUdYeUde#e!ejH                  f   fdZZV  ed[       ejN                  eV            ZWdOe#e!ejJ                  f   dPe#e!ejT                  f   dQe#e!ejT                  f   dRe#e!ejT                  f   dSe#e!ejT                  f   dTe#e!ejJ                  f   dUe#e!ej                  f   dVe1dWeUdXeUdYeUde#e!ejH                  f   fd\ZXddOe#e!ejJ                  f   dPe#e!ejT                  f   dQe#e!ejT                  f   dRe#e!ejT                  f   dSe#e!ejT                  f   d]e#e!ejJ                  f   d^e#e!ejJ                  f   dTe#e!ejJ                  f   dUe#e!ej                  f   dVe1dWeUdXeUdYeUde#e!ejH                  f   fd_ZY  ed`       ejN                  eY            ZZdOe#e!ejJ                  f   dPe#e!ejT                  f   dQe#e!ejT                  f   dRe#e!ejT                  f   dSe#e!ejT                  f   d]e#e!ejJ                  f   d^e#e!ejJ                  f   dTe#e!ejJ                  f   dUe#e!ej                  f   dVe1dWeUdXeUdYeUde#e!ejH                  f   fdaZ[ddOe#e!ejJ                  f   dPe#e!ejT                  f   dQe#e!ejT                  f   dRe#e!ejT                  f   dSe#e!ejT                  f   d]e#e!ejJ                  f   d^e#e!ejJ                  f   dTe#e!ejJ                  f   dUe#e!ej                  f   dVe1dWeUdXeUdce\dYeUde#e!ejH                  f   fddZ]  ede       ejN                  e]            Z^dOe#e!ejJ                  f   dPe#e!ejT                  f   dQe#e!ejT                  f   dRe#e!ejT                  f   dSe#e!ejT                  f   d]e#e!ejJ                  f   d^e#e!ejJ                  f   dTe#e!ejJ                  f   dUe#e!ej                  f   dVe1dWeUdXeUdce\dYeUde#e!ejH                  f   fdfZ_ddOe#e!ejT                  f   dPe#e!ejT                  f   dQe#e!ejT                  f   dRe#e!ejT                  f   dSe#e!ejT                  f   d]e#e!ejJ                  f   d^e#e!ejJ                  f   dTe#e!ejJ                  f   dUe#e!ej                  f   dVe1dWeUdXeUdce\dYeUde#e!ejH                  f   fdgZ`  edh       ejN                  e`            ZadOe#e!ejT                  f   dPe#e!ejT                  f   dQe#e!ejT                  f   dRe#e!ejT                  f   dSe#e!ejT                  f   d]e#e!ejJ                  f   d^e#e!ejJ                  f   dTe#e!ejJ                  f   dUe#e!ej                  f   dVe1dWeUdXeUdce\dYeUde#e!ejH                  f   fdiZbddje#e!ejT                  f   de#e!ejH                  f   fdkZc  edl       ejN                  ec            Zddje#e!ejT                  f   de#e!ejH                  f   fdmZedde#e!ejH                  f   dne#e!ejT                  f   d*e#e!ejT                  f   fdoZf  edp       ejN                  ef            Zgde#e!ejH                  f   dne#e!ejT                  f   d*e#e!ejT                  f   fdqZhdde#e!ejH                  f   dre#e!ejJ                  f   dse#e!ejJ                  f   de#e!ejH                  f   fdtZi  edu       ejN                  ei            Zjde#e!ejH                  f   dre#e!ejJ                  f   dse#e!ejJ                  f   de#e!ejH                  f   fdvZkddwe#e!ejH                  f   dxe#e e!   ejH                  f   dye\de#e!ejH                  f   fdzZl  ed{       ejN                  el            Zmdwe#e!ejH                  f   dxe#e e!   ejH                  f   dye\de#e!ejH                  f   fd|Zndd}e#e!ejH                  f   d~e#e!ejT                  f   dQe#e!ejT                  f   deUfdZo  ed       ejN                  eo            Zpd}e#e!ejH                  f   d~e#e!ejT                  f   dQe#e!ejT                  f   deUfdZqdde#e!ej                  f   fdZr  ed       ejN                  er            Zsde#e!ej                  f   fdZtdde#e!ejH                  f   de#e!ejT                  f   de#e!ejH                  f   fdZu  ed       ejN                  eu            Zvde#e!ejH                  f   de#e!ejT                  f   de#e!ejH                  f   fdZwdde#e!ejH                  f   de#e!ejJ                  f   de#e!ejJ                  f   d e1de#e!ejH                  f   f
dZx  ed       ejN                  ex            Zyde#e!ejH                  f   de#e!ejJ                  f   de#e!ejJ                  f   d e1de#e!ejH                  f   f
dZzdde#e!ejH                  f   d%e#e!ejT                  f   de#e!ejH                  f   fdZ{  ed       ejN                  e{            Z|de#e!ejH                  f   d%e#e!ejT                  f   de#e!ejH                  f   fdZ}dd)e#e!ejT                  f   d*e#e!ejT                  f   d+e#e!ejJ                  f   d,e#e!ejp                  f   d-e#e!ejT                  f   d.e#e!ejp                  f   d/e#e!ejT                  f   d0e#e!ejJ                  f   de#e!ejH                  f   fdZ~  ed       ejN                  e~            Zd)e#e!ejT                  f   d*e#e!ejT                  f   d+e#e!ejJ                  f   d,e#e!ejp                  f   d-e#e!ejT                  f   d.e#e!ejp                  f   d/e#e!ejT                  f   d0e#e!ejJ                  f   de#e!ejH                  f   fdZddDe#e e!   ejH                  f   dEe1de#e!ejH                  f   fdZ  ed       ejN                  e            ZdDe#e e!   ejH                  f   dEe1de#e!ejH                  f   fdZdde#e!ejH                  f   de#e!ejJ                  f   fdZ  ed       ejN                  e            Zde#e!ejH                  f   de#e!ejJ                  f   fdZdde#e!ejH                  f   dne#e!ejT                  f   d*e#e!ejT                  f   fdZ  ed       ejN                  e            Zde#e!ejH                  f   dne#e!ejT                  f   d*e#e!ejT                  f   fdZdde#e!ejH                  f   dre#e!ejJ                  f   dse#e!ejJ                  f   de#e!ejH                  f   fdZ  ed       ejN                  e            Zde#e!ejH                  f   dre#e!ejJ                  f   dse#e!ejJ                  f   de#e!ejH                  f   fdZddwe#e!ejH                  f   dxe#e e!   ejH                  f   de#e!ejH                  f   fdZ  ed       ejN                  e            Zdwe#e!ejH                  f   dxe#e e!   ejH                  f   de#e!ejH                  f   fdZdde#e!ejH                  f   de#e!ejH                  f   fdZ  ed       ejN                  e            Zde#e!ejH                  f   de#e!ejH                  f   fdZdde#e!ejH                  f   de#e!ejH                  f   fdZ  ed       ejN                  e            Zde#e!ejH                  f   de#e!ejH                  f   fdZdde#e!ejH                  f   de\de#e!ejH                  f   fdZ  ed       ejN                  e            Zde#e!ejH                  f   de\de#e!ejH                  f   fdZdde#e!ej                  f   de#e!ejT                  f   fdZ  ed       ejN                  e            Zde#e!ej                  f   de#e!ejT                  f   fdZdd)e#e!ejT                  f   de#e!ejH                  f   fdZ  ed       ejN                  e            Zd)e#e!ejT                  f   de#e!ejH                  f   fdZdde#e!ejH                  f   d%e#e!ejT                  f   de#e!ejH                  f   fdZ  ed       ejN                  e            Zde#e!ejH                  f   d%e#e!ejT                  f   de#e!ejH                  f   fdZdde#e!ejH                  f   dre#e!ejJ                  f   de#e!ejJ                  f   de#e!ejp                  f   de\de#e!ejH                  f   fdZ  ed       ejN                  e            Zde#e!ejH                  f   dre#e!ejJ                  f   de#e!ejJ                  f   de#e!ejp                  f   de\de#e!ejH                  f   fdZdde#e!ejH                  f   de\de\de\de#e!ejH                  f   f
dZ  ed       ejN                  e            Zde#e!ejH                  f   de\de\de\de#e!ejH                  f   f
dZdde#e!ejT                  f   de#e!ejH                  f   fdZ  ed«       ejN                  e            Zde#e!ejT                  f   de#e!ejH                  f   fdÄZdde#e!ejH                  f   de#e!ejJ                  f   de#e!ejH                  f   fdńZ  edƫ       ejN                  e            Zde#e!ejH                  f   de#e!ejJ                  f   de#e!ejH                  f   fdǄZdde#e!ejH                  f   de#e!ejH                  f   fdȄZ  edɫ       ejN                  e            Zde#e!ejH                  f   de#e!ejH                  f   fdʄZdde#e!ejH                  f   de#e!ejJ                  f   de#e!ejJ                  f   de#e!ejp                  f   de#e!ejJ                  f   de#e!ejJ                  f   de#e!ejH                  f   fdЄZ  edѫ       ejN                  e            Zde#e!ejH                  f   de#e!ejJ                  f   de#e!ejJ                  f   de#e!ejp                  f   de#e!ejJ                  f   de#e!ejJ                  f   de#e!ejH                  f   fd҄Zdde#e!ejH                  f   de#e!ejJ                  f   de\de#e!ejH                  f   fdӄZ  edԫ       ejN                  e            Zde#e!ejH                  f   de#e!ejJ                  f   de\de#e!ejH                  f   fdՄZdde#e!ejH                  f   de#e!ejJ                  f   de#e!ejH                  f   fdׄZ  edث       ejN                  e            Zde#e!ejH                  f   de#e!ejJ                  f   de#e!ejH                  f   fdلZdde#e!ejJ                  f   de#e!ejJ                  f   de#e!ejH                  f   fd܄Z  edݫ       ejN                  e            Zde#e!ejJ                  f   de#e!ejJ                  f   de#e!ejH                  f   fdބZdde#e!ejH                  f   d!e#e!ejJ                  f   de\de#e!ejH                  f   fdZ  ed       ejN                  e            Zde#e!ejH                  f   d!e#e!ejJ                  f   de\de#e!ejH                  f   fdZdde#e!ejH                  f   de\de#e!ejH                  f   fdZ  ed       ejN                  e            Zde#e!ejH                  f   de\de#e!ejH                  f   fdZdde#e!ejH                  f   de#e!ej                  f   d%e#e!ejT                  f   de#e!ejT                  f   de#e!ejH                  f   f
dZ  ed       ejN                  eë            Zde#e!ejH                  f   de#e!ej                  f   d%e#e!ejT                  f   de#e!ejT                  f   de#e!ejH                  f   f
dZŐdde#e!ejH                  f   de#e!ejJ                  f   de#e!ejH                  f   fdZ  ed       ejN                  eƫ            Zde#e!ejH                  f   de#e!ejJ                  f   de#e!ejH                  f   fdZȐdde#e!ejH                  f   de#e!ejJ                  f   de#e!ejJ                  f   de#e!ejJ                  f   de#e!ejH                  f   f
dZ  ed       ejN                  eɫ            Zde#e!ejH                  f   de#e!ejJ                  f   de#e!ejJ                  f   de#e!ejJ                  f   de#e!ejH                  f   f
dZːdde#e!ejT                  f   de#e!ejT                  f   de#e!ejT                  f   de#e!ejH                  f   fdZ  ed       ejN                  e̫            Zde#e!ejT                  f   de#e!ejT                  f   de#e!ejT                  f   de#e!ejH                  f   fdZΐddeUdeUde#e!ej                  f   fdZ  ed       ejN                  eϫ            ZdeUdeUde#e!ej                  f   fdZѐdܐd e#e!ej                  f   de#e!ejT                  f   fdZ  ed       ejN                  eҫ            ZӐd e#e!ej                  f   de#e!ejT                  f   fdZԐdde#e!ejH                  f   de#e!ejH                  f   fdZ  ed       ejN                  eի            Zde#e!ejH                  f   de#e!ejH                  f   fdZאdde#e!ejH                  f   de#e!ej                  f   de#e!ejH                  f   fdZ  ed	       ejN                  eث            Zde#e!ejH                  f   de#e!ej                  f   de#e!ejH                  f   fd
Zڐdde1deUde1deUdeUde#e!ej                  f   fdZ  ed       ejN                  e۫            Zde1deUde1deUdeUde#e!ej                  f   fdZݐdde#e!ejH                  f   de#e!ejH                  f   fdZ  ed       ejN                  eޫ            Zde#e!ejH                  f   de#e!ejH                  f   fdZdde#e!ejH                  f   de#e!ejH                  f   fdZ  ed       ejN                  e            Zde#e!ejH                  f   de#e!ejH                  f   fdZdd}e#e!ejH                  f   de#e!ejJ                  f   fdZ  ed       ejN                  e            Zd}e#e!ejH                  f   de#e!ejJ                  f   fdZdde#e!ejH                  f   de#e!ejJ                  f   de#e!ejJ                  f   de#e!ej                  f   de\deUde#e!ejH                  f   fdZ  ed       ejN                  e            Zde#e!ejH                  f   de#e!ejJ                  f   de#e!ejJ                  f   de#e!ej                  f   de\deUde#e!ejH                  f   fdZdde#e!ejH                  f   de#e!ejH                  f   fdZ  ed       ejN                  e            Zde#e!ejH                  f   de#e!ejH                  f   fdZdde#e!ejH                  f   deUde#e!ejH                  f   fd Z  ed!       ejN                  e            Zde#e!ejH                  f   deUde#e!ejH                  f   fd"Zdde#e!ejH                  f   de\de#e!ejH                  f   fd#Z  ed$       ejN                  e            Zde#e!ejH                  f   de\de#e!ejH                  f   fd%Zdde#e!ejH                  f   d&e#e!ejJ                  f   deUde#e!ejH                  f   fd'Z  ed(       ejN                  e            Zde#e!ejH                  f   d&e#e!ejJ                  f   deUde#e!ejH                  f   fd)Zdܐd*e#e!ej                  f   d}e#e!ejH                  f   fd+Z  ed,       ejN                  e            Zd*e#e!ej                  f   d}e#e!ejH                  f   fd-Zdde#e!ej                  f   de#e!ejT                  f   fd.Z  ed/       ejN                  e            Zde#e!ej                  f   de#e!ejT                  f   fd0Zdܐd e#e!ej                  f   de#e!ejT                  f   fd1Z  ed2       ejN                  e            Zd e#e!ej                  f   de#e!ejT                  f   fd3Zdd)e#e!ejT                  f   de#e!ejH                  f   fd4Z  ed5       ejN                  e            Z d)e#e!ejT                  f   de#e!ejH                  f   fd6Zdde#e!ejH                  f   d%e#e!ejT                  f   de#e!ejH                  f   fd7Z  ed8       ejN                  e            Zde#e!ejH                  f   d%e#e!ejT                  f   de#e!ejH                  f   fd9Zdde#e!ejH                  f   de#e!ejJ                  f   de#e!ejJ                  f   de#e!ejJ                  f   de#e!ejJ                  f   d;eUdeUde#e!ejH                  f   fd<Z  ed=       ejN                  e            Zde#e!ejH                  f   de#e!ejJ                  f   de#e!ejJ                  f   de#e!ejJ                  f   de#e!ejJ                  f   d;eUdeUde#e!ejH                  f   fd>ZddeUde#e!ejH                  f   fd?Z  ed@       ejN                  e            Z	deUde#e!ejH                  f   fdAZ
dܐdBe#e!ejT                  f   de#e!ejH                  f   fdCZ  edD       ejN                  e            ZdBe#e!ejT                  f   de#e!ejH                  f   fdEZddFe#e!ejT                  f   dGeUde#e!ejH                  f   fdHZ  edI       ejN                  e            ZdFe#e!ejT                  f   dGeUde#e!ejH                  f   fdJZdde#e!ejH                  f   dre#e!ejJ                  f   de#e!ejJ                  f   de#e!ejp                  f   de\deUde#e!ejH                  f   fdKZ  edL       ejN                  e            Zde#e!ejH                  f   dre#e!ejJ                  f   de#e!ejJ                  f   de#e!ejp                  f   de\deUde#e!ejH                  f   fdMZdde#e!ejT                  f   de#e!ejH                  f   fdNZ  edO       ejN                  e            Zde#e!ejT                  f   de#e!ejH                  f   fdPZdde#e!ejH                  f   de#e!ejJ                  f   de#e!ejH                  f   fdQZ  edR       ejN                  e            Zde#e!ejH                  f   de#e!ejJ                  f   de#e!ejH                  f   fdSZdde#e!ejH                  f   de#e!ejH                  f   fdTZ  edU       ejN                  e            Zde#e!ejH                  f   de#e!ejH                  f   fdVZdde#e!ejH                  f   de#e!ejJ                  f   de#e!ejJ                  f   de#e!ejp                  f   de#e!ejJ                  f   de#e!ejJ                  f   deUde#e!ejH                  f   fdWZ  edX       ejN                  e            Zde#e!ejH                  f   de#e!ejJ                  f   de#e!ejJ                  f   de#e!ejp                  f   de#e!ejJ                  f   de#e!ejJ                  f   deUde#e!ejH                  f   fdYZdbg g g dfde#e!ejH                  f   de#e!ejJ                  f   de\de#e!ejH                  f   fdZZ   ed[       ejN                  e             Z!de#e!ejH                  f   de#e!ejJ                  f   de\de#e!ejH                  f   fd\Z"d:g g g dfde#e!ejH                  f   de#e!ejJ                  f   d;eUde#e!ejH                  f   fd]Z#  ed^       ejN                  e#            Z$de#e!ejH                  f   de#e!ejJ                  f   d;eUde#e!ejH                  f   fd_Z%dde#e!ejH                  f   de#e!ejJ                  f   de#e!ejH                  f   fd`Z&  eda       ejN                  e&            Z'de#e!ejH                  f   de#e!ejJ                  f   de#e!ejH                  f   fdbZ(dde#e!ejJ                  f   de#e!ejJ                  f   deUde#e!ejH                  f   fdcZ)  edd       ejN                  e)            Z*de#e!ejJ                  f   de#e!ejJ                  f   deUde#e!ejH                  f   fdeZ+dde#e!ejJ                  f   de#e!ejJ                  f   de#e!ej                  f   dfe\deUde#e!ejH                  f   fdgZ,  edh       ejN                  e,            Z-de#e!ejJ                  f   de#e!ejJ                  f   de#e!ej                  f   dfe\deUde#e!ejH                  f   fdiZ.dde#e!ejH                  f   d!e#e!ejJ                  f   de\de#e!ejH                  f   fdjZ/  edk       ejN                  e/            Z0de#e!ejH                  f   d!e#e!ejJ                  f   de\de#e!ejH                  f   fdlZ1dde#e!ejH                  f   dme#e!ejJ                  f   de#e!ejp                  f   de#e!ejH                  f   fdnZ2  edo       ejN                  e2            Z3de#e!ejH                  f   dme#e!ejJ                  f   de#e!ejp                  f   de#e!ejH                  f   fdpZ4dd}e#e!ejH                  f   dQe#e!ejT                  f   dRe#e!ejT                  f   dqe1dreUdeUde#e!ejJ                  f   fdsZ5  edt       ejN                  e5            Z6d}e#e!ejH                  f   dQe#e!ejT                  f   dRe#e!ejT                  f   dqe1dreUdeUde#e!ejJ                  f   fduZ7dd}e#e!ejH                  f   dQe#e!ejT                  f   dRe#e!ejT                  f   dqe1dreUdveUdeUde#e!ejT                  f   fdwZ8  edx       ejN                  e8            Z9d}e#e!ejH                  f   dQe#e!ejT                  f   dRe#e!ejT                  f   dqe1dreUdveUdeUde#e!ejT                  f   fdyZ:dde#e!ejH                  f   dze#e!ejv                  f   de#e!ejJ                  f   de#e!ejJ                  f   de#e!ejH                  f   f
d{Z<  ed|       ejN                  e<            Z=de#e!ejH                  f   dze#e!ejv                  f   de#e!ejJ                  f   de#e!ejJ                  f   de#e!ejH                  f   f
d}Z>dde#e!ejH                  f   dFe#e!ejT                  f   dGeUd~e\fdZ?  ed       ejN                  e?            Z@de#e!ejH                  f   dFe#e!ejT                  f   dGeUd~e\fdZAdde#e!ejH                  f   dFe#e!ejT                  f   dGeUd~e\de#e!ejH                  f   f
dZB  ed       ejN                  eB            ZCde#e!ejH                  f   dFe#e!ejT                  f   dGeUd~e\de#e!ejH                  f   f
dZDdde#e!ejH                  f   de\de\deUde#e!ejH                  f   f
dZE  ed       ejN                  eE            ZFde#e!ejH                  f   de\de\deUde#e!ejH                  f   f
dZGdde#e!ejH                  f   de#e!ej                  f   d%e#e!ejT                  f   de#e!ejT                  f   de#e!ejH                  f   f
dZH  ed       ejN                  eH            ZIde#e!ejH                  f   de#e!ej                  f   d%e#e!ejT                  f   de#e!ejT                  f   de#e!ejH                  f   f
dZJdde#e!ejH                  f   de#e!ejJ                  f   de#e!ejH                  f   fdZK  ed       ejN                  eK            ZLde#e!ejH                  f   de#e!ejJ                  f   de#e!ejH                  f   fdZMdde#e!ejH                  f   de#e!ejJ                  f   de#e!ejJ                  f   de#e!ejJ                  f   de\de#e!ejH                  f   fdZN  ed       ejN                  eN            ZOde#e!ejH                  f   de#e!ejJ                  f   de#e!ejJ                  f   de#e!ejJ                  f   de\de#e!ejH                  f   fdZPdde#e!ejT                  f   dGeUde#e!ejH                  f   fdZQ  ed       ejN                  eQ            ZRde#e!ejT                  f   dGeUde#e!ejH                  f   fdZSdde#e!ejH                  f   dFe#e!ejT                  f   dGeUdeUdeUde1de1de1de1de1de1de\de1de1deUdeUde#e!ejH                  f   f"dZT  ed       ejN                  eT            ZUde#e!ejH                  f   dFe#e!ejT                  f   dGeUdeUdeUde1de1de1de1de1de1de\de1de1deUdeUde#e!ejH                  f   f"dZVdde#e!ejT                  f   de#e!ejJ                  f   de1dGeUde#e!ejH                  f   f
dZW  ed       ejN                  eW            ZXde#e!ejT                  f   de#e!ejJ                  f   de1dGeUde#e!ejH                  f   f
dZYdde#e!ejH                  f   dFe#e!ejT                  f   dGeUdeUdeUde\de1deUde#e!ejH                  f   fdZZ  ed       ejN                  eZ            Z[de#e!ejH                  f   dFe#e!ejT                  f   dGeUdeUdeUde\de1deUde#e!ejH                  f   fdZ\dܐde#e e!   ejH                  f   de#e!ejH                  f   fdZ]  ed       ejN                  e]            Z^de#e e!   ejH                  f   de#e!ejH                  f   fdZ_dde#e!ejT                  f   de#e!ejT                  f   de#e!ejT                  f   de#e!ejH                  f   fdZ`  ed       ejN                  e`            Zade#e!ejT                  f   de#e!ejT                  f   de#e!ejT                  f   de#e!ejH                  f   fdZbddeUdeUde#e!ej                  f   fdZc  ed       ejN                  ec            ZddeUdeUde#e!ej                  f   fdZeddeUdeUde#e!ej                  f   fdZf  ed       ejN                  ef            ZgdeUdeUde#e!ej                  f   fdZhdde#e!ej                  f   de#e!ej                  f   fdZi  ed       ejN                  ei            Zjde#e!ej                  f   de#e!ej                  f   fdZkdܐd e#e!ej                  f   de#e!ejT                  f   fdZl  edë       ejN                  el            Zmd e#e!ej                  f   de#e!ejT                  f   fdĄZndde#e!ejH                  f   deUde#e!ejH                  f   fdńZo  edƫ       ejN                  eo            Zpde#e!ejH                  f   deUde#e!ejH                  f   fdǄZqdde#e!ejH                  f   de#e!ej                  f   de#e!ejH                  f   fdȄZr  edɫ       ejN                  er            Zsde#e!ejH                  f   de#e!ej                  f   de#e!ejH                  f   fdʄZtdde1deUde1deUdeUde#e!ej                  f   fd˄Zu  ed̫       ejN                  eu            Zvde1deUde1deUdeUde#e!ej                  f   fd̈́Zwdde#e!ejH                  f   deUde#e!ejH                  f   fd΄Zx  edϫ       ejN                  ex            Zyde#e!ejH                  f   deUde#e!ejH                  f   fdЄZzdܐde#e!ejH                  f   fd҄Z{  edӫ       ejN                  e{            Z|de#e!ejH                  f   fdԄZ}dde#e!ejH                  f   deUde#e!ejH                  f   fdՄZ~  ed֫       ejN                  e~            Zde#e!ejH                  f   deUde#e!ejH                  f   fdׄZddDe#e e!   ejH                  f   de#e e!   ej                  f   deUde#e!ejH                  f   fdلZ  edګ       ejN                  e            ZdDe#e e!   ejH                  f   de#e e!   ej                  f   deUde#e!ejH                  f   fdۄZy(  zUPython wrappers around TensorFlow ops.

This file is MACHINE GENERATED! Do not edit.
    N)
pywrap_tfe)context)core)execute)dtypes)annotation_types)op_def_registry)ops)op_def_library)deprecated_endpoints)dispatch)	tf_export)TypeVarListAny)	Annotatedinput_datasetcardinalityreturnc                    t         j                   xs t        j                         }|j                  }|j                  r 	 t	        j
                  |d|| |d|d|	      }|S t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j$                  |	d       }}	t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j&                  |
d       }}
t)        j*                  d| ||||      \  }}}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}	w c c}
w )	a}  TODO: add doc.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    cardinality: A `Tensor` of type `int64`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  AssertCardinalityDatasetoutput_typesoutput_shapesNr   r   namectxUExpected list for 'output_types' argument to 'assert_cardinality_dataset' Op, not %r.VExpected list for 'output_shapes' argument to 'assert_cardinality_dataset' Op, not %r.)r   r   r   r   r   )_contextr   _thread_local_datais_eagerr   TFE_Py_FastPathExecute_core_NotOkStatusException_opsraise_from_not_ok_status_FallbackException)assert_cardinality_dataset_eager_fallback_SymbolicException
isinstancelisttuple	TypeError_execute	make_type
make_shape_op_def_library_apply_op_helpermust_record_gradientget_attrinputsrecord_gradient)r   r   r   r   r   _ctxtld_resulte_t_s__op_outputs_attrs_inputs_flats                   b/home/dcms/DCMS/lib/python3.12/site-packages/tensorflow/python/ops/gen_experimental_dataset_ops.pyassert_cardinality_datasetrC      s    
			0h..0$#\\11(${o}Fg n 
L4-	0
	35A	BC C DPPR($$R8P,P	MD%=	1
	35B	CD D GTT8&&r?;T-T'88"-0;1=2?d	L!QX
 QK'""$cll>:Oll?+-F::L"L&'C('	.E && -
##At,,## 
6
<%Dd< < ## 
 Q
 U<    E4 G*G/4F;F""F;:F;?G G'&G'z raw_ops.AssertCardinalityDatasetc                 p   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } t        j                  |t        j                        }| |g}d|d|f}	t	        j                  dd||	||      }
t	        j                         rt	        j                  d||	|
       |
\  }
|
S c c}w c c}w )	Nr   r   r   r   s   AssertCardinalityDataset   r5   attrsr   r   r   r*   r+   r,   r-   r.   r/   r0   r%   convert_to_tensor_dtypesvariantint64r   r3   r6   )r   r   r   r   r   r   r;   r<   rA   r@   r9   s              rB   r(   r(   U   sA   	L4-	0
	35A	BC C DPPR($$R8P,P	MD%=	1
	35B	CD D GTT8&&r?;T-T((H-&&{GMMB+-,L/=I&8!$0C"&(' ""$"L&'C('	.# Q
 U   D.0D3transformationsc                    t         j                   xs t        j                         }|j                  }|j                  r 	 t	        j
                  |d|| |d|d|	      }|S t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j$                  |	d       }}	t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j&                  |
d       }}
t)        j*                  d| ||||      \  }}}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}	w c c}
w )	af  A transformation that asserts which transformations happen next.

  This transformation checks whether the camel-case names (i.e. "FlatMap", not
  "flat_map") of the transformations following this transformation match the list
  of names in the `transformations` argument. If there is a mismatch, the
  transformation raises an exception.

  The check occurs when iterating over the contents of the dataset, which
  means that the check happens *after* any static optimizations are applied
  to the dataset graph.

  Args:
    input_dataset: A `Tensor` of type `variant`.
      A variant tensor representing the input dataset.
      `AssertNextDataset` passes through the outputs of its input dataset.
    transformations: A `Tensor` of type `string`.
      A `tf.string` vector `tf.Tensor` identifying the transformations that are
      expected to happen next.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  AssertNextDatasetr   r   Nr   NExpected list for 'output_types' argument to 'assert_next_dataset' Op, not %r.OExpected list for 'output_shapes' argument to 'assert_next_dataset' Op, not %r.r   rO   r   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   "assert_next_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r   rO   r   r   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                   rB   assert_next_datasetrW   n      4 
			0h..0$#\\11!4o}Fg n 
L4-	0
	,.:	;< < DPPR($$R8P,P	MD%=	1
	,.;	<= = GTT8&&r?;T-T'88=-<*6+8t	E!QX
 QK'""$cll>:Oll?+-F::L\67<('	.E && -
##At,,## 
/
|%Dd< < ## 
 Q
 UrD   zraw_ops.AssertNextDatasetc                 p   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } t        j                  |t        j                        }| |g}d|d|f}	t	        j                  dd||	||      }
t	        j                         rt	        j                  d||	|
       |
\  }
|
S c c}w c c}w )	NrR   r   rS   r   s   AssertNextDatasetrF   rG   rQ   r*   r+   r,   r-   r.   r/   r0   r%   rJ   rK   rL   stringr   r3   r6   r   rO   r   r   r   r   r;   r<   rA   r@   r9   s              rB   rU   rU      7   	L4-	0
	,.:	;< < DPPR($$R8P,P	MD%=	1
	,.;	<= = GTT8&&r?;T-T((H-**?GNNK/1,L/=I&11\#)s?'""$\67<('	.! Q
 UrN   c                    t         j                   xs t        j                         }|j                  }|j                  r 	 t	        j
                  |d|| |d|d|	      }|S t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j$                  |	d       }}	t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j&                  |
d       }}
t)        j*                  d| ||||      \  }}}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}	w c c}
w )	a  A transformation that asserts which transformations happened previously.

  This transformation checks the names and, optionally, the attribute name-value
  pairs in the `transformations` argument against those of the transformations
  that preceded this transformation.  If there is a mismatch, the transformation
  raises an exception.

  The check occurs when iterating over the contents of the dataset, which
  means that the check happens *after* any static optimizations are applied
  to the dataset graph.

  Args:
    input_dataset: A `Tensor` of type `variant`.
      A variant tensor representing the input dataset.
      `AssertPrevDataset` passes through the outputs of its input dataset.
    transformations: A `Tensor` of type `string`.
      A `tf.string` vector `tf.Tensor` identifying the transformations, with optional
      attribute name-value pairs, that are expected to have happened previously.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  AssertPrevDatasetr   r   Nr   NExpected list for 'output_types' argument to 'assert_prev_dataset' Op, not %r.OExpected list for 'output_shapes' argument to 'assert_prev_dataset' Op, not %r.rT   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   "assert_prev_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   rV   s                   rB   assert_prev_datasetrc      rX   rD   zraw_ops.AssertPrevDatasetc                 p   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } t        j                  |t        j                        }| |g}d|d|f}	t	        j                  dd||	||      }
t	        j                         rt	        j                  d||	|
       |
\  }
|
S c c}w c c}w )	Nr`   r   ra   r   s   AssertPrevDatasetrF   rG   r_   rZ   r\   s              rB   rb   rb     r]   rN   num_workersindexauto_shard_policynum_replicasc                    t         j                   xs t        j                         }|j                  }	|	j                  r%	 t	        j
                  |d|| ||d|d|d|d|      }
|
S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d	|z        |D cg c]  }t#        j&                  |d       }}|d
}t#        j(                  |d      }|d
}t#        j(                  |d      }t+        j,                  d| |||||||	      \  }}}}|dd }
t#        j.                         rjd|j1                  d      d|j3                  d      d|j3                  d      d|j1                  d      f}|j4                  }t#        j6                  d|||
       |
\  }
|
S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||||||||	      S # t        j                  $ r Y w xY wc c}w c c}w )a  Creates a dataset that shards the input dataset.

  Creates a dataset that shards the input dataset by num_workers, returning a
  sharded dataset for the index-th worker. This attempts to automatically shard
  a dataset by examining the Dataset graph and inserting a shard op before the
  inputs to a reader Dataset (e.g. CSVDataset, TFRecordDataset).

  This dataset will throw a NotFound error if we cannot shard the dataset
  automatically.

  Args:
    input_dataset: A `Tensor` of type `variant`.
      A variant tensor representing the input dataset.
    num_workers: A `Tensor` of type `int64`.
      A scalar representing the number of workers to distribute this dataset across.
    index: A `Tensor` of type `int64`.
      A scalar representing the index of the current worker out of num_workers.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    auto_shard_policy: An optional `int`. Defaults to `0`.
    num_replicas: An optional `int`. Defaults to `0`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  AutoShardDatasetrg   r   r   rh   N)rg   r   r   rh   r   r   MExpected list for 'output_types' argument to 'auto_shard_dataset' Op, not %r.NExpected list for 'output_shapes' argument to 'auto_shard_dataset' Op, not %r.r   )r   re   rf   r   r   rg   rh   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   !auto_shard_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   make_intr1   r2   r3   _get_attr_intr4   r5   r6   )r   re   rf   r   r   rg   rh   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                      rB   auto_shard_datasetrp   0  s   6 
			0h..0$#\\	11 ${E.Fg n 
L4-	0
	+-9	:; ; DPPR($$R8P,P	MD%=	1
	+-:	;< < GTT8&&r?;T-T''(9;NOL""<@,'88-(35)5*7.?)5DB!QX QK'""$!3#4#45H#Icll>:Oll?+^/1F ::LL&';('	.] && -
##At,,## 
.
e-L%Lt	 
 ## 
 Q
 U<    #G IIH%H  HHH1 1IIzraw_ops.AutoShardDatasetc	                 *   t        |t        t        f      st        d|z        |D 	cg c]  }	t	        j
                  |	d       }}	t        |t        t        f      st        d|z        |D 
cg c]  }
t	        j                  |
d       }}
|d}t	        j                  |d      }|d}t	        j                  |d      }t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }| ||g}d|d|d|d|f}t	        j                  dd	||||
      }t	        j                         rt	        j                  d|||       |\  }|S c c}	w c c}
w )Nrk   r   rl   r   r   rg   rh   s   AutoShardDatasetrF   rG   rj   r*   r+   r,   r-   r.   r/   r0   rn   r%   rJ   rK   rL   rM   r   r3   r6   )r   re   rf   r   r   rg   rh   r   r   r;   r<   rA   r@   r9   s                 rB   rm   rm     s   	L4-	0
	+-9	:; ; DPPR($$R8P,P	MD%=	1
	+-:	;< < GTT8&&r?;T-T''(9;NOL""<@,((H-&&{GMMB+

 
 
6%e4,!2NN&0!L#)s?'""$L&';('	.1 Q
 U   F0Ftagc                    t         j                   xs t        j                         }|j                  }|j                  r 	 t	        j
                  |d|| |d|d|	      }|S t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j$                  |	d       }}	t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j&                  |
d       }}
t)        j*                  d| ||||      \  }}}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}	w c c}
w )	  Records the bytes size of each element of `input_dataset` in a StatsAggregator.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    tag: A `Tensor` of type `string`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  BytesProducedStatsDatasetr   r   Nr   WExpected list for 'output_types' argument to 'bytes_produced_stats_dataset' Op, not %r.XExpected list for 'output_shapes' argument to 'bytes_produced_stats_dataset' Op, not %r.r   ru   r   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   +bytes_produced_stats_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r   ru   r   r   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                   rB   bytes_produced_stats_datasetr~     s    
			0h..0$#\\11)4o}Fg n 
L4-	0
	57C	DE E DPPR($$R8P,P	MD%=	1
	57D	EF F GTT8&&r?;T-T'88#=c2>3@tM!QX QK'""$cll>:Oll?+-F::L#\67D('	.C && -
##At,,## 
8
<%Dd< < ## 
 Q
 UrD   z!raw_ops.BytesProducedStatsDatasetc                 p   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } t        j                  |t        j                        }| |g}d|d|f}	t	        j                  dd||	||      }
t	        j                         rt	        j                  d||	|
       |
\  }
|
S c c}w c c}w )	Nry   r   rz   r   s   BytesProducedStatsDatasetrF   rG   rx   rZ   r   ru   r   r   r   r   r;   r<   rA   r@   r9   s              rB   r|   r|     sA   	L4-	0
	57C	DE E DPPR($$R8P,P	MD%=	1
	57D	EF F GTT8&&r?;T-T((H-sGNN3#%,L/=I&91$0C"&(' ""$#\67D('	.# Q
 UrN   	filenamescompression_typebuffer_sizeheaderfield_delimuse_quote_delimna_valueselect_colsc                 r   t         j                   xs t        j                         }|j                  }|j                  r%	 t	        j
                  |d|
| ||||||||d|	      }|S t        |	t        t        f      st!        d|	z        |	D cg c]  }t#        j$                  |d       }	}t'        j(                  d| |||||||||	|
      \  }}}}|dd }t#        j*                         rHd|j-                  d      d|j-                  d      f}|j.                  }t#        j0                  d|||       |\  }|S # t        j                  $ r }t        j                  ||
       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||||||	|
|      S # t        j                  $ r Y Lw xY wc c}w )  TODO: add doc.

  Args:
    filenames: A `Tensor` of type `string`.
    compression_type: A `Tensor` of type `string`.
    buffer_size: A `Tensor` of type `int64`.
    header: A `Tensor` of type `bool`.
    field_delim: A `Tensor` of type `string`.
    use_quote_delim: A `Tensor` of type `bool`.
    na_value: A `Tensor` of type `string`.
    select_cols: A `Tensor` of type `int64`.
    record_defaults: A list of `Tensor` objects with types from: `float32`, `float64`, `int32`, `int64`, `string`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  
CSVDatasetr   Nr   r   r   GExpected list for 'output_shapes' argument to 'csv_dataset' Op, not %r.r   r   r   r   r   r   r   r   record_defaultsr   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   csv_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r0   r1   r2   r3   r4   r5   r6   r   r   r   r   r   r   r   r   r   r   r   r7   r8   r9   r:   r<   r=   r>   r?   r@   rA   s                        rB   csv_datasetr     s   & 
			0h..0$#\\	11lD)-={_h-9g n 
MD%=	1
	$&3	45 5 GTT8&&r?;T-T'88	<L"-f"-&5"-&5$1>!QX QK'""$cll>:Oll?+-F::LlFG5('	.C && -
##At,,## 
'
%{FK
8[/%Dd< < ## 
 U6    #D8 F48E?E&&E?>E?F F10F1zraw_ops.CSVDatasetc                    t        |	t        t        f      st        d|	z        |	D cg c]  }t	        j
                  |d       }	}t	        j                  ||      \  }}t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }| |||||||gt        |      z   }d|d|	f}t	        j                  dd||||
      }t	        j                         rt	        j                  d|||       |\  }|S c c}w )Nr   r   r   s
   CSVDatasetrF   rG   r   r*   r+   r,   r-   r.   r0   convert_to_mixed_eager_tensorsr%   rJ   rK   r[   rM   boolr   r3   r6   r   r   r   r   r   r   r   r   r   r   r   r   r<   _attr_output_typesrA   r@   r9   s                    rB   r   r   =  s   	MD%=	1
	$&3	45 5 GTT8&&r?;T-T(0(O(OP_ad(e%o$$Y?)++,<gnnM&&{GMMB+!!&',,7&&&{GNNC+**?GLLI/##Hgnn=(&&{GMMB+-{FKQ`bjlwx{  AP  |Q  Q,.&]Al#)s?'""$lFG5('	.' U   G*exclude_colsc                 x   t         j                   xs t        j                         }|j                  }|j                  r&	 t	        j
                  |d|| |||||||||	d|
      }|S t        |
t        t        f      st!        d|
z        |
D cg c]  }t#        j$                  |d       }
}t'        j(                  d| |||||||||	|
|      \  }}}}|dd }t#        j*                         rHd|j-                  d      d|j-                  d      f}|j.                  }t#        j0                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||||||	|
||      S # t        j                  $ r Y Nw xY wc c}w )a  TODO: add doc.

  Args:
    filenames: A `Tensor` of type `string`.
    compression_type: A `Tensor` of type `string`.
    buffer_size: A `Tensor` of type `int64`.
    header: A `Tensor` of type `bool`.
    field_delim: A `Tensor` of type `string`.
    use_quote_delim: A `Tensor` of type `bool`.
    na_value: A `Tensor` of type `string`.
    select_cols: A `Tensor` of type `int64`.
    record_defaults: A list of `Tensor` objects with types from: `float32`, `float64`, `int32`, `int64`, `string`.
    exclude_cols: A `Tensor` of type `int64`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  CSVDatasetV2r   Nr   JExpected list for 'output_shapes' argument to 'csv_dataset_v2' Op, not %r.)r   r   r   r   r   r   r   r   r   r   r   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   csv_dataset_v2_eager_fallbackr)   r*   r+   r,   r-   r.   r0   r1   r2   r3   r4   r5   r6   )r   r   r   r   r   r   r   r   r   r   r   r   r7   r8   r9   r:   r<   r=   r>   r?   r@   rA   s                         rB   csv_dataset_v2r   X  s   ( 
			0h..0$#\\	11ndI/?_hGg n 
MD%=	1
	')6	78 8 GTT8&&r?;T-T'88))9$/$/(7($/(7%1&3$	@!QX QK'""$cll>:Oll?+-F::Lfg7('	.G && -
##At,,## 
*
%{FK
8[/
m$DJ J ## 
 Us6    $D: F7:FE((F FF F43F4zraw_ops.CSVDatasetV2c                 .   t        |
t        t        f      st        d|
z        |
D cg c]  }t	        j
                  |d       }
}t	        j                  ||      \  }}t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |	t        j                        }	| |||||||gt        |      z   |	gz   }d|d|
f}t	        j                  dd||||      }t	        j                         rt	        j                  d|||       |\  }|S c c}w )Nr   r   r   s   CSVDatasetV2rF   rG   r   r   )r   r   r   r   r   r   r   r   r   r   r   r   r   r<   r   rA   r@   r9   s                     rB   r   r     s   	MD%=	1
	')6	78 8 GTT8&&r?;T-T(0(O(OP_ad(e%o$$Y?)++,<gnnM&&{GMMB+!!&',,7&&&{GNNC+**?GLLI/##Hgnn=(&&{GMMB+''gmmD,-{FKQ`bjlwx{  AP  |Q  Q  Ua  Tb  b,.&_a#)s?'""$fg7('	.) Us   H) TV_CheckPinned_Tz_atypes.BFloat16z_atypes.Boolz_atypes.Complex128z_atypes.Complex64z_atypes.Float16z_atypes.Float32z_atypes.Float64z_atypes.Float8e4m3b11fnuzz_atypes.Float8e4m3fnz_atypes.Float8e4m3fnuzz_atypes.Float8e5m2z_atypes.Float8e5m2fnuzz_atypes.Halfz_atypes.Int16z_atypes.Int32z_atypes.Int4z_atypes.Int64z_atypes.Int8z_atypes.QInt16z_atypes.QInt32z_atypes.QInt8z_atypes.QUInt16z_atypes.QUInt8z_atypes.Resourcez_atypes.Stringz_atypes.UInt16z_atypes.UInt32z_atypes.UInt4z_atypes.UInt64z_atypes.UInt8z_atypes.Variantcheck_pinnedtensorc           	      >   t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d||       }|S t        | |fd      }|t        ur|S 	 t/        j0                  d| |      \  }}}}|dd }t3        j4                         r7d|j7                  d      f}	|j8                  }
t3        j:                  d|
|	|       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |fd      }|t        ur|S t        | ||      S # t        j                  $ r Y t        t         f$ rH t#        j$                  t&        dt)        | |            }|t"        j*                  j,                  ur|cY S  w xY w# t        t         f$ rH t#        j$                  t&        dt)        | |            }|t"        j*                  j,                  ur|cY S  w xY w)ai  Checks whether a tensor is located in host memory pinned for GPU.

  When run:
  - Reports an `InvalidArgument` error if `tensor` is not in pinned memory.
  - Reports a `FailedPrecondition` error if not built with CUDA.

  Args:
    tensor: A `Tensor`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor`. Has the same type as `tensor`.
  CheckPinnedNr   r    )r   r   T)r   r   r    r!   r   r"   r#   r$   r%   r&   r'   _dispatcher_for_check_pinnedNotImplementedcheck_pinned_eager_fallbackr)   r-   
ValueError	_dispatchr   r   dictOpDispatcherNOT_SUPPORTEDr1   r2   r.   r3   _get_attr_typer5   r6   )r   r   r7   r8   r9   r:   r=   r>   r?   r@   rA   s              rB   r   r     s   " 
			0h..0$#\\11mT6+gn, +	Gn$n	
)::f41Aq#x QK'""$3%%c*+F::L|VW6('	.W && -
##At,,## 
,4/4!g		&(
t' '## 
z" """d&t<g 
	..<<	<  Z	  
  
DT:
G i,,:::n	
sP    C& 3G &D-9DD-,D-1E 	E G,AG GAHHzraw_ops.CheckPinnedc                     t        j                  | g|g       \  }\  } | g}d|f}t        j                  dd||||      }t        j                         rt        j                  d|||       |\  }|S )Nr   s   CheckPinnedrF   rG   r   )r.   args_to_matching_eagerr   r3   r6   )r   r   r   _attr_TrA   r@   r9   s          rB   r   r     s{    66xbI'9F,>&^Q|#)s?'""$|VW6('	.    ratio_numeratorratio_denominatornum_elements_per_branchc
                    t         j                   xs t        j                         }
|
j                  }|j                  r(	 t	        j
                  |
d|	| |||d|d|d|d|d|      }|S t        j                  |d      }t        |t         t"        f      st%        d	|z        t        |t         t"        f      st%        d
|z        |D cg c]  }t        j                  |d       }}t        |t         t"        f      st%        d|z        |D cg c]  }t        j&                  |d       }}t        |t         t"        f      st%        d|z        |D cg c]  }t        j(                  |d       }}t+        j,                  d| |||||||||	      \  }}}}|dd }t        j.                         rd|j1                  d      d|j3                  d      d|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      f}|j4                  }t        j6                  d|||       |\  }|S # t        j                  $ r }t        j                  ||	       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||||||	|
      S # t        j                  $ r Y Vw xY wc c}w c c}w c c}w )a  TODO: add doc.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    ratio_numerator: A `Tensor` of type `int64`.
    ratio_denominator: A `Tensor` of type `int64`.
    other_arguments: A list of `Tensor` objects.
    num_elements_per_branch: An `int` that is `>= 1`.
    branches: A list of functions decorated with @Defun that has length `>= 1`.
    other_arguments_lengths: A list of `ints` that has length `>= 1`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  ChooseFastestBranchDatasetr   branchesother_arguments_lengthsr   r   N)r   r   r   r   r   r   r   TExpected list for 'branches' argument to 'choose_fastest_branch_dataset' Op, not %r.cExpected list for 'other_arguments_lengths' argument to 'choose_fastest_branch_dataset' Op, not %r.XExpected list for 'output_types' argument to 'choose_fastest_branch_dataset' Op, not %r.YExpected list for 'output_shapes' argument to 'choose_fastest_branch_dataset' Op, not %r.)
r   r   r   other_argumentsr   r   r   r   r   r   
Targuments)r   r   r    r!   r   r"   r#   r$   r%   r&   r'   ,choose_fastest_branch_dataset_eager_fallbackr)   r.   rn   r*   r+   r,   r-   r/   r0   r1   r2   r3   r4   ro   r5   r6   )r   r   r   r   r   r   r   r   r   r   r7   r8   r9   r:   _ir;   r<   r=   r>   r?   r@   rA   s                         rB   choose_fastest_branch_datasetr     s#   $ 
			0h..0$#\\11*D-*O!#:J+-Do}Fg n %--.EG`a	HtUm	,
	68@	AB B 
+dE]	;
	68O	PQ Q YppRTX..r3LMpp	L4-	0
	68D	EF F DPPR($$R8P,P	MD%=	1
	68E	FG G GTT8&&r?;T-T'88$M6E8I6E>U/7>U3?4A	N!QX QK'""$CLL6' 9:Jll:&(All45~ll>*Oll?+-F ::L$lFGE('	.s && -
##At,,## 
9
*;_"9H"9#=t  ## 
 q
 Q
 UsB    &I 	KKKJI44JJJ' 'J>=J>z"raw_ops.ChooseFastestBranchDatasetc                     t        j                  |d      }t        |t        t        f      st        d|z        t        |t        t        f      st        d|z        |D cg c]  }t        j                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t        j                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t        j                  |d       }}t        j                  ||
      \  }}t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }| ||gt        |      z   }d	|d|d
|d|d|d|f}t        j                  dd|||
|	      }t        j                         rt        j                   d|||       |\  }|S c c}w c c}w c c}w )Nr   r   r   r   r   r   r   r   r   r   s   ChooseFastestBranchDatasetrF   rG   r   )r.   rn   r*   r+   r,   r-   r/   r0   r   r%   rJ   rK   rL   rM   r   r3   r6   )r   r   r   r   r   r   r   r   r   r   r   r   r;   r<   _attr_TargumentsrA   r@   r9   s                     rB   r   r   l  s4   $--.EG`a	HtUm	,
	68@	AB B 
+dE]	;
	68O	PQ Q YppRTX..r3LMpp	L4-	0
	68D	EF F DPPR($$R8P,P	MD%=	1
	68E	FG G GTT8&&r?;T-T&.&M&Mo_b&c#O((H-**?GMMJ/,,->N2CDtOG\\,*,E:x1J><& :A$0C"&(' ""$$lFGE('	.7 q
 Q
 Us   #H*H1Hinput_datasetsnum_experimentsc                    t         j                   xs t        j                         }|j                  }|j                  r!	 t	        j
                  |d|| d|d|d|
      }|S t        | t        t        f      st!        d| z        t#        |       }	t%        j&                  |d      }t        |t        t        f      st!        d|z        |D 
cg c]  }
t%        j(                  |
d       }}
t        |t        t        f      st!        d	|z        |D cg c]  }t%        j*                  |d       }}t-        j.                  d| ||||
      \  }}}}|dd }t%        j0                         rjd|j3                  d      d|j3                  d      d|j5                  d      d|j5                  d      f}|j6                  }t%        j8                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}
w c c}w )  TODO: add doc.

  Args:
    input_datasets: A list of at least 2 `Tensor` objects with type `variant`.
    num_experiments: An `int`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  ChooseFastestDatasetr   r   r   Nr   r   r   r   r   SExpected list for 'input_datasets' argument to 'choose_fastest_dataset' Op, not %r.QExpected list for 'output_types' argument to 'choose_fastest_dataset' Op, not %r.RExpected list for 'output_shapes' argument to 'choose_fastest_dataset' Op, not %r.r   r   r   r   r   N)r   r   r    r!   r   r"   r#   r$   r%   r&   r'   %choose_fastest_dataset_eager_fallbackr)   r*   r+   r,   r-   lenr.   rn   r/   r0   r1   r2   r3   ro   r4   r5   r6   r   r   r   r   r   r7   r8   r9   r:   _attr_Nr;   r<   r=   r>   r?   r@   rA   s                    rB   choose_fastest_datasetr     s    
			0h..0$#\\	11$dN<Mg n 
NT5M	2
	/1?	@A A '%%o7HI/	L4-	0
	/1=	>? ? DPPR($$R8P,P	MD%=	1
	/1>	?@ @ GTT8&&r?;T-T'88~0?-9.;$	H!QX
 QK'""$3$$S)+< 12Nll>*Oll?+-F ::Lfg?('	.W && -
##At,,## 
2
/#=t  ## 
 Q
 U<    G IIH#/H

H#"H#'H8 8IIzraw_ops.ChooseFastestDatasetc                    t        | t        t        f      st        d| z        t	        |       }t        j                  |d      }t        |t        t        f      st        d|z        |D cg c]  }t        j                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t        j                  |d       }}t        j                  | t        j                        } t        |       }	d|d|d|d|f}
t        j                  dd	|	|
||
      }t        j                         rt        j                  d|	|
|       |\  }|S c c}w c c}w )Nr   r   r   r   r   r   r   s   ChooseFastestDatasetrF   rG   r   r*   r+   r,   r-   r   r.   rn   r/   r0   r%   convert_n_to_tensorrK   rL   r   r3   r6   r   r   r   r   r   r   r   r;   r<   rA   r@   r9   s               rB   r   r     sy   	NT5M	2
	/1?	@A A '%%o7HI/	L4-	0
	/1=	>? ? DPPR($$R8P,P	MD%=	1
	/1>	?@ @ GTT8&&r?;T-T++NGOOL.n%,+_n0&4a#)s?'""$fg?('	.! Q
 U   .E5Ec                 ~   t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d||       }|S t        j                  d| |      \  }}}}|dd }t        j                          r7d|j#                  d      f}	|j$                  }
t        j&                  d|
|	|       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||      S # t        j                  $ r Y w xY w)zCompresses a dataset element.

  Args:
    components: A list of `Tensor` objects.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  CompressElementNr   )
componentsr   input_types)r   r   r    r!   r   r"   r#   r$   r%   r&   r'   compress_element_eager_fallbackr)   r1   r2   r.   r3   r4   r5   r6   )r   r   r7   r8   r9   r:   r=   r>   r?   r@   rA   s              rB   compress_elementr     s6    
			0h..0$#\\11z3gn (88jt=!QXQK'""$S\\-89F::L<:('	.' && -
##At,,## 
,
4T+ +## 
s0    C D C;;DDD& &D<;D<zraw_ops.CompressElementc                     t        j                  | |      \  }} t        |       }d|f}t        j                  dd||||      }t        j                         rt        j
                  d|||       |\  }|S )Nr   s   CompressElementrF   rG   r   )r.   r   r+   r   r3   r6   )r   r   r   _attr_input_typesrA   r@   r9   s          rB   r   r   !  s}    "*"I"I*VY"ZZj!,,-&/<#)s?'""$<:('	.r   c                 \   t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d||       }|S t        j                  d| |      \  }}}}|dd }t        j                          r&d}	|j"                  }
t        j$                  d|
|	|       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||      S # t        j                  $ r Y w xY w)zComputes the static batch size of a dataset sans partial batches.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `int64`.
  ComputeBatchSizeNr   r   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   !compute_batch_size_eager_fallbackr)   r1   r2   r.   r3   r5   r6   r   r   r7   r8   r9   r:   r=   r>   r?   r@   rA   s              rB   compute_batch_sizer   .  s)    
			0h..0$#\\11 $7gn (88-dD!QXQK'""$F::LL&';('	.' && -
##At,,## 
.
d. .## 
0    B< <DC**DDD D+*D+zraw_ops.ComputeBatchSizec                     t        j                  | t        j                        } | g}d }t	        j
                  dd||||      }t	        j                         rt	        j                  d|||       |\  }|S )Ns   ComputeBatchSizerF   rG   r   r%   rJ   rK   rL   r.   r   r3   r6   r   r   r   rA   r@   r9   s         rB   r   r   W  sq    ((H-,&0!L#)s?'""$L&';('	.r   
dataset_idprocessing_modeaddressprotocoljob_namemax_outstanding_requestsiteration_countertask_refresh_interval_hint_msdata_transfer_protocoltarget_workerscross_trainer_cache_optionsc                 ~   t         j                   xs t        j                         }|j                  }|j                  r-	 t	        j
                  |d|| ||||||d|	d|d|d|
d|d|      }|S t        |t        t        f      st!        d
|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}|	d}	t#        j(                  |	d      }	|
d}
t#        j*                  |
d      }
|d}t#        j*                  |d      }|d}t#        j*                  |d      }t-        j.                  d| |||||||||	|
|||      \  }}}}|dd }t#        j0                         rd|j3                  d      d|j5                  d      d|j5                  d      d|j5                  d      d|j5                  d      d|j5                  d      f}|j6                  }t#        j8                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||||	|||
||||	      S # t        j                  $ r Y Ew xY wc c}w c c}w )a  Creates a dataset that reads data from the tf.data service.

  Args:
    dataset_id: A `Tensor` of type `int64`.
    processing_mode: A `Tensor` of type `string`.
    address: A `Tensor` of type `string`.
    protocol: A `Tensor` of type `string`.
    job_name: A `Tensor` of type `string`.
    max_outstanding_requests: A `Tensor` of type `int64`.
    iteration_counter: A `Tensor` of type `resource`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    task_refresh_interval_hint_ms: An optional `int`. Defaults to `-1`.
    data_transfer_protocol: An optional `string`. Defaults to `""`.
    target_workers: An optional `string`. Defaults to `"AUTO"`.
    cross_trainer_cache_options: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  DataServiceDatasetr   r   r   r   r   r   Nr   r   r   r   r   r   r   r   OExpected list for 'output_types' argument to 'data_service_dataset' Op, not %r.PExpected list for 'output_shapes' argument to 'data_service_dataset' Op, not %r. AUTO)r   r   r   r   r   r   r   r   r   r   r   r   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   #data_service_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   rn   make_strr1   r2   r3   ro   r4   r5   r6   )r   r   r   r   r   r   r   r   r   r   r   r   r   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                            rB   data_service_datasetr  d  s)   , 
			0h..0$#\\11"D*o8%=:%~|(@ 0.%'BDg n$ 
L4-	0
	-/;	<= = DPPR($$R8P,P	MD%=	1
	-/<	=> > GTT8&&r?;T-T"*$&!"*"3"34QSr"s##,,-CE]^N$$^5EF. ("$ ( 1 12MOl m'88.=&-'/7O0A+7,9<Y5K-;:U#')!QX QK'""$- ?@cll>:Oll?+-Ell346Fll+,.Kll89;F ::LlFG=('	.E && -
##At,,## 
0
ow(
"$5(E#=!7'&A  ## 
 Q
 Us<    +H6 J5J:6I=	I$$I=<I=J J21J2zraw_ops.DataServiceDatasetc                    t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|	d}	t	        j                  |	d      }	|
d}
t	        j                  |
d      }
|d	}t	        j                  |d
      }|d}t	        j                  |d      }t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }| ||||||g}d|	d|d|d|
d
|d|f}t	        j                  dd||||      }t	        j                          rt	        j"                  d|||       |\  }|S c c}w c c}w )Nr   r   r   r   r  r   r  r   r  r   r   s   DataServiceDatasetrF   rG   r   r*   r+   r,   r-   r.   r/   r0   rn   r  r%   rJ   rK   rM   r[   resourcer   r3   r6   )r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r;   r<   rA   r@   r9   s                       rB   r  r    sV   	L4-	0
	-/;	<= = DPPR($$R8P,P	MD%=	1
	-/<	=> > GTT8&&r?;T-T"*$&!"*"3"34QSr"s##,,-CE]^N$$^5EF. ("$ ( 1 12MOl m%%j'--@***?GNNK/""7GNN;'##Hgnn=(##Hgnn=(!334Lgmm\,,->@P@PQow(Ldfwx,+-J,24D/1LN& 2Al#)s?'""$lFG=('	.I Q
 Us   I0Iconsumer_indexnum_consumersc                    t         j                   xs t        j                         }|j                  }|j                  r/	 t	        j
                  |d|| ||||||||d|d|	d|
d|d|d|      }|S t        |	t        t        f      st!        d
|	z        |	D cg c]  }t#        j$                  |d       }	}t        |
t        t        f      st!        d|
z        |
D cg c]  }t#        j&                  |d       }
}|d}t#        j(                  |d      }|d}t#        j*                  |d      }|d}t#        j*                  |d      }|d}t#        j*                  |d      }t-        j.                  	 di d| d|d|d|d|d|d|d|d|d|	d|
d|d|d|d|d|\  }}}}|dd }t#        j0                         rd|j3                  d      d|j5                  d      d|j5                  d      d|j5                  d      d|j5                  d      d|j5                  d      f}|j6                  }t#        j8                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||||||||||	|
|||||	      S # t        j                  $ r Y gw xY wc c}w c c}w )a  Creates a dataset that reads data from the tf.data service.

  Args:
    dataset_id: A `Tensor` of type `int64`.
    processing_mode: A `Tensor` of type `string`.
    address: A `Tensor` of type `string`.
    protocol: A `Tensor` of type `string`.
    job_name: A `Tensor` of type `string`.
    consumer_index: A `Tensor` of type `int64`.
    num_consumers: A `Tensor` of type `int64`.
    max_outstanding_requests: A `Tensor` of type `int64`.
    iteration_counter: A `Tensor` of type `resource`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    task_refresh_interval_hint_ms: An optional `int`. Defaults to `-1`.
    data_transfer_protocol: An optional `string`. Defaults to `""`.
    target_workers: An optional `string`. Defaults to `"AUTO"`.
    cross_trainer_cache_options: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  DataServiceDatasetV2r   r   r   r   r   r   Nr   RExpected list for 'output_types' argument to 'data_service_dataset_v2' Op, not %r.SExpected list for 'output_shapes' argument to 'data_service_dataset_v2' Op, not %r.r  r  r  r   r   r   r   r   r
  r  r   r   r   )r  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   &data_service_dataset_v2_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   rn   r  r1   r2   r3   ro   r4   r5   r6   )r   r   r   r   r   r
  r  r   r   r   r   r   r   r   r   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                              rB   data_service_dataset_v2r    s   0 
			0h..0$#\\11$dJ8^] "3')Fo} "8:J5#%g n& 
L4-	0
	02>	?@ @ DPPR($$R8P,P	MD%=	1
	02?	@A A GTT8&&r?;T-T"*$&!"*"3"34QSr"s##,,-CE]^N$$^5EF. ("$ ( 1 12MOl m'88++5+0?+ )0+ ;C+ *2	+
 0>+ /<+ :R+ 3D+ .:+ /<+ ?\+ 8N+ 0>+ =X+ &*+!QX  QK'""$- ?@cll>:Oll?+-Ell346Fll+,.Kll89;F ::Lfg?('	.K && -
##At,,## 
3
ow(
-)A
(E#=!7'&A	 	 ## 
 Q
 Us<    -I KKJ+JJJ#J? ?KKzraw_ops.DataServiceDatasetV2c                 V   t        |	t        t        f      st        d|	z        |	D cg c]  }t	        j
                  |d       }	}t        |
t        t        f      st        d|
z        |
D cg c]  }t	        j                  |d       }
}|d}t	        j                  |d      }|d}t	        j                  |d      }|d	}t	        j                  |d
      }|d}t	        j                  |d      }t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }| ||||||||g	}d|d|	d|
d|d
|d|f}t	        j                  dd||||      }t	        j                          rt	        j"                  d|||       |\  }|S c c}w c c}w )Nr  r   r  r   r  r   r  r   r  r   r   s   DataServiceDatasetV2rF   rG   r  r  )r   r   r   r   r   r
  r  r   r   r   r   r   r   r   r   r   r   r;   r<   rA   r@   r9   s                         rB   r  r  j  s   	L4-	0
	02>	?@ @ DPPR($$R8P,P	MD%=	1
	02?	@A A GTT8&&r?;T-T"*$&!"*"3"34QSr"s##,,-CE]^N$$^5EF. ("$ ( 1 12MOl m%%j'--@***?GNNK/""7GNN;'##Hgnn=(##Hgnn=()).'--H.((F-!334Lgmm\,,->@P@PQow(N\i  lD  FW  X,+-J,24D/1LN& 4a#)s?'""$fg?('	.M Q
 Us   J!0J&F
uncompressc                 V   t         j                   xs t        j                         }|j                  }|j                  r3	 t	        j
                  |d|| ||||||||d|d|	d|
d|d|d|d|d	|      }|S t        |	t        t        f      st!        d|	z        |	D cg c]  }t#        j$                  |d       }	}t        |
t        t        f      st!        d|
z        |
D cg c]  }t#        j&                  |d       }
}|d}t#        j(                  |d      }|d}t#        j*                  |d      }|d}t#        j*                  |d      }|d}t#        j,                  |d      }|d}t#        j*                  |d	      }t/        j0                  	 di d| d|d|d|d|d|d|d|d|d|	d|
d|d|d|d|d|d	|d|\  }}}}|d
d
 }t#        j2                         rd|j5                  d      d|j7                  d      d|j7                  d      d|j7                  d      d|j7                  d      d|j9                  d      d|j7                  d      d	|j7                  d	      f}|j:                  }t#        j<                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d
}~nd
}~wt        j                  $ r Y nw xY w	 t        | ||||||||||	|
|||||||      S # t        j                  $ r Y w xY wc c}w c c}w )a|  Creates a dataset that reads data from the tf.data service.

  Args:
    dataset_id: A `Tensor` of type `int64`.
    processing_mode: A `Tensor` of type `string`.
    address: A `Tensor` of type `string`.
    protocol: A `Tensor` of type `string`.
    job_name: A `Tensor` of type `string`.
    consumer_index: A `Tensor` of type `int64`.
    num_consumers: A `Tensor` of type `int64`.
    max_outstanding_requests: A `Tensor` of type `int64`.
    iteration_counter: A `Tensor` of type `resource`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    uncompress_fn: A function decorated with @Defun.
    task_refresh_interval_hint_ms: An optional `int`. Defaults to `-1`.
    data_transfer_protocol: An optional `string`. Defaults to `""`.
    target_workers: An optional `string`. Defaults to `"AUTO"`.
    uncompress: An optional `bool`. Defaults to `False`.
    cross_trainer_cache_options: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  DataServiceDatasetV3r   r   r   r   r   r  uncompress_fnr   N
r   r   r   r   r   r  r  r   r   r   RExpected list for 'output_types' argument to 'data_service_dataset_v3' Op, not %r.SExpected list for 'output_shapes' argument to 'data_service_dataset_v3' Op, not %r.r  r  r  Fr   r   r   r   r   r
  r  r   r   r   )r  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   &data_service_dataset_v3_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   rn   r  	make_boolr1   r2   r3   ro   r4   _get_attr_boolr5   r6   r   r   r   r   r   r
  r  r   r   r   r   r  r   r   r   r  r   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                                rB   data_service_dataset_v3r       4 
			0h..0$#\\11$dJ8^] "3')Fo} "8:Jj/4#	%g n( 
L4-	0
	02>	?@ @ DPPR($$R8P,P	MD%=	1
	02?	@A A GTT8&&r?;T-T"*$&!"*"3"34QSr"s##,,-CE]^N$$^5EF.J!!*l;* ("$ ( 1 12MOl m'88++5+0?+ )0+ ;C+ *2	+
 0>+ /<+ :R+ 3D+ .:+ /<+ /<+ ?\+ 8N+ 0>+ ,6+  =X!+" &*#+!QX$ QK'""$- ?@cll>:Oll?+-Ell346Fll+,l  .ll?+-Jll89;F ::Lfg?('	.[ && -
##At,,## 
3
ow(
-)A
(E#=!7'J%&A
 
 ## 
 Q
 U<    1J L!!L&K%1KK%$K%)L LLzraw_ops.DataServiceDatasetV3c                    t        |	t        t        f      st        d|	z        |	D cg c]  }t	        j
                  |d       }	}t        |
t        t        f      st        d|
z        |
D cg c]  }t	        j                  |d       }
}|d}t	        j                  |d      }|d}t	        j                  |d      }|d	}t	        j                  |d
      }|d}t	        j                  |d      }|d}t	        j                  |d      }t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }| ||||||||g	}d|d|	d|
d|d
|d|d|d|f}t	        j                   dd||||      }t	        j"                         rt	        j$                  d|||       |\  }|S c c}w c c}w )Nr  r   r  r   r  r   r  r   r  r   Fr  r   r  s   DataServiceDatasetV3rF   rG   r  )r*   r+   r,   r-   r.   r/   r0   rn   r  r  r%   rJ   rK   rM   r[   r	  r   r3   r6   r   r   r   r   r   r
  r  r   r   r   r   r  r   r   r   r  r   r   r   r;   r<   rA   r@   r9   s                           rB   r  r    s   	L4-	0
	02>	?@ @ DPPR($$R8P,P	MD%=	1
	02?	@A A GTT8&&r?;T-T"*$&!"*"3"34QSr"s##,,-CE]^N$$^5EF.J!!*l;* ("$ ( 1 12MOl m%%j'--@***?GNNK/""7GNN;'##Hgnn=(##Hgnn=()).'--H.((F-!334Lgmm\,,->@P@PQow(N\i  lD  FW  X,+-J,24D,
O]!<	>&
 4a#)s?'""$fg?('	.U Q
 U   J?0Kc                 V   t         j                   xs t        j                         }|j                  }|j                  r3	 t	        j
                  |d|| ||||||||d|d|	d|
d|d|d|d|d	|      }|S t        |	t        t        f      st!        d|	z        |	D cg c]  }t#        j$                  |d       }	}t        |
t        t        f      st!        d|
z        |
D cg c]  }t#        j&                  |d       }
}|d}t#        j(                  |d      }|d}t#        j*                  |d      }|d}t#        j*                  |d      }|d}t#        j,                  |d      }|d}t#        j*                  |d	      }t/        j0                  	 di d| d|d|d|d|d|d|d|d|d|	d|
d|d|d|d|d|d	|d|\  }}}}|d
d
 }t#        j2                         rd|j5                  d      d|j7                  d      d|j7                  d      d|j7                  d      d|j7                  d      d|j9                  d      d|j7                  d      d	|j7                  d	      f}|j:                  }t#        j<                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d
}~nd
}~wt        j                  $ r Y nw xY w	 t        | ||||||||||	|
|||||||      S # t        j                  $ r Y w xY wc c}w c c}w )a}  Creates a dataset that reads data from the tf.data service.

  Args:
    dataset_id: A `Tensor` of type `string`.
    processing_mode: A `Tensor` of type `string`.
    address: A `Tensor` of type `string`.
    protocol: A `Tensor` of type `string`.
    job_name: A `Tensor` of type `string`.
    consumer_index: A `Tensor` of type `int64`.
    num_consumers: A `Tensor` of type `int64`.
    max_outstanding_requests: A `Tensor` of type `int64`.
    iteration_counter: A `Tensor` of type `resource`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    uncompress_fn: A function decorated with @Defun.
    task_refresh_interval_hint_ms: An optional `int`. Defaults to `-1`.
    data_transfer_protocol: An optional `string`. Defaults to `""`.
    target_workers: An optional `string`. Defaults to `"AUTO"`.
    uncompress: An optional `bool`. Defaults to `False`.
    cross_trainer_cache_options: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  DataServiceDatasetV4r   r   r   r   r   r  r  r   Nr  RExpected list for 'output_types' argument to 'data_service_dataset_v4' Op, not %r.SExpected list for 'output_shapes' argument to 'data_service_dataset_v4' Op, not %r.r  r  r  Fr   r   r   r   r   r
  r  r   r   r   )r%  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   &data_service_dataset_v4_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   rn   r  r  r1   r2   r3   ro   r4   r  r5   r6   r  s                                rB   data_service_dataset_v4r)  E  r  r   zraw_ops.DataServiceDatasetV4c                    t        |	t        t        f      st        d|	z        |	D cg c]  }t	        j
                  |d       }	}t        |
t        t        f      st        d|
z        |
D cg c]  }t	        j                  |d       }
}|d}t	        j                  |d      }|d}t	        j                  |d      }|d	}t	        j                  |d
      }|d}t	        j                  |d      }|d}t	        j                  |d      }t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }| ||||||||g	}d|d|	d|
d|d
|d|d|d|f}t	        j                   dd||||      }t	        j"                         rt	        j$                  d|||       |\  }|S c c}w c c}w )Nr&  r   r'  r   r  r   r  r   r  r   Fr  r   r  s   DataServiceDatasetV4rF   rG   r%  )r*   r+   r,   r-   r.   r/   r0   rn   r  r  r%   rJ   rK   r[   rM   r	  r   r3   r6   r"  s                           rB   r(  r(    s   	L4-	0
	02>	?@ @ DPPR($$R8P,P	MD%=	1
	02?	@A A GTT8&&r?;T-T"*$&!"*"3"34QSr"s##,,-CE]^N$$^5EF.J!!*l;* ("$ ( 1 12MOl m%%j'..A***?GNNK/""7GNN;'##Hgnn=(##Hgnn=()).'--H.((F-!334Lgmm\,,->@P@PQow(N\i  lD  FW  X,+-J,24D,
O]!<	>&
 4a#)s?'""$fg?('	.U Q
 Ur#  	graph_defc                 \   t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d||       }|S t        j                  d| |      \  }}}}|dd }t        j                          r&d}	|j"                  }
t        j$                  d|
|	|       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||      S # t        j                  $ r Y w xY w)a>  Creates a dataset from the given `graph_def`.

  Creates a dataset from the provided `graph_def`.

  Args:
    graph_def: A `Tensor` of type `string`.
      The graph representation of the dataset (as serialized GraphDef).
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  DatasetFromGraphNr   )r+  r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   !dataset_from_graph_eager_fallbackr)   r1   r2   r.   r3   r5   r6   )r+  r   r7   r8   r9   r:   r=   r>   r?   r@   rA   s              rB   dataset_from_graphr/    s(    
			0h..0$#\\11 $	3gn (88id<!QXQK'""$F::LL&';('	.' && -
##At,,## 
.
$D* *## 
r   zraw_ops.DatasetFromGraphc                     t        j                  | t        j                        } | g}d }t	        j
                  dd||||      }t	        j                         rt	        j                  d|||       |\  }|S )Ns   DatasetFromGraphrF   rG   r-  r%   rJ   rK   r[   r.   r   r3   r6   )r+  r   r   rA   r@   r9   s         rB   r.  r.    sq    $$Y?),&0!L#)s?'""$L&';('	.r   filenamec                    t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d|| ||      }|S t        j                  d| |||      \  }}}	}
|	S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||||      S # t        j                  $ r Y w xY w))  Writes the given dataset to the given file using the TFRecord format.

  Args:
    input_dataset: A `Tensor` of type `variant`.
      A variant tensor representing the dataset to write.
    filename: A `Tensor` of type `string`.
      A scalar string tensor representing the filename to use.
    compression_type: A `Tensor` of type `string`.
      A scalar string tensor containing either (i) the empty string (no
      compression), (ii) "ZLIB", or (iii) "GZIP".
    name: A name for the operation (optional).

  Returns:
    The created Operation.
  DatasetToTFRecordNr   r   r2  r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   #dataset_to_tf_record_eager_fallbackr)   r1   r2   r   r2  r   r   r7   r8   r9   r:   r=   r>   r?   s              rB   dataset_to_tf_recordr9  +  s      
			0h..0$#\\11!4g n (88=8.>TK!QX 
* && -
##At,,## 
0
#3$DJ J## 
0    A= =CB++CCC C.-C.zraw_ops.DatasetToTFRecordc                 &   t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }| ||g}d }t        j                  dd||||      }d }|S )Ns   DatasetToTFRecordr   rG   r%   rJ   rK   rL   r[   r.   r   r   r2  r   r   r   rA   r@   r9   s           rB   r7  r7  T  s    ((H-##Hgnn=(++,<gnnM+;<,&11\#)s?''	.r   
batch_size	row_shapec                    t         j                   xs t        j                         }|j                  }|j                  r!	 t	        j
                  |d|| ||d|d|
      }|S t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j$                  |
d       }}
t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}t)        j*                  d| |||||      \  }}}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }	t        j                  |	|       Y d}	~	nd}	~	wt        j                  $ r Y nw xY w	 t        | ||||||      S # t        j                  $ r Y w xY wc c}
w c c}w )	^  Creates a dataset that batches input elements into a SparseTensor.

  Args:
    input_dataset: A `Tensor` of type `variant`.
      A handle to an input dataset. Must have a single component.
    batch_size: A `Tensor` of type `int64`.
      A scalar representing the number of elements to accumulate in a
      batch.
    row_shape: A `Tensor` of type `int64`.
      A vector representing the dense shape of each row in the produced
      SparseTensor. The shape may be partially specified, using `-1` to indicate
      that a particular dimension should use the maximum size of all batch elements.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  DenseToSparseBatchDatasetr   r   Nr   XExpected list for 'output_types' argument to 'dense_to_sparse_batch_dataset' Op, not %r.YExpected list for 'output_shapes' argument to 'dense_to_sparse_batch_dataset' Op, not %r.r   r>  r?  r   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   ,dense_to_sparse_batch_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r   r>  r?  r   r   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                    rB   dense_to_sparse_batch_datasetrH  `  s   ( 
			0h..0$#\\	11)4
><g n 
L4-	0
	68D	EF F DPPR($$R8P,P	MD%=	1
	68E	FG G GTT8&&r?;T-T'88#=0:/82>3@tM!QX QK'""$cll>:Oll?+-F::L#\67D('	.G && -
##At,,## 
9
Y\%Dd< < ## 
 Q
 U<    E6 G-G26F=	F$$F=<F=G G*)G*z!raw_ops.DenseToSparseBatchDatasetc                    t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }| ||g}	d|d|f}
t	        j                  dd|	|
||      }t	        j                         rt	        j                  d|	|
|       |\  }|S c c}w c c}w )	NrC  r   rD  r   s   DenseToSparseBatchDatasetrF   rG   rB  rI   r   r>  r?  r   r   r   r   r;   r<   rA   r@   r9   s               rB   rF  rF    sY   	L4-	0
	68D	EF F DPPR($$R8P,P	MD%=	1
	68E	FG G GTT8&&r?;T-T((H-%%j'--@*$$Y>)Y7,L/=I&91$0C"&(' ""$#\67D('	.% Q
 U   E0Eselector_input_datasetdata_input_datasetsstop_on_empty_datasetc                    t         j                   xs t        j                         }|j                  }|j                  r"	 t	        j
                  |d|| |d|d|d|      }|S t        |t        t        f      st!        d|z        t#        |      }
t        |t        t        f      st!        d|z        |D cg c]  }t%        j&                  |d       }}t        |t        t        f      st!        d	|z        |D cg c]  }t%        j(                  |d       }}|d
}t%        j*                  |d      }t-        j.                  d| |||||      \  }}}}|dd }t%        j0                         rjd|j3                  d      d|j3                  d      d|j5                  d      d|j7                  d      f}|j8                  }t%        j:                  d|||       |\  }|S # t        j                  $ r }	t        j                  |	|       Y d}	~	nd}	~	wt        j                  $ r Y nw xY w	 t        | ||||||      S # t        j                  $ r Y w xY wc c}w c c}w )a+  A substitute for `InterleaveDataset` on a fixed list of `N` datasets.

  Args:
    selector_input_dataset: A `Tensor` of type `variant`.
      A dataset of scalar `DT_INT64` elements that determines which of the
      `N` data inputs should produce the next output element.
    data_input_datasets: A list of at least 1 `Tensor` objects with type `variant`.
      `N` datasets with the same type that will be interleaved according to
      the values of `selector_input_dataset`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    stop_on_empty_dataset: An optional `bool`. Defaults to `False`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  DirectedInterleaveDatasetr   r   rO  N)r   r   rO  r   r   ]Expected list for 'data_input_datasets' argument to 'directed_interleave_dataset' Op, not %r.VExpected list for 'output_types' argument to 'directed_interleave_dataset' Op, not %r.WExpected list for 'output_shapes' argument to 'directed_interleave_dataset' Op, not %r.F)rM  rN  r   r   rO  r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   *directed_interleave_dataset_eager_fallbackr)   r*   r+   r,   r-   r   r.   r/   r0   r  r1   r2   r3   r4   ro   r  r5   r6   )rM  rN  r   r   rO  r   r7   r8   r9   r:   r   r;   r<   r=   r>   r?   r@   rA   s                     rB   directed_interleave_datasetrV    s   $ 
			0h..0$#\\	11)41G^\?.0EGg n 
'$	7
	46I	JK K #$'	L4-	0
	46B	CD D DPPR($$R8P,P	MD%=	1
	46C	DE E GTT8&&r?;T-T"!",,-BD[\'88#<R9L2>3@;P*.0!QX QK'""$cll>:Oll?+S#2C2CC2H%  !89;F ::L#\67D('	._ && -
##At,,## 
7
 "5#= 5DdL L ## 
 Q
 Us<     G" 8I?I"H)5HH)(H)-H? ?IIz!raw_ops.DirectedInterleaveDatasetc                     t        |t        t        f      st        d|z        t	        |      }t        |t        t        f      st        d|z        |D cg c]  }t        j                  |d       }}t        |t        t        f      st        d|z        |D 	cg c]  }	t        j                  |	d       }}	|d}t        j                  |d      }t        j                  | t        j                        } t        j                  |t        j                        }| gt        |      z   }
d|d|d|d|f}t        j                  d	d
|
|||      }t        j                         rt        j                   d|
||       |\  }|S c c}w c c}	w )NrR  rS  r   rT  r   FrO  r   s   DirectedInterleaveDatasetrF   rG   rQ  )r*   r+   r,   r-   r   r.   r/   r0   r  r%   rJ   rK   rL   r   r   r3   r6   )rM  rN  r   r   rO  r   r   r   r;   r<   rA   r@   r9   s                rB   rU  rU    s   	'$	7
	46I	JK K #$'	L4-	0
	46B	CD D DPPR($$R8P,P	MD%=	1
	46C	DE E GTT8&&r?;T-T"!",,-BD[\112H'//Z001DgooV()D1D,EE,L/=#	"$9;&91$0C"&(' ""$#\67D('	.+ Q
 Us   FFdataset	directorymetadatac           
         t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d|| ||d|      }|S |d}t        j                  |d      }t        j                   d| ||||      \  }	}	}
}|
S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY w)a'  TODO: add doc.

  Args:
    dataset: A `Tensor` of type `variant`.
    directory: A `Tensor` of type `string`.
    address: A `Tensor` of type `string`.
    metadata: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    The created Operation.
  DistributedSaverZ  N)rZ  r   r   r  )rX  rY  r   rZ  r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   distributed_save_eager_fallbackr)   r.   r  r1   r2   )rX  rY  r   rZ  r   r7   r8   r9   r:   r=   r>   r?   s               rB   distributed_saver^  0  s!    
			0h..0$#\\11w	7Hg n Hx4('887i#*XDJ!QX 
*! && -
##At,,## 
,
9gtO O## 
s0    B C!-CC! C!%C6 6DDzraw_ops.DistributedSavec                 ^   |d}t        j                  |d      }t        j                  | t        j
                        } t        j                  |t        j                        }t        j                  |t        j                        }| ||g}d|f}t        j                  dd||||      }d }|S )Nr  rZ  s   DistributedSaver   rG   )r.   r  r%   rJ   rK   rL   r[   r   )	rX  rY  r   rZ  r   r   rA   r@   r9   s	            rB   r]  r]  Y  s    Hx4(""7GOO<'$$Y?)""7GNN;'9g.,!&/<#)s?''	.r   c                 V   t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d|       }|S t        j                  d|       \  }}}}|dd }t        j                          r&d}|j"                  }	t        j$                  d|	||       |\  }|S # t        j                  $ r }t        j                  ||        Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |      S # t        j                  $ r Y w xY w)zxTODO: add doc.

  Args:
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `resource`.
  DummyIterationCounterNr   )r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   &dummy_iteration_counter_eager_fallbackr)   r1   r2   r.   r3   r5   r6   )
r   r7   r8   r9   r:   r=   r>   r?   r@   rA   s
             rB   dummy_iteration_counterrc  h  s#    
			0h..0$#\\11%t-gn (88d,!QXQK'""$F::Lvw@('	.' && -
##At,,## 
3 ## 
s0    B: :DC((D DD D('D(zraw_ops.DummyIterationCounterc                     g }d }t        j                  dd||||       }t        j                         rt        j                  d|||       |\  }|S )Ns   DummyIterationCounterrF   rG   ra  )r.   r   r3   r6   )r   r   rA   r@   r9   s        rB   rb  rb    sZ    ,&5q#)s?'""$vw@('	.r   c                    t         j                   xs t        j                         }|j                  }|j                  r 	 t	        j
                  |d|| |d|d|	      }|S t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j$                  |	d       }}	t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j&                  |
d       }}
t)        j*                  d| ||||      \  }}}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}	w c c}
w )	a  TODO: add doc.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    transformations: A `Tensor` of type `string`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  ExperimentalAssertNextDatasetr   r   Nr   [Expected list for 'output_types' argument to 'experimental_assert_next_dataset' Op, not %r.\Expected list for 'output_shapes' argument to 'experimental_assert_next_dataset' Op, not %r.rT   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   /experimental_assert_next_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   rV   s                   rB    experimental_assert_next_datasetrj    s    
			0h..0$#\\	11-t]g n 
L4-	0
	9;G	HI I DPPR($$R8P,P	MD%=	1
	9;H	IJ J GTT8&&r?;T-T'88'}9H6B7D.24!QX QK'""$cll>:Oll?+-F::L'vwH('	.G && -
##At,,## 
<
|%Dd< < ## 
 Q
 UrD   z%raw_ops.ExperimentalAssertNextDatasetc                 p   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } t        j                  |t        j                        }| |g}d|d|f}	t	        j                  dd||	||      }
t	        j                         rt	        j                  d||	|
       |
\  }
|
S c c}w c c}w )	Nrg  r   rh  r   s   ExperimentalAssertNextDatasetrF   rG   rf  rZ   r\   s              rB   ri  ri    sA   	L4-	0
	9;G	HI I DPPR($$R8P,P	MD%=	1
	9;H	IJ J GTT8&&r?;T-T((H-**?GNNK/1,L/=I&=q$0C"&(' ""$'vwH('	.# Q
 UrN   c                 L   t         j                   xs t        j                         }|j                  }|j                  r#	 t	        j
                  |d|| ||d|d|d|      }	|	S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}|d	}t#        j(                  |d      }t+        j,                  d| ||||||
      \  }}}}|dd }	t#        j.                         rYd|j1                  d      d|j3                  d      d|j3                  d      f}|j4                  }t#        j6                  d|||	       |	\  }	|	S # t        j                  $ r }
t        j                  |
|       Y d}
~
nd}
~
wt        j                  $ r Y nw xY w	 t        | |||||||      S # t        j                  $ r Y w xY wc c}w c c}w )ah  Creates a dataset that shards the input dataset.

  Creates a dataset that shards the input dataset by num_workers, returning a
  sharded dataset for the index-th worker. This attempts to automatically shard
  a dataset by examining the Dataset graph and inserting a shard op before the
  inputs to a reader Dataset (e.g. CSVDataset, TFRecordDataset).

  This dataset will throw a NotFound error if we cannot shard the dataset
  automatically.

  Args:
    input_dataset: A `Tensor` of type `variant`.
      A variant tensor representing the input dataset.
    num_workers: A `Tensor` of type `int64`.
      A scalar representing the number of workers to distribute this dataset across.
    index: A `Tensor` of type `int64`.
      A scalar representing the index of the current worker out of num_workers.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    auto_shard_policy: An optional `int`. Defaults to `0`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  ExperimentalAutoShardDatasetrg   r   r   N)rg   r   r   r   r   ZExpected list for 'output_types' argument to 'experimental_auto_shard_dataset' Op, not %r.[Expected list for 'output_shapes' argument to 'experimental_auto_shard_dataset' Op, not %r.r   )r   re   rf   r   r   rg   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   .experimental_auto_shard_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   rn   r1   r2   r3   ro   r4   r5   r6   )r   re   rf   r   r   rg   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                     rB   experimental_auto_shard_datasetrq    s[   4 
			0h..0$#\\	11,dMU/1Bo}Fg n 
L4-	0
	8:F	GH H DPPR($$R8P,P	MD%=	1
	8:G	HI I GTT8&&r?;T-T''(9;NO'88&m4?u5A6C:K-13!QX QK'""$!3#4#45H#Icll>:Oll?+-F ::L&fgG('	.S && -
##At,,## 
;
e-L%Dd< < ## 
 Q
 Us<    !F$ 
HH!$G+7GG+*G+/H HHz$raw_ops.ExperimentalAutoShardDatasetc                    t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D 	cg c]  }	t	        j                  |	d       }}	|d}t	        j                  |d      }t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }| ||g}
d|d|d|f}t	        j                  dd|
|||	      }t	        j                         rt	        j                  d
|
||       |\  }|S c c}w c c}	w )Nrn  r   ro  r   r   rg   s   ExperimentalAutoShardDatasetrF   rG   rm  rs   )r   re   rf   r   r   rg   r   r   r;   r<   rA   r@   r9   s                rB   rp  rp  D	  s   	L4-	0
	8:F	GH H DPPR($$R8P,P	MD%=	1
	8:G	HI I GTT8&&r?;T-T''(9;NO((H-&&{GMMB+

 
 
6%e4,!2N0&<a$0C"&(' ""$&fgG('	.- Q
 Us   E/0E4c                    t         j                   xs t        j                         }|j                  }|j                  r 	 t	        j
                  |d|| |d|d|	      }|S t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j$                  |	d       }}	t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j&                  |
d       }}
t)        j*                  d| ||||      \  }}}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}	w c c}
w )	rw   %ExperimentalBytesProducedStatsDatasetr   r   Nr   dExpected list for 'output_types' argument to 'experimental_bytes_produced_stats_dataset' Op, not %r.eExpected list for 'output_shapes' argument to 'experimental_bytes_produced_stats_dataset' Op, not %r.r{   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   8experimental_bytes_produced_stats_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r}   s                   rB   )experimental_bytes_produced_stats_datasetrx  b	  s    
			0h..0$#\\115t]^\?MKg n 
L4-	0
	BDP	QR R DPPR($$R8P,P	MD%=	1
	BDQ	RS S GTT8&&r?;T-T'88/}58>J?L6:<!QX QK'""$cll>:Oll?+-F::L/vwP('	.G && -
##At,,## 
E
<%Dd< < ## 
 Q
 UrD   z-raw_ops.ExperimentalBytesProducedStatsDatasetc                 p   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } t        j                  |t        j                        }| |g}d|d|f}	t	        j                  dd||	||      }
t	        j                         rt	        j                  d||	|
       |
\  }
|
S c c}w c c}w )	Nru  r   rv  r   s%   ExperimentalBytesProducedStatsDatasetrF   rG   rt  rZ   r   s              rB   rw  rw  	  sC   	L4-	0
	BDP	QR R DPPR($$R8P,P	MD%=	1
	BDQ	RS S GTT8&&r?;T-T((H-sGNN3#%,L/=I&Eq$0C"&(' ""$/vwP('	.# Q
 UrN   c                 r   t         j                   xs t        j                         }|j                  }|j                  r%	 t	        j
                  |d|
| ||||||||d|	      }|S t        |	t        t        f      st!        d|	z        |	D cg c]  }t#        j$                  |d       }	}t'        j(                  d| |||||||||	|
      \  }}}}|dd }t#        j*                         rHd|j-                  d      d|j-                  d      f}|j.                  }t#        j0                  d|||       |\  }|S # t        j                  $ r }t        j                  ||
       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||||||	|
|      S # t        j                  $ r Y Lw xY wc c}w )r   ExperimentalCSVDatasetr   Nr   TExpected list for 'output_shapes' argument to 'experimental_csv_dataset' Op, not %r.r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   'experimental_csv_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r0   r1   r2   r3   r4   r5   r6   r   s                        rB   experimental_csv_datasetr~  	  s   & 
			0h..0$#\\	11&i9IV[/8_o}Fg n 
MD%=	1
	13@	AB B GTT8&&r?;T-T'88 I3C.9&.92A+32A0=DJ!QX QK'""$cll>:Oll?+-F::L ,A('	.E && -
##At,,## 
4
%{FK
8[/%Dd< < ## 
 Ur   zraw_ops.ExperimentalCSVDatasetc                    t        |	t        t        f      st        d|	z        |	D cg c]  }t	        j
                  |d       }	}t	        j                  ||      \  }}t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }| |||||||gt        |      z   }d|d|	f}t	        j                  dd||||
      }t	        j                         rt	        j                  d|||       |\  }|S c c}w )Nr|  r   r   s   ExperimentalCSVDatasetrF   rG   r{  r   r   s                    rB   r}  r}  	  s   	MD%=	1
	13@	AB B GTT8&&r?;T-T(0(O(OP_ad(e%o$$Y?)++,<gnnM&&{GMMB+!!&',,7&&&{GNNC+**?GLLI/##Hgnn=(&&{GMMB+-{FKQ`bjlwx{  AP  |Q  Q,.&6$0C"&(' ""$ ,A('	.) Ur   c                    t         j                   xs t        j                         }|j                  }|j                  r!	 t	        j
                  |d|| d|d|d|
      }|S t        | t        t        f      st!        d| z        t#        |       }	t%        j&                  |d      }t        |t        t        f      st!        d|z        |D 
cg c]  }
t%        j(                  |
d       }}
t        |t        t        f      st!        d	|z        |D cg c]  }t%        j*                  |d       }}t-        j.                  d| ||||
      \  }}}}|dd }t%        j0                         rjd|j3                  d      d|j3                  d      d|j5                  d      d|j5                  d      f}|j6                  }t%        j8                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}
w c c}w )r    ExperimentalChooseFastestDatasetr   r   r   Nr   `Expected list for 'input_datasets' argument to 'experimental_choose_fastest_dataset' Op, not %r.^Expected list for 'output_types' argument to 'experimental_choose_fastest_dataset' Op, not %r._Expected list for 'output_shapes' argument to 'experimental_choose_fastest_dataset' Op, not %r.r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   2experimental_choose_fastest_dataset_eager_fallbackr)   r*   r+   r,   r-   r   r.   rn   r/   r0   r1   r2   r3   ro   r4   r5   r6   r   s                    rB   #experimental_choose_fastest_datasetr  
  s    
			0h..0$#\\	110$?NL(g n 
NT5M	2
	<>L	MN N '%%o7HI/	L4-	0
	<>J	KL L DPPR($$R8P,P	MD%=	1
	<>K	LM M GTT8&&r?;T-T'88*><K9E:G157!QX QK'""$3$$S)+< 12Nll>*Oll?+-F ::L*L&'K('	.Y && -
##At,,## 
?
/#=t  ## 
 Q
 Ur   z(raw_ops.ExperimentalChooseFastestDatasetc                    t        | t        t        f      st        d| z        t	        |       }t        j                  |d      }t        |t        t        f      st        d|z        |D cg c]  }t        j                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t        j                  |d       }}t        j                  | t        j                        } t        |       }	d|d|d|d|f}
t        j                  dd	|	|
||
      }t        j                         rt        j                  d|	|
|       |\  }|S c c}w c c}w )Nr  r   r  r   r  r   r   s    ExperimentalChooseFastestDatasetrF   rG   r  r   r   s               rB   r  r  ^
  s   	NT5M	2
	<>L	MN N '%%o7HI/	L4-	0
	<>J	KL L DPPR($$R8P,P	MD%=	1
	<>K	LM M GTT8&&r?;T-T++NGOOL.n%,+_n0&@!$0C"&(' ""$*L&'K('	.# Q
 Ur   c                 \   t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d||       }|S t        j                  d| |      \  }}}}|dd }t        j                          r&d}	|j"                  }
t        j$                  d|
|	|       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||      S # t        j                  $ r Y w xY w)a=  Returns the cardinality of `input_dataset`.

  Returns the cardinality of `input_dataset`.

  Args:
    input_dataset: A `Tensor` of type `variant`.
      A variant tensor representing the dataset to return cardinality for.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `int64`.
  ExperimentalDatasetCardinalityNr   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   /experimental_dataset_cardinality_eager_fallbackr)   r1   r2   r.   r3   r5   r6   r   s              rB    experimental_dataset_cardinalityr  }
  s-    
			0h..0$#\\11.mEgn (88(/35!QX QK'""$F::L(,I('	.) && -
##At,,## 
<
d. .## 
r   z&raw_ops.ExperimentalDatasetCardinalityc                     t        j                  | t        j                        } | g}d }t	        j
                  dd||||      }t	        j                         rt	        j                  d|||       |\  }|S )Ns   ExperimentalDatasetCardinalityrF   rG   r  r   r   s         rB   r  r  
  su    ((H-,&>$0C"&(' ""$(,I('	.r   c                    t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d|| ||      }|S t        j                  d| |||      \  }}}	}
|	S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||||      S # t        j                  $ r Y w xY w)r4  ExperimentalDatasetToTFRecordNr   r6  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   0experimental_dataset_to_tf_record_eager_fallbackr)   r1   r2   r8  s              rB   !experimental_dataset_to_tf_recordr  
  s      
			0h..0$#\\11-t]Hg n (88'}2::J.2	4!QX
 
* && -
##At,,## 
=
#3$DJ J## 
r:  z%raw_ops.ExperimentalDatasetToTFRecordc                 &   t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }| ||g}d }t        j                  dd||||      }d }|S )Ns   ExperimentalDatasetToTFRecordr   rG   r<  r=  s           rB   r  r  
  s    ((H-##Hgnn=(++,<gnnM+;<,&=q$0C"&(' '	.r   c                    t         j                   xs t        j                         }|j                  }|j                  r!	 t	        j
                  |d|| ||d|d|
      }|S t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j$                  |
d       }}
t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}t)        j*                  d| |||||      \  }}}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }	t        j                  |	|       Y d}	~	nd}	~	wt        j                  $ r Y nw xY w	 t        | ||||||      S # t        j                  $ r Y w xY wc c}
w c c}w )	rA  %ExperimentalDenseToSparseBatchDatasetr   r   Nr   eExpected list for 'output_types' argument to 'experimental_dense_to_sparse_batch_dataset' Op, not %r.fExpected list for 'output_shapes' argument to 'experimental_dense_to_sparse_batch_dataset' Op, not %r.rE  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   9experimental_dense_to_sparse_batch_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   rG  s                    rB   *experimental_dense_to_sparse_batch_datasetr  
  s   ( 
			0h..0$#\\	115t]I~|_g n 
L4-	0
	CEQ	RS S DPPR($$R8P,P	MD%=	1
	CER	ST T GTT8&&r?;T-T'88/}<F;D>J?L6:<!QX QK'""$cll>:Oll?+-F::L/vwP('	.I && -
##At,,## 
F
Y\%Dd< < ## 
 Q
 UrI  z-raw_ops.ExperimentalDenseToSparseBatchDatasetc                    t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }| ||g}	d|d|f}
t	        j                  dd|	|
||      }t	        j                         rt	        j                  d|	|
|       |\  }|S c c}w c c}w )	Nr  r   r  r   s%   ExperimentalDenseToSparseBatchDatasetrF   rG   r  rI   rK  s               rB   r  r  6  s[   	L4-	0
	CEQ	RS S DPPR($$R8P,P	MD%=	1
	CER	ST T GTT8&&r?;T-T((H-%%j'--@*$$Y>)Y7,L/=I&Eq$0C"&(' ""$/vwP('	.% Q
 UrL  c                 h   t         j                   xs t        j                         }|j                  }|j                  r 	 t	        j
                  |d|| |d|d|	      }|S t        |t        t        f      st!        d|z        t#        |      }	t        |t        t        f      st!        d|z        |D 
cg c]  }
t%        j&                  |
d       }}
t        |t        t        f      st!        d|z        |D cg c]  }t%        j(                  |d       }}t+        j,                  d| ||||	      \  }}}}|dd }t%        j.                         rYd|j1                  d      d|j1                  d      d
|j3                  d
      f}|j4                  }t%        j6                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}
w c c}w )a  A substitute for `InterleaveDataset` on a fixed list of `N` datasets.

  Args:
    selector_input_dataset: A `Tensor` of type `variant`.
      A dataset of scalar `DT_INT64` elements that determines which of the
      `N` data inputs should produce the next output element.
    data_input_datasets: A list of at least 1 `Tensor` objects with type `variant`.
      `N` datasets with the same type that will be interleaved according to
      the values of `selector_input_dataset`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  %ExperimentalDirectedInterleaveDatasetr   r   Nr   jExpected list for 'data_input_datasets' argument to 'experimental_directed_interleave_dataset' Op, not %r.cExpected list for 'output_types' argument to 'experimental_directed_interleave_dataset' Op, not %r.dExpected list for 'output_shapes' argument to 'experimental_directed_interleave_dataset' Op, not %r.)rM  rN  r   r   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   7experimental_directed_interleave_dataset_eager_fallbackr)   r*   r+   r,   r-   r   r.   r/   r0   r1   r2   r3   r4   ro   r5   r6   )rM  rN  r   r   r   r7   r8   r9   r:   r   r;   r<   r=   r>   r?   r@   rA   s                    rB   (experimental_directed_interleave_datasetr  P  sd   " 
			0h..0$#\\	115t 3^o}6g n 
'$	7
	ACV	WX X #$'	L4-	0
	ACO	PQ Q DPPR($$R8P,P	MD%=	1
	ACP	QR R GTT8&&r?;T-T'88/H^EX>J?L6:<!QX QK'""$cll>:Oll?+S#2C2CC2HJF::L/vwP('	.S && -
##At,,## 
D
 "5#=t  ## 
 Q
 Us<    F4 6H*=H/4G;G""G;:G;?H H'&H'z-raw_ops.ExperimentalDirectedInterleaveDatasetc                    t        |t        t        f      st        d|z        t	        |      }t        |t        t        f      st        d|z        |D cg c]  }t        j                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t        j                  |d       }}t        j                  | t        j                        } t        j                  |t        j                        }| gt        |      z   }	d|d|d|f}
t        j                  dd|	|
||	      }t        j                         rt        j                  d
|	|
|       |\  }|S c c}w c c}w )Nr  r  r   r  r   r   s%   ExperimentalDirectedInterleaveDatasetrF   rG   r  )r*   r+   r,   r-   r   r.   r/   r0   r%   rJ   rK   rL   r   r   r3   r6   )rM  rN  r   r   r   r   r   r;   r<   rA   r@   r9   s               rB   r  r    s   	'$	7
	ACV	WX X #$'	L4-	0
	ACO	PQ Q DPPR($$R8P,P	MD%=	1
	ACP	QR R GTT8&&r?;T-T112H'//Z001DgooV()D1D,EE,L/=#	&Eq$0C"&(' ""$/vwP('	.% Q
 Us   E*E/c                 *   t         j                   xs t        j                         }|j                  }|j                  r+	 t	        j
                  |d|| ||||d|d|d|d|d|	d|
      }|S t        |	t        t        f      st!        d
|	z        |	D cg c]  }t#        j$                  |d       }	}t        |
t        t        f      st!        d|
z        |
D cg c]  }t#        j&                  |d       }
}t)        j*                  d| |||||||||	|
|      \  }}}}|dd }t#        j,                         rd|j/                  d      d|j/                  d      d|j/                  d      d|j/                  d      d|j/                  d      d|j/                  d      d|j/                  d      d|j/                  d      d|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||||||	|
||	      S # t        j                  $ r Y w xY wc c}w c c}w )e  Creates a dataset that computes a group-by on `input_dataset`.

  Creates a dataset that computes a group-by on `input_dataset`.

  Args:
    input_dataset: A `Tensor` of type `variant`.
      A variant tensor representing the input dataset.
    key_func_other_arguments: A list of `Tensor` objects.
      A list of tensors, typically values that were captured when
      building a closure for `key_func`.
    init_func_other_arguments: A list of `Tensor` objects.
      A list of tensors, typically values that were captured when
      building a closure for `init_func`.
    reduce_func_other_arguments: A list of `Tensor` objects.
      A list of tensors, typically values that were captured when
      building a closure for `reduce_func`.
    finalize_func_other_arguments: A list of `Tensor` objects.
      A list of tensors, typically values that were captured when
      building a closure for `finalize_func`.
    key_func: A function decorated with @Defun.
      A function mapping an element of `input_dataset`, concatenated
      with `key_func_other_arguments` to a scalar value of type DT_INT64.
    init_func: A function decorated with @Defun.
      A function mapping a key of type DT_INT64, concatenated with
      `init_func_other_arguments` to the initial reducer state.
    reduce_func: A function decorated with @Defun.
      A function mapping the current reducer state and an element of `input_dataset`,
      concatenated with `reduce_func_other_arguments` to a new reducer state.
    finalize_func: A function decorated with @Defun.
      A function mapping the final reducer state to an output element.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  !ExperimentalGroupByReducerDatasetkey_func	init_funcreduce_funcfinalize_funcr   r   Nr  r  r  r  r   r   r   r   `Expected list for 'output_types' argument to 'experimental_group_by_reducer_dataset' Op, not %r.aExpected list for 'output_shapes' argument to 'experimental_group_by_reducer_dataset' Op, not %r.r   key_func_other_argumentsinit_func_other_argumentsreduce_func_other_argumentsfinalize_func_other_argumentsr  r  r  r  r   r   r   Tkey_func_other_argumentsTinit_func_other_argumentsTreduce_func_other_argumentsTfinalize_func_other_arguments)r   r   r    r!   r   r"   r#   r$   r%   r&   r'   4experimental_group_by_reducer_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r   r  r  r  r  r  r  r  r  r   r   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                          rB   %experimental_group_by_reducer_datasetr    s   L 
			0h..0$#\\1114 ";#%BHk9m_m^o}6g n 
L4-	0
	>@L	MN N DPPR($$R8P,P	MD%=	1
	>@M	NO O GTT8&&r?;T-T'88+=F^G`IdKh6>7@9D;H:F;H268!QX QK'""$#,,z2Kll;'ll=)?ll?+-Hll67*ll78,ll9:.ll;<nll>*Oll?+-F ::L+\67L('	.q && -
##At,,## 
A
13L
%'Dyk%L%Dd< < ## 
 Q
 U<    )H JJI!H<<III1 1JJz)raw_ops.ExperimentalGroupByReducerDatasetc                 n   t        |	t        t        f      st        d|	z        |	D cg c]  }t	        j
                  |d       }	}t        |
t        t        f      st        d|
z        |
D cg c]  }t	        j                  |d       }
}t	        j                  ||      \  }}t	        j                  ||      \  }}t	        j                  ||      \  }}t	        j                  ||      \  }}t        j                  | t        j                        } | gt        |      z   t        |      z   t        |      z   t        |      z   }d|d|d|d|d	|d
|d|d|d|	d|
f}t	        j                  dd||||      }t	        j                         rt	        j                  d|||       |\  }|S c c}w c c}w )Nr  r   r  r   r  r  r  r  r  r  r  r  s!   ExperimentalGroupByReducerDatasetrF   rG   r  r*   r+   r,   r-   r.   r/   r0   r   r%   rJ   rK   rL   r   r3   r6   r   r  r  r  r  r  r  r  r  r   r   r   r   r;   r<   _attr_Tkey_func_other_arguments _attr_Tinit_func_other_arguments"_attr_Treduce_func_other_arguments$_attr_Tfinalize_func_other_argumentsrA   r@   r9   s                         rB   r  r  &  s5   	L4-	0
	>@L	MN N DPPR($$R8P,P	MD%=	1
	>@M	NO O GTT8&&r?;T-T>F>e>ef~  AD  ?E;!#;@H@g@g  iB  DG  AH="$=DLDkDk  mH  JM  ENA$&AHPHoHo  qN  PS  ITE&(E((H-4(@#AADIbDccfj  lG  gH  H  KO  Pm  Kn  n,+y-/J!#?"$B$&F&="& A1$0C"&(' ""$+\67L('	.5 Q
 U   F-0F2c
                    t         j                   xs t        j                         }
|
j                  }|j                  r(	 t	        j
                  |
d|	| |||d|d|d|d|d|      }|S t        |t        t        f      st!        d	|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d
|z        |D cg c]  }t#        j&                  |d       }}t)        j*                  d| |||||||||	      \  }}}}|dd }t#        j,                         rd|j/                  d      d|j/                  d      d|j/                  d      d|j/                  d      d|j/                  d      d|j/                  d      d|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||	       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||||||	|
      S # t        j                  $ r Y w xY wc c}w c c}w )a  Creates a dataset that computes a windowed group-by on `input_dataset`.

  // TODO(mrry): Support non-int64 keys.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    key_func_other_arguments: A list of `Tensor` objects.
    reduce_func_other_arguments: A list of `Tensor` objects.
    window_size_func_other_arguments: A list of `Tensor` objects.
    key_func: A function decorated with @Defun.
      A function mapping an element of `input_dataset`, concatenated
      with `key_func_other_arguments` to a scalar value of type DT_INT64.
    reduce_func: A function decorated with @Defun.
    window_size_func: A function decorated with @Defun.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
   ExperimentalGroupByWindowDatasetr  r  window_size_funcr   r   N)r  r  r  r   r   r   r   _Expected list for 'output_types' argument to 'experimental_group_by_window_dataset' Op, not %r.`Expected list for 'output_shapes' argument to 'experimental_group_by_window_dataset' Op, not %r.)
r   r  r   window_size_func_other_argumentsr  r  r  r   r   r   r  r  !Twindow_size_func_other_arguments)r   r   r    r!   r   r"   r#   r$   r%   r&   r'   3experimental_group_by_window_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   )r   r  r  r  r  r  r  r   r   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                        rB   $experimental_group_by_window_datasetr  H  s   , 
			0h..0$#\\110$ "=(*h')9>o}6g n 
L4-	0
	=?K	LM M DPPR($$R8P,P	MD%=	1
	=?L	MN N GTT8&&r?;T-T'88*-E]HcMm5=8C=M9E:G15
7!QX QK'""$#,,z2Mll=)+=ll-.0Kll67,ll9:1ll>?cll>:Oll?+	-F ::L*L&'K('	.g && -
##At,,## 
@
1
%'G+,%Dd< < ## 
 Q
 Us<    &G' I"I''H.:HH.-H.2I IIz(raw_ops.ExperimentalGroupByWindowDatasetc                    t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t	        j                  ||
      \  }}t	        j                  ||
      \  }}t	        j                  ||
      \  }}t        j                  | t        j                        } | gt        |      z   t        |      z   t        |      z   }d|d|d|d|d	|d
|d|d|f}t	        j                  dd|||
|	      }t	        j                         rt	        j                  d|||       |\  }|S c c}w c c}w )Nr  r   r  r   r  r  r  r  r  r  s    ExperimentalGroupByWindowDatasetrF   rG   r  r  )r   r  r  r  r  r  r  r   r   r   r   r;   r<   r  r  '_attr_Twindow_size_func_other_argumentsrA   r@   r9   s                      rB   r  r    s   	L4-	0
	=?K	LM M DPPR($$R8P,P	MD%=	1
	=?L	MN N GTT8&&r?;T-T>F>e>ef~  AD  ?E;!#;DLDkDk  mH  JM  ENA$&ANVNuNu  wW  Y\  O]K)+K((H-4(@#AADIdDeehl  nN  iO  O,-&(C!#A$&I)><="& @!$0C"&(' ""$*L&'K('	.1 Q
 Us   F0F	log_warningc                 @   t         j                   xs t        j                         }|j                  }|j                  r!	 t	        j
                  |d|| d|d|d|
      }|S t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j$                  |	d       }}	t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j&                  |
d       }}
|d	}t#        j(                  |d      }t+        j,                  d| ||||
      \  }}}}|dd }t#        j.                         rYd|j1                  d      d|j1                  d      d|j3                  d      f}|j4                  }t#        j6                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}	w c c}
w )  Creates a dataset that contains the elements of `input_dataset` ignoring errors.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    log_warning: An optional `bool`. Defaults to `False`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  ExperimentalIgnoreErrorsDatasetr   r   r  Nr   r   r  r   r   ]Expected list for 'output_types' argument to 'experimental_ignore_errors_dataset' Op, not %r.^Expected list for 'output_shapes' argument to 'experimental_ignore_errors_dataset' Op, not %r.Fr   r   r   r  r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   1experimental_ignore_errors_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  r1   r2   r3   r4   r  r5   r6   r   r   r   r  r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                   rB   "experimental_ignore_errors_datasetr    sF    
			0h..0$#\\	11/}o}{$g n 
L4-	0
	;=I	JK K DPPR($$R8P,P	MD%=	1
	;=J	KL L GTT8&&r?;T-TK"";>+'88)8D9F7B	O!QX
 QK'""$cll>:Oll?+]  /1F ::L)<J('	.O && -
##At,,## 
>
l%;T  ## 
 Q
 U<    F  HH G'3GG'&G'+G< <HHz'raw_ops.ExperimentalIgnoreErrorsDatasetc                 ^   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|d}t	        j                  |d      }t        j                  | t        j                        } | g}d|d|d|f}	t	        j                  dd||	||	      }
t	        j                         rt	        j                  d
||	|
       |
\  }
|
S c c}w c c}w )Nr  r   r  r   Fr  s   ExperimentalIgnoreErrorsDatasetrF   rG   r  r*   r+   r,   r-   r.   r/   r0   r  r%   rJ   rK   rL   r   r3   r6   r   r   r   r  r   r   r;   r<   rA   r@   r9   s              rB   r  r    sL   	L4-	0
	;=I	JK K DPPR($$R8P,P	MD%=	1
	;=J	KL L GTT8&&r?;T-TK"";>+((H-,L/=&?$0C"&(' ""$)<J('	.) Q
 U   D%0D*r	  c                 \   t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d||       }|S t        j                  d| |      \  }}}}|dd }t        j                          r&d}	|j"                  }
t        j$                  d|
|	|       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||      S # t        j                  $ r Y w xY w)Returns the name of the device on which `resource` has been placed.

  Args:
    resource: A `Tensor` of type `resource`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `string`.
  ExperimentalIteratorGetDeviceNr   r	  r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   /experimental_iterator_get_device_eager_fallbackr)   r1   r2   r.   r3   r5   r6   r	  r   r7   r8   r9   r:   r=   r>   r?   r@   rA   s              rB    experimental_iterator_get_devicer    s*    
			0h..0$#\\11-tX?gn (88'(G!QXQK'""$F::L'vwH('	.' && -
##At,,## 
<
4) )## 
r   z%raw_ops.ExperimentalIteratorGetDevicec                     t        j                  | t        j                        } | g}d }t	        j
                  dd||||      }t	        j                         rt	        j                  d|||       |\  }|S )Ns   ExperimentalIteratorGetDevicerF   rG   r  r%   rJ   rK   r	  r.   r   r3   r6   r	  r   r   rA   r@   r9   s         rB   r  r  H  sw    ##Hg.>.>?(,&=q$0C"&(' ""$'vwH('	.r   c           
         t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d|| d|d|      }|S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j&                  |	d       }}	t)        j*                  d| |||      \  }
}
}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||||      S # t        j                  $ r Y w xY wc c}w c c}	w )	aK  TODO: add doc.

  Args:
    filenames: A `Tensor` of type `string`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  ExperimentalLMDBDatasetr   r   Nr   TExpected list for 'output_types' argument to 'experimental_lmdb_dataset' Op, not %r.UExpected list for 'output_shapes' argument to 'experimental_lmdb_dataset' Op, not %r.r   r   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   (experimental_lmdb_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r   r   r   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                  rB   experimental_lmdb_datasetr  V  s    
			0h..0$#\\11'y.o}6g n 
L4-	0
	24@	AB B DPPR($$R8P,P	MD%=	1
	24A	BC C GTT8&&r?;T-T'88!Y0<1>TK!QX QK'""$cll>:Oll?+-F::L!<B('	.C && -
##At,,## 
5
,m  ## 
 Q
 U<    E2 G'G,2F9F  F98F9=G G$#G$zraw_ops.ExperimentalLMDBDatasetc                 &   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } | g}d|d|f}t	        j                  dd||||      }	t	        j                         rt	        j                  d|||	       |	\  }	|	S c c}w c c}w )	Nr  r   r  r   s   ExperimentalLMDBDatasetrF   rG   r  r*   r+   r,   r-   r.   r/   r0   r%   rJ   rK   r[   r   r3   r6   
r   r   r   r   r   r;   r<   rA   r@   r9   s
             rB   r  r    s(   	L4-	0
	24@	AB B DPPR($$R8P,P	MD%=	1
	24A	BC C GTT8&&r?;T-T$$Y?),L/=I&7$0C"&(' ""$!<B('	.! Q
 U   D	0Dc                    t         j                   xs t        j                         }|j                  }|j                  r 	 t	        j
                  |d|| |d|d|	      }|S t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j$                  |	d       }}	t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j&                  |
d       }}
t)        j*                  d| ||||      \  }}}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}	w c c}
w )	  Records the latency of producing `input_dataset` elements in a StatsAggregator.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    tag: A `Tensor` of type `string`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  ExperimentalLatencyStatsDatasetr   r   Nr   ]Expected list for 'output_types' argument to 'experimental_latency_stats_dataset' Op, not %r.^Expected list for 'output_shapes' argument to 'experimental_latency_stats_dataset' Op, not %r.r{   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   1experimental_latency_stats_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r}   s                   rB   "experimental_latency_stats_datasetr    s    
			0h..0$#\\11/}co}Fg n 
L4-	0
	;=I	JK K DPPR($$R8P,P	MD%=	1
	;=J	KL L GTT8&&r?;T-T'88)/29F04	6!QX
 QK'""$cll>:Oll?+-F::L)<J('	.E && -
##At,,## 
>
<%Dd< < ## 
 Q
 UrD   z'raw_ops.ExperimentalLatencyStatsDatasetc                 p   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } t        j                  |t        j                        }| |g}d|d|f}	t	        j                  dd||	||      }
t	        j                         rt	        j                  d||	|
       |
\  }
|
S c c}w c c}w )	Nr  r   r  r   s   ExperimentalLatencyStatsDatasetrF   rG   r  rZ   r   s              rB   r  r    sA   	L4-	0
	;=I	JK K DPPR($$R8P,P	MD%=	1
	;=J	KL L GTT8&&r?;T-T((H-sGNN3#%,L/=I&?$0C"&(' ""$)<J('	.# Q
 UrN   num_parallel_callsdrop_remainderpreserve_cardinalityc
                    t         j                   xs t        j                         }
|
j                  }|j                  r'	 t	        j
                  |
d|	| ||||d|d|d|d|      }|S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d	|z        |D cg c]  }t#        j&                  |d       }}|d
}t#        j(                  |d      }t+        j,                  d| |||||||||	      \  }}}}|dd }t#        j.                         r{d|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      d|j3                  d      f
}|j4                  }t#        j6                  d|||       |\  }|S # t        j                  $ r }t        j                  ||	       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||||||	|
      S # t        j                  $ r Y w xY wc c}w c c}w )a  Creates a dataset that fuses mapping with batching.

  Creates a dataset that applies `f` to the outputs of `input_dataset` and then
  batches `batch_size` of them.

  Unlike a "MapDataset", which applies `f` sequentially, this dataset invokes up
  to `batch_size * num_parallel_batches` copies of `f` in parallel.

  Args:
    input_dataset: A `Tensor` of type `variant`.
      A variant tensor representing the input dataset.
    other_arguments: A list of `Tensor` objects.
      A list of tensors, typically values that were captured when building a closure
      for `f`.
    batch_size: A `Tensor` of type `int64`.
      A scalar representing the number of elements to accumulate in a
      batch. It determines the number of concurrent invocations of `f` that process
      elements from `input_dataset` in parallel.
    num_parallel_calls: A `Tensor` of type `int64`.
      A scalar representing the maximum number of parallel invocations of the `map_fn`
      function. Applying the `map_fn` on consecutive input elements in parallel has
      the potential to improve input pipeline throughput.
    drop_remainder: A `Tensor` of type `bool`.
      A scalar representing whether the last batch should be dropped in case its size
      is smaller than desired.
    f: A function decorated with @Defun.
      A function to apply to the outputs of `input_dataset`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    preserve_cardinality: An optional `bool`. Defaults to `False`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  ExperimentalMapAndBatchDatasetfr   r   r  Nr  r   r   r  r   r   ]Expected list for 'output_types' argument to 'experimental_map_and_batch_dataset' Op, not %r.^Expected list for 'output_shapes' argument to 'experimental_map_and_batch_dataset' Op, not %r.F)
r   r   r>  r  r  r  r   r   r  r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   1experimental_map_and_batch_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  r1   r2   r3   r4   r  r5   r6   )r   r   r>  r  r  r  r   r   r  r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                        rB   "experimental_map_and_batch_datasetr    s   H 
			0h..0$#\\
11.m%7	><- 4	6g
 n 
L4-	0
	;=I	JK K DPPR($$R8P,P	MD%=	1
	;=J	KL L GTT8&&r?;T-T! !++,@BXY'88(:I5?=O9G17C8E?S/3	5!QX QK'""$3<<$lll<(.ll>*Oll?+-C  !78	:F
 ::L(,I('	._ && -
##At,,## 
>
*6H
AL%3$D	J J
 ## 
 Q
 Us<    %G IIH G;;HHH. .IIz&raw_ops.ExperimentalMapAndBatchDatasetc           
         t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|d}t	        j                  |d      }t	        j                  ||
      \  }}t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }| gt        |      z   |||gz   }d|d|d|d|d|f
}t	        j                  d	d
|||
|	      }t	        j                          rt	        j"                  d|||       |\  }|S c c}w c c}w )Nr  r   r  r   Fr  r  r   s   ExperimentalMapAndBatchDatasetrF   rG   r  )r*   r+   r,   r-   r.   r/   r0   r  r   r%   rJ   rK   rL   rM   r   r   r3   r6   )r   r   r>  r  r  r  r   r   r  r   r   r;   r<   r   rA   r@   r9   s                    rB   r  r  _  s   	L4-	0
	;=I	JK K DPPR($$R8P,P	MD%=	1
	;=J	KL L GTT8&&r?;T-T! !++,@BXY&.&M&Mo_b&c#O((H-%%j'--@*--.@'--P)).',,G.4#88JHZ\j;kk,L"2N0F& >$0C"&(' ""$(,I('	.3 Q
 Us   G 0Guse_inter_op_parallelismforce_synchronousc	                 N   t         j                   xs t        j                         }	|	j                  }
|
j                  r(	 t	        j
                  |	d|| |d|d|d|d|d|d|      }|S t        |t        t        f      st!        d
|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}|d}t#        j(                  |d      }|d}t#        j(                  |d      }|d}t#        j(                  |d      }t+        j,                  d| ||||||||
      \  }}}}|dd }t#        j.                         rd|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      d|j3                  d      d|j3                  d      d|j3                  d      f}|j4                  }t#        j6                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||||||		
      S # t        j                  $ r Y 2w xY wc c}w c c}w )a  Creates a dataset that applies `f` to the outputs of `input_dataset`.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    other_arguments: A list of `Tensor` objects.
    f: A function decorated with @Defun.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    use_inter_op_parallelism: An optional `bool`. Defaults to `True`.
    preserve_cardinality: An optional `bool`. Defaults to `False`.
    force_synchronous: An optional `bool`. Defaults to `False`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  ExperimentalMapDatasetr  r   r   r  r  r  N)r  r   r   r  r  r  r   r   SExpected list for 'output_types' argument to 'experimental_map_dataset' Op, not %r.TExpected list for 'output_shapes' argument to 'experimental_map_dataset' Op, not %r.TF)	r   r   r  r   r   r  r  r  r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   'experimental_map_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  r1   r2   r3   r4   r  r5   r6   )r   r   r  r   r   r  r  r  r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                       rB   experimental_map_datasetr    s   " 
			0h..0$#\\11&m_Qo}"$< 46Ig n 
L4-	0
	13?	@A A DPPR($$R8P,P	MD%=	1
	13@	AB B GTT8&&r?;T-T%#%//0HJde! !++,@BXY(():<OP'88 2AQ/;0=;S7K4E'+-!QX QK'""$3<<$lll<(.ll>*Oll?+-G  !;<$  !78:M  !457F ::L ,A('	.q && -
##At,,## 
4
AL%#;3-DdD D ## 
 Q
 Us<    &H# JJ"#I*6II*)I*.J JJzraw_ops.ExperimentalMapDatasetc
                     t        |t        t        f      st        d|z        |D 
cg c]  }
t	        j
                  |
d       }}
t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|d}t	        j                  |d      }|d}t	        j                  |d      }|d}t	        j                  |d	      }t	        j                  ||	      \  }}t        j                  | t        j                        } | gt        |      z   }d
|d|d|d|d|d|d	|f}t	        j                  dd|||	|      }t	        j                         rt	        j                  d|||       |\  }|S c c}
w c c}w )Nr
  r   r  r   Tr  Fr  r  r  r   s   ExperimentalMapDatasetrF   rG   r	  r*   r+   r,   r-   r.   r/   r0   r  r   r%   rJ   rK   rL   r   r3   r6   )r   r   r  r   r   r  r  r  r   r   r;   r<   r   rA   r@   r9   s                   rB   r  r    s   	L4-	0
	13?	@A A DPPR($$R8P,P	MD%=	1
	13@	AB B GTT8&&r?;T-T%#%//0HJde! !++,@BXY(():<OP&.&M&Mo_b&c#O((H-4#88,L"2N0J24H(*& 6$0C"&(' ""$ ,A('	.; Q
 Us   F0Fpatternsc                 \   t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d||       }|S t        j                  d| |      \  }}}}|dd }t        j                          r&d}	|j"                  }
t        j$                  d|
|	|       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||      S # t        j                  $ r Y w xY w)TODO: add doc.

  Args:
    patterns: A `Tensor` of type `string`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
   ExperimentalMatchingFilesDatasetNr   r  r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   2experimental_matching_files_dataset_eager_fallbackr)   r1   r2   r.   r3   r5   r6   r  r   r7   r8   r9   r:   r=   r>   r?   r@   rA   s              rB   #experimental_matching_files_datasetr    s+    
			0h..0$#\\110$Bgn (88*XDJ!QXQK'""$F::L*L&'K('	.' && -
##At,,## 
?
4) )## 
r   z(raw_ops.ExperimentalMatchingFilesDatasetc                     t        j                  | t        j                        } | g}d }t	        j
                  dd||||      }t	        j                         rt	        j                  d|||       |\  }|S )Ns    ExperimentalMatchingFilesDatasetrF   rG   r  r1  r  r   r   rA   r@   r9   s         rB   r  r  '  su    ##Hgnn=(,&@!$0C"&(' ""$*L&'K('	.r   max_intra_op_parallelismc                    t         j                   xs t        j                         }|j                  }|j                  r 	 t	        j
                  |d|| |d|d|	      }|S t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j$                  |	d       }}	t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j&                  |
d       }}
t)        j*                  d| ||||      \  }}}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}	w c c}
w )	  Creates a dataset that overrides the maximum intra-op parallelism.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    max_intra_op_parallelism: A `Tensor` of type `int64`.
      Identifies the maximum intra-op parallelism to use.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  (ExperimentalMaxIntraOpParallelismDatasetr   r   Nr   hExpected list for 'output_types' argument to 'experimental_max_intra_op_parallelism_dataset' Op, not %r.iExpected list for 'output_shapes' argument to 'experimental_max_intra_op_parallelism_dataset' Op, not %r.r   r  r   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   <experimental_max_intra_op_parallelism_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r   r  r   r   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                   rB   -experimental_max_intra_op_parallelism_datasetr#  5  s    
			0h..0$#\\	118$ .,(g n 
L4-	0
	FHT	UV V DPPR($$R8P,P	MD%=	1
	FHU	VW W GTT8&&r?;T-T'882-MeAMBO9=?!QX QK'""$cll>:Oll?+-F::L2L&'S('	.G && -
##At,,## 
I
1%Dd< < ## 
 Q
 UrD   z0raw_ops.ExperimentalMaxIntraOpParallelismDatasetc                 p   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } t        j                  |t        j                        }| |g}d|d|f}	t	        j                  dd||	||      }
t	        j                         rt	        j                  d||	|
       |
\  }
|
S c c}w c c}w )	Nr  r   r  r   s(   ExperimentalMaxIntraOpParallelismDatasetrF   rG   r  rI   r   r  r   r   r   r   r;   r<   rA   r@   r9   s              rB   r!  r!  t  sF   	L4-	0
	FHT	UV V DPPR($$R8P,P	MD%=	1
	FHU	VW W GTT8&&r?;T-T((H-!334Lgmm\!9:,L/=I&H!$0C"&(' ""$2L&'S('	.# Q
 UrN   c           
         t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d|| d|d|      }|S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j&                  |	d       }}	t)        j*                  d| |||      \  }
}
}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||||      S # t        j                  $ r Y w xY wc c}w c c}	w )	P  TODO: add doc.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  "ExperimentalNonSerializableDatasetr   r   Nr   `Expected list for 'output_types' argument to 'experimental_non_serializable_dataset' Op, not %r.aExpected list for 'output_shapes' argument to 'experimental_non_serializable_dataset' Op, not %r.r   r   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   4experimental_non_serializable_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r   r   r   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                  rB   %experimental_non_serializable_datasetr.    s    
			0h..0$#\\112D-o}Fg n 
L4-	0
	>@L	MN N DPPR($$R8P,P	MD%=	1
	>@M	NO O GTT8&&r?;T-T'88,M;G<I37	9!QX
 QK'""$cll>:Oll?+-F::L,lFGM('	.E && -
##At,,## 
A
l%Dd< < ## 
 Q
 Ur  z*raw_ops.ExperimentalNonSerializableDatasetc                 &   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } | g}d|d|f}t	        j                  dd||||      }	t	        j                         rt	        j                  d|||	       |	\  }	|	S c c}w c c}w )	Nr)  r   r*  r   s"   ExperimentalNonSerializableDatasetrF   rG   r(  r*   r+   r,   r-   r.   r/   r0   r%   rJ   rK   rL   r   r3   r6   
r   r   r   r   r   r;   r<   rA   r@   r9   s
             rB   r,  r,    s(   	L4-	0
	>@L	MN N DPPR($$R8P,P	MD%=	1
	>@M	NO O GTT8&&r?;T-T((H-,L/=I&BA$0C"&(' ""$,lFGM('	.! Q
 Ur  cycle_lengthblock_lengthsloppybuffer_output_elementsprefetch_input_elementsc                 R   t         j                   xs t        j                         }|j                  }|j                  r'	 t	        j
                  |d|
| ||||||d|d|d|	      }|S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |	t        t        f      st!        d|	z        |	D cg c]  }t#        j&                  |d       }	}t)        j*                  d| |||||||||	|
	      \  }}}}|dd }t#        j,                         rjd|j/                  d      d
|j/                  d
      d|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||
       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||||||	|
|      S # t        j                  $ r Y w xY wc c}w c c}w )aP  Creates a dataset that applies `f` to the outputs of `input_dataset`.

  The resulting dataset is similar to the `InterleaveDataset`, with the exception
  that if retrieving the next value from a dataset would cause the requester to
  block, it will skip that input dataset. This dataset is especially useful
  when loading data from a variable-latency datastores (e.g. HDFS, GCS), as it
  allows the training step to proceed so long as some data is available.

  !! WARNING !! This dataset is not deterministic!

  Args:
    input_dataset: A `Tensor` of type `variant`.
    other_arguments: A list of `Tensor` objects.
    cycle_length: A `Tensor` of type `int64`.
    block_length: A `Tensor` of type `int64`.
    sloppy: A `Tensor` of type `bool`.
    buffer_output_elements: A `Tensor` of type `int64`.
    prefetch_input_elements: A `Tensor` of type `int64`.
    f: A function decorated with @Defun.
      A function mapping elements of `input_dataset`, concatenated with
      `other_arguments`, to a Dataset variant that contains elements matching
      `output_types` and `output_shapes`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  %ExperimentalParallelInterleaveDatasetr  r   r   N)r  r   r   r   r   cExpected list for 'output_types' argument to 'experimental_parallel_interleave_dataset' Op, not %r.dExpected list for 'output_shapes' argument to 'experimental_parallel_interleave_dataset' Op, not %r.)r   r   r2  r3  r4  r5  r6  r  r   r   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   7experimental_parallel_interleave_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   )r   r   r2  r3  r4  r5  r6  r  r   r   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                         rB   (experimental_parallel_interleave_datasetr<    sf   < 
			0h..0$#\\
115t]|V 7ao}	Fg
 n 
L4-	0
	ACO	PQ Q DPPR($$R8P,P	MD%=	1
	ACP	QR R GTT8&&r?;T-T'88/}AP>J>J8>H^I`34>J?L6:<!QX QK'""$3<<$lll<(.ll>*Oll?+-F ::L/vwP('	.[ && -
##At,,## 
D
,f
 "9Q#=t	 
 ## 
 Q
 Us<    %F# HH$#G*6GG*)G*.H HHz-raw_ops.ExperimentalParallelInterleaveDatasetc                    t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |	t        t        f      st        d|	z        |	D cg c]  }t	        j                  |d       }	}t	        j                  ||      \  }}t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }| gt        |      z   |||||gz   }d|d|d|d|	f}t	        j                  dd||||
	      }t	        j                         rt	        j                   d
|||       |\  }|S c c}w c c}w )Nr9  r   r:  r   r  r   s%   ExperimentalParallelInterleaveDatasetrF   rG   r8  )r*   r+   r,   r-   r.   r/   r0   r   r%   rJ   rK   rL   rM   r   r   r3   r6   )r   r   r2  r3  r4  r5  r6  r  r   r   r   r   r;   r<   r   rA   r@   r9   s                     rB   r;  r;  :  s   	L4-	0
	ACO	PQ Q DPPR($$R8P,P	MD%=	1
	ACP	QR R GTT8&&r?;T-T&.&M&Mo_b&c#O((H-''gmmD,''gmmD,!!&',,7&112H'--X 223JGMMZ4#88L,X^`v  yP  <Q  Q,L"2N0&Eq$0C"&(' ""$/vwP('	./ Q
 Us   G.0G3c                 v   t         j                   xs t        j                         }|j                  }|j                  r+	 t	        j
                  |d|
| ||d|d|d|d|d|d|d|	      }|S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j(                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j(                  |d       }}|	d}	t#        j*                  |	d      }	t-        j.                  d| |||||||||	|
      \  }}}}|d	d	 }t#        j0                         rd|j3                  d      d|j3                  d      d|j3                  d      d|j3                  d      d|j3                  d      d|j3                  d      d|j3                  d      d|j5                  d      f}|j6                  }t#        j8                  d|||       |\  }|S # t        j                  $ r }t        j                  ||
       Y d	}~nd	}~wt        j                  $ r Y nw xY w	 t        | |||||||||	|
|
      S # t        j                  $ r Y /w xY wc c}w c c}w c c}w c c}w c c}w c c}w )a  Transforms `input_dataset` containing `Example` protos as vectors of DT_STRING into a dataset of `Tensor` or `SparseTensor` objects representing the parsed features.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    num_parallel_calls: A `Tensor` of type `int64`.
    dense_defaults: A list of `Tensor` objects with types from: `float32`, `int64`, `string`.
      A dict mapping string keys to `Tensor`s.
      The keys of the dict must match the dense_keys of the feature.
    sparse_keys: A list of `strings`.
      A list of string keys in the examples features.
      The results for these keys will be returned as `SparseTensor` objects.
    dense_keys: A list of `strings`.
      A list of Ndense string Tensors (scalars).
      The keys expected in the Examples features associated with dense values.
    sparse_types: A list of `tf.DTypes` from: `tf.float32, tf.int64, tf.string`.
      A list of `DTypes` of the same length as `sparse_keys`.
      Only `tf.float32` (`FloatList`), `tf.int64` (`Int64List`),
      and `tf.string` (`BytesList`) are supported.
    dense_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`).
      List of tuples with the same length as `dense_keys`.
      The shape of the data for each dense feature referenced by `dense_keys`.
      Required for any input tensors identified by `dense_keys`.  Must be
      either fully defined, or may contain an unknown first dimension.
      An unknown first dimension means the feature is treated as having
      a variable number of blocks, and the output shape along this dimension
      is considered unknown at graph build time.  Padding is applied for
      minibatch elements smaller than the maximum number of blocks for the
      given feature along this dimension.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
      The type list for the return values.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
      The list of shapes being produced.
    sloppy: An optional `bool`. Defaults to `False`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  ExperimentalParseExampleDatasetsparse_keys
dense_keyssparse_typesdense_shapesr   r   r4  N)	r@  rA  rB  rC  r   r   r4  r   r   \Expected list for 'sparse_keys' argument to 'experimental_parse_example_dataset' Op, not %r.[Expected list for 'dense_keys' argument to 'experimental_parse_example_dataset' Op, not %r.]Expected list for 'sparse_types' argument to 'experimental_parse_example_dataset' Op, not %r.]Expected list for 'dense_shapes' argument to 'experimental_parse_example_dataset' Op, not %r.]Expected list for 'output_types' argument to 'experimental_parse_example_dataset' Op, not %r.^Expected list for 'output_shapes' argument to 'experimental_parse_example_dataset' Op, not %r.F)r   r  dense_defaultsr@  rA  rB  rC  r   r   r4  r   Tdense)r   r   r    r!   r   r"   r#   r$   r%   r&   r'   1experimental_parse_example_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r  r/   r0   r  r1   r2   r3   r4   r  r5   r6   )r   r  rJ  r@  rA  rB  rC  r   r   r4  r   r7   r8   r9   r:   r<   r;   r=   r>   r?   r@   rA   s                         rB   "experimental_parse_example_datasetrM  Y  s   N 
			0h..0$#\\11/}NM;j.,nl&:g n 
K$	/
	;=H	IJ J ALL"""2}5L+L	Ju	.
	;=G	HI I ?II!!"l3I*I	L4-	0
	;=I	JK K DPPR($$R8P,P	L4-	0
	;=I	JK K EQQb(%%b.9Q,Q	L4-	0
	;=I	JK K DPPR($$R8P,P	MD%=	1
	;=J	KL L GTT8&&r?;T-T^Ffh/&'88)>P:H7B6@8D8D8D9F28t
E!QX QK'""$S\\-8,ll<(.ll>*Hcll86Lcll>:Nll>*Oll?+X  *,F ::L)<J('	.O && -
##At,,## 
>
+^!j#,#=d. . ## 
 M
 J
 Q
 R
 Q
 UsT    )L! NN" N''N,.N15N6!M(4MM('M(,N NNz'raw_ops.ExperimentalParseExampleDatasetc                 f   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        |t        t        f      st        d	|z        |D cg c]  }t	        j                  |d
       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|	d}	t	        j                  |	d      }	t	        j                  ||      \  }}t        j                  | t        j                        } t        j                  |t        j                        }| |gt        |      z   }d|d|d|d|d|d
|d|d|	f}t	        j                  dd||||
      }t	        j                          rt	        j"                  d|||       |\  }|S c c}w c c}w c c}w c c}w c c}w c c}w )NrD  r@  rE  rA  rF  rB  rG  rC  rH  r   rI  r   Fr4  rK  s   ExperimentalParseExampleDatasetrF   rG   r?  r*   r+   r,   r-   r.   r  r/   r0   r  r   r%   rJ   rK   rL   rM   r   r3   r6   )r   r  rJ  r@  rA  rB  rC  r   r   r4  r   r   r<   r;   _attr_TdenserA   r@   r9   s                     rB   rL  rL    s   	K$	/
	;=H	IJ J ALL"""2}5L+L	Ju	.
	;=G	HI I ?II!!"l3I*I	L4-	0
	;=I	JK K DPPR($$R8P,P	L4-	0
	;=I	JK K EQQb(%%b.9Q,Q	L4-	0
	;=I	JK K DPPR($$R8P,P	MD%=	1
	;=J	KL L GTT8&&r?;T-T^Ffh/&!)!H!HY\!],((H---.@'--P!34tN7KK,;j,,o}
F& ?$0C"&(' ""$)<J('	.Y M
 J
 Q
 R
 Q
 Us#   J0J7J>J$J)J.num_threadsc                    t         j                   xs t        j                         }|j                  }|j                  r 	 t	        j
                  |d|| |d|d|	      }|S t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j$                  |	d       }}	t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j&                  |
d       }}
t)        j*                  d| ||||      \  }}}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}	w c c}
w )	  Creates a dataset that uses a custom thread pool to compute `input_dataset`.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    num_threads: A `Tensor` of type `int64`.
      Identifies the number of threads to use for the private threadpool.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  $ExperimentalPrivateThreadPoolDatasetr   r   Nr   cExpected list for 'output_types' argument to 'experimental_private_thread_pool_dataset' Op, not %r.dExpected list for 'output_shapes' argument to 'experimental_private_thread_pool_dataset' Op, not %r.r   rQ  r   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   7experimental_private_thread_pool_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r   rQ  r   r   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                   rB   (experimental_private_thread_pool_datasetrZ    s    
			0h..0$#\\	114dM^\?g n 
L4-	0
	ACO	PQ Q DPPR($$R8P,P	MD%=	1
	ACP	QR R GTT8&&r?;T-T'88.m<G=I>K59;!QX QK'""$cll>:Oll?+-F::L.fgO('	.G && -
##At,,## 
D
<%Dd< < ## 
 Q
 UrD   z,raw_ops.ExperimentalPrivateThreadPoolDatasetc                 p   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } t        j                  |t        j                        }| |g}d|d|f}	t	        j                  dd||	||      }
t	        j                         rt	        j                  d||	|
       |
\  }
|
S c c}w c c}w )	NrU  r   rV  r   s$   ExperimentalPrivateThreadPoolDatasetrF   rG   rT  rI   r   rQ  r   r   r   r   r;   r<   rA   r@   r9   s              rB   rX  rX  J  sC   	L4-	0
	ACO	PQ Q DPPR($$R8P,P	MD%=	1
	ACP	QR R GTT8&&r?;T-T((H-&&{GMMB+-,L/=I&Da$0C"&(' ""$.fgO('	.# Q
 UrN   seedseed2c                    t         j                   xs t        j                         }|j                  }|j                  r 	 t	        j
                  |d|| |d|d|	      }|S t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j$                  |	d       }}	t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j&                  |
d       }}
t)        j*                  d| ||||      \  }}}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}	w c c}
w )	a  Creates a Dataset that returns pseudorandom numbers.

  Args:
    seed: A `Tensor` of type `int64`.
      A scalar seed for the random number generator. If either seed or
      seed2 is set to be non-zero, the random number generator is seeded
      by the given seed.  Otherwise, a random seed is used.
    seed2: A `Tensor` of type `int64`.
      A second scalar seed to avoid seed collision.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  ExperimentalRandomDatasetr   r   Nr   VExpected list for 'output_types' argument to 'experimental_random_dataset' Op, not %r.WExpected list for 'output_shapes' argument to 'experimental_random_dataset' Op, not %r.)r]  r^  r   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   *experimental_random_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   )r]  r^  r   r   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                   rB   experimental_random_datasetrd  c  s   " 
			0h..0$#\\11)4uno}6g n 
L4-	0
	46B	CD D DPPR($$R8P,P	MD%=	1
	46C	DE E GTT8&&r?;T-T'88#$e2>3@tM!QX QK'""$cll>:Oll?+-F::L#\67D('	.C && -
##At,,## 
7
L  ## 
 Q
 UrD   z!raw_ops.ExperimentalRandomDatasetc                 p   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } t        j                  |t        j                        }| |g}d|d|f}	t	        j                  dd||	||      }
t	        j                         rt	        j                  d||	|
       |
\  }
|
S c c}w c c}w )	Nra  r   rb  r   s   ExperimentalRandomDatasetrF   rG   r`  )r*   r+   r,   r-   r.   r/   r0   r%   rJ   rK   rM   r   r3   r6   )r]  r^  r   r   r   r   r;   r<   rA   r@   r9   s              rB   rc  rc    s@   	L4-	0
	46B	CD D DPPR($$R8P,P	MD%=	1
	46C	DE E GTT8&&r?;T-T			gmm	4$

 
 
6%,L/=I&91$0C"&(' ""$#\67D('	.# Q
 UrN   use_fallbackc                 F   t         j                   xs t        j                         }|j                  }|j                  r"	 t	        j
                  |d|| |d|d|d|      }|S t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j$                  |
d       }}
t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}|d	}t#        j(                  |d      }t+        j,                  d| |||||
      \  }}}}|dd }t#        j.                         rYd|j1                  d      d|j1                  d      d|j3                  d      f}|j4                  }t#        j6                  d|||       |\  }|S # t        j                  $ r }	t        j                  |	|       Y d}	~	nd}	~	wt        j                  $ r Y nw xY w	 t        | ||||||      S # t        j                  $ r Y w xY wc c}
w c c}w )aA  Creates a dataset that changes the batch size.

  Creates a dataset that changes the batch size of the dataset to current batch
  size // num_replicas.

  Args:
    input_dataset: A `Tensor` of type `variant`.
      A variant tensor representing the input dataset.
    num_replicas: A `Tensor` of type `int64`.
      A scalar representing the number of replicas to distribute this batch across. As
      a result of this transformation the current batch size would end up being
      divided  by this parameter.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    use_fallback: An optional `bool`. Defaults to `True`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  ExperimentalRebatchDatasetr   r   rf  Nr   r   rf  r   r   WExpected list for 'output_types' argument to 'experimental_rebatch_dataset' Op, not %r.XExpected list for 'output_shapes' argument to 'experimental_rebatch_dataset' Op, not %r.Tr   rh   r   r   rf  r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   +experimental_rebatch_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  r1   r2   r3   r4   r  r5   r6   r   rh   r   r   rf  r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                    rB   experimental_rebatch_datasetro    sM   * 
			0h..0$#\\	11*D-o}&g n 
L4-	0
	57C	DE E DPPR($$R8P,P	MD%=	1
	57D	EF F GTT8&&r?;T-TL##L.A,'88$M3?3?4A3?dL!QX QK'""$cll>:Oll?+^  02F ::L$lFGE('	.Q && -
##At,,## 
8
L%Lt  ## 
 Q
 U<     F" 	HH"G)5GG)(G)-G? ?HHz"raw_ops.ExperimentalRebatchDatasetc                    t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|d}t	        j                  |d      }t        j                  | t        j                        } t        j                  |t        j                        }| |g}	d|d|d|f}
t	        j                  dd|	|
||	      }t	        j                         rt	        j                  d
|	|
|       |\  }|S c c}w c c}w )Nrj  r   rk  r   Trf  s   ExperimentalRebatchDatasetrF   rG   rh  r*   r+   r,   r-   r.   r/   r0   r  r%   rJ   rK   rL   rM   r   r3   r6   r   rh   r   r   rf  r   r   r;   r<   rA   r@   r9   s               rB   rm  rm    se   	L4-	0
	57C	DE E DPPR($$R8P,P	MD%=	1
	57D	EF F GTT8&&r?;T-TL##L.A,((H-''gmmD,.,L/=, &:A$0C"&(' ""$$lFGE('	.+ Q
 U   E
0Ec                    t         j                   xs t        j                         }|j                  }	|	j                  r%	 t	        j
                  |d|| ||d|d|d|d|      }
|
S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d	|z        |D cg c]  }t#        j&                  |d       }}|d
}t#        j(                  |d      }t+        j,                  d| |||||||	      \  }}}}|dd }
t#        j.                         rd|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      d|j3                  d      f}|j4                  }t#        j6                  d|||
       |
\  }
|
S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||||||||	      S # t        j                  $ r Y w xY wc c}w c c}w )a^  Creates a dataset successively reduces `f` over the elements of `input_dataset`.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    initial_state: A list of `Tensor` objects.
    other_arguments: A list of `Tensor` objects.
    f: A function decorated with @Defun.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    preserve_cardinality: An optional `bool`. Defaults to `False`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  ExperimentalScanDatasetr  r   r   r  Nr   TExpected list for 'output_types' argument to 'experimental_scan_dataset' Op, not %r.UExpected list for 'output_shapes' argument to 'experimental_scan_dataset' Op, not %r.F)r   initial_stater   r  r   r   r  r   Tstater   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   (experimental_scan_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  r1   r2   r3   r4   r  r5   r6   )r   ry  r   r  r   r   r  r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                      rB   experimental_scan_datasetr|  #  s     
			0h..0$#\\
11'}ma(>	g
 n 
L4-	0
	24@	AB B DPPR($$R8P,P	MD%=	1
	24A	BC C GTT8&&r?;T-T! !++,@BXY'88!1>3Ba0<1>8L(,.!QX QK'""$3<<$hX0FCLL6ll>*Oll?+-C  !78	:F
 ::L!<B('	.Y && -
##At,,## 
5
1#=3$DJ J ## 
 Q
 Us<    #G IIH!-HH! H!%H9 9IIzraw_ops.ExperimentalScanDatasetc	                    t        |t        t        f      st        d|z        |D 	cg c]  }	t	        j
                  |	d       }}	t        |t        t        f      st        d|z        |D 
cg c]  }
t	        j                  |
d       }}
|d}t	        j                  |d      }t	        j                  ||      \  }}t	        j                  ||      \  }}t        j                  | t        j                        } | gt        |      z   t        |      z   }d|d|d	|d|d|d|f}t	        j                  d
d||||      }t	        j                         rt	        j                  d|||       |\  }|S c c}	w c c}
w )Nrw  r   rx  r   Fr  r  rz  r   s   ExperimentalScanDatasetrF   rG   rv  r  )r   ry  r   r  r   r   r  r   r   r;   r<   _attr_Tstater   rA   r@   r9   s                   rB   r{  r{  n  s   	L4-	0
	24@	AB B DPPR($$R8P,P	MD%=	1
	24A	BC C GTT8&&r?;T-T! !++,@BXY ( G GWZ [,&.&M&Mo_b&c#O((H-4#66o9NN,HlL:J,.0& 7$0C"&(' ""$!<B('	./ Q
 Us   E50E:stats_aggregatorcounter_prefixc                    t         j                   xs t        j                         }|j                  }|j                  r"	 t	        j
                  |d|| |||d|d|      }	|	S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}t)        j*                  d| ||||||      \  }}}}|dd }	t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||	       |	\  }	|	S # t        j                  $ r }
t        j                  |
|       Y d}
~
nd}
~
wt        j                  $ r Y nw xY w	 t        | |||||||      S # t        j                  $ r Y w xY wc c}w c c}w )	  TODO: add doc.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    stats_aggregator: A `Tensor` of type `resource`.
    tag: A `Tensor` of type `string`.
    counter_prefix: A `Tensor` of type `string`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  %ExperimentalSetStatsAggregatorDatasetr   r   Nr   dExpected list for 'output_types' argument to 'experimental_set_stats_aggregator_dataset' Op, not %r.eExpected list for 'output_shapes' argument to 'experimental_set_stats_aggregator_dataset' Op, not %r.r   r  ru   r  r   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   8experimental_set_stats_aggregator_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r   r  ru   r  r   r   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                     rB   )experimental_set_stats_aggregator_datasetr    s&    
			0h..0$#\\	115t]#~~|(g n 
L4-	0
	BDP	QR R DPPR($$R8P,P	MD%=	1
	BDQ	RS S GTT8&&r?;T-T'88/}BR58@N>J?L6:<!QX QK'""$cll>:Oll?+-F::L/vwP('	.M && -
##At,,## 
E
)3#=t  ## 
 Q
 U<     E8 	G0G58F?F&&F?>F?G G-,G-z-raw_ops.ExperimentalSetStatsAggregatorDatasetc                    t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D 	cg c]  }	t	        j                  |	d       }}	t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }| |||g}
d|d|f}t	        j                  dd|
|||      }t	        j                         rt	        j                  d|
||       |\  }|S c c}w c c}	w )	Nr  r   r  r   s%   ExperimentalSetStatsAggregatorDatasetrF   rG   r  r*   r+   r,   r-   r.   r/   r0   r%   rJ   rK   rL   r	  r[   r   r3   r6   r   r  ru   r  r   r   r   r   r;   r<   rA   r@   r9   s                rB   r  r    sx   	L4-	0
	BDP	QR R DPPR($$R8P,P	MD%=	1
	BDQ	RS S GTT8&&r?;T-T((H-++,<g>N>NOsGNN3#)).'..I.!13G,L/=I&Eq$0C"&(' ""$/vwP('	.' Q
 U   E80E=sleep_microsecondsc                    t         j                   xs t        j                         }|j                  }|j                  r 	 t	        j
                  |d|| |d|d|	      }|S t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j$                  |	d       }}	t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j&                  |
d       }}
t)        j*                  d| ||||      \  }}}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}	w c c}
w )	  TODO: add doc.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    sleep_microseconds: A `Tensor` of type `int64`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  ExperimentalSleepDatasetr   r   Nr   UExpected list for 'output_types' argument to 'experimental_sleep_dataset' Op, not %r.VExpected list for 'output_shapes' argument to 'experimental_sleep_dataset' Op, not %r.r   r  r   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   )experimental_sleep_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r   r  r   r   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                   rB   experimental_sleep_datasetr    s    
			0h..0$#\\	11($NL/g n 
L4-	0
	35A	BC C DPPR($$R8P,P	MD%=	1
	35B	CD D GTT8&&r?;T-T'88"-7I1=2?d	L!QX
 QK'""$cll>:Oll?+-F::L"L&'C('	.E && -
##At,,## 
6
+,%Dd< < ## 
 Q
 UrD   z raw_ops.ExperimentalSleepDatasetc                 p   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } t        j                  |t        j                        }| |g}d|d|f}	t	        j                  dd||	||      }
t	        j                         rt	        j                  d||	|
       |
\  }
|
S c c}w c c}w )	Nr  r   r  r   s   ExperimentalSleepDatasetrF   rG   r  rI   r   r  r   r   r   r   r;   r<   rA   r@   r9   s              rB   r  r  (  sD   	L4-	0
	35A	BC C DPPR($$R8P,P	MD%=	1
	35B	CD D GTT8&&r?;T-T((H---.@'--P!34,L/=I&8!$0C"&(' ""$"L&'C('	.# Q
 UrN   window_sizewindow_shiftwindow_stridec                    t         j                   xs t        j                         }|j                  }|j                  r"	 t	        j
                  |d|| |||d|d|      }	|	S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}t)        j*                  d| ||||||      \  }}}}|dd }	t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||	       |	\  }	|	S # t        j                  $ r }
t        j                  |
|       Y d}
~
nd}
~
wt        j                  $ r Y nw xY w	 t        | |||||||      S # t        j                  $ r Y w xY wc c}w c c}w )	aD  Creates a dataset that passes a sliding window over `input_dataset`.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    window_size: A `Tensor` of type `int64`.
      A scalar representing the number of elements in the
      sliding window.
    window_shift: A `Tensor` of type `int64`.
      A scalar representing the steps moving the sliding window
      forward in one iteration. It must be positive.
    window_stride: A `Tensor` of type `int64`.
      A scalar representing the stride of the input elements of the sliding window.
      It must be positive.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
   ExperimentalSlidingWindowDatasetr   r   Nr   ^Expected list for 'output_types' argument to 'experimental_sliding_window_dataset' Op, not %r._Expected list for 'output_shapes' argument to 'experimental_sliding_window_dataset' Op, not %r.)r   r  r  r  r   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   2experimental_sliding_window_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   )r   r  r  r  r   r   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                     rB   #experimental_sliding_window_datasetr  A  s#   * 
			0h..0$#\\	110$\=.o}6g n 
L4-	0
	<>J	KL L DPPR($$R8P,P	MD%=	1
	<>K	LM M GTT8&&r?;T-T'88*-8C9E:G9E:G157!QX QK'""$cll>:Oll?+-F::L*L&'K('	.M && -
##At,,## 
?
lM#=t  ## 
 Q
 Ur  z(raw_ops.ExperimentalSlidingWindowDatasetc                    t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D 	cg c]  }	t	        j                  |	d       }}	t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }| |||g}
d|d|f}t	        j                  dd|
|||      }t	        j                         rt	        j                  d|
||       |\  }|S c c}w c c}	w )	Nr  r   r  r   s    ExperimentalSlidingWindowDatasetrF   rG   r  rI   )r   r  r  r  r   r   r   r   r;   r<   rA   r@   r9   s                rB   r  r    sq   	L4-	0
	<>J	KL L DPPR($$R8P,P	MD%=	1
	<>K	LM M GTT8&&r?;T-T((H-&&{GMMB+''gmmD,((F-lMJ,L/=I&@!$0C"&(' ""$*L&'K('	.' Q
 Ur  driver_namedata_source_namequeryc                    t         j                   xs t        j                         }|j                  }|j                  r!	 t	        j
                  |d|| ||d|d|
      }|S t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j$                  |
d       }}
t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}t)        j*                  d| |||||      \  }}}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }	t        j                  |	|       Y d}	~	nd}	~	wt        j                  $ r Y nw xY w	 t        | ||||||      S # t        j                  $ r Y w xY wc c}
w c c}w )	~  Creates a dataset that executes a SQL query and emits rows of the result set.

  Args:
    driver_name: A `Tensor` of type `string`.
      The database type. Currently, the only supported type is 'sqlite'.
    data_source_name: A `Tensor` of type `string`.
      A connection string to connect to the database.
    query: A `Tensor` of type `string`. A SQL query to execute.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  ExperimentalSqlDatasetr   r   Nr   SExpected list for 'output_types' argument to 'experimental_sql_dataset' Op, not %r.TExpected list for 'output_shapes' argument to 'experimental_sql_dataset' Op, not %r.r  r  r  r   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   'experimental_sql_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r  r  r  r   r   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                    rB   experimental_sql_datasetr    s     
			0h..0$#\\11&k;K~|_mMg n 
L4-	0
	13?	@A A DPPR($$R8P,P	MD%=	1
	13@	AB B GTT8&&r?;T-T'88 k3C(-L0=D	J!QX
 QK'""$cll>:Oll?+-F::L ,A('	.E && -
##At,,## 
4
'\%Dd< < ## 
 Q
 UrI  zraw_ops.ExperimentalSqlDatasetc                    t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }| ||g}	d|d|f}
t	        j                  dd|	|
||      }t	        j                         rt	        j                  d|	|
|       |\  }|S c c}w c c}w )	Nr  r   r  r   s   ExperimentalSqlDatasetrF   rG   r  r  r  r  r  r   r   r   r   r;   r<   rA   r@   r9   s               rB   r  r    s\   	L4-	0
	13?	@A A DPPR($$R8P,P	MD%=	1
	13@	AB B GTT8&&r?;T-T&&{GNNC+++,<gnnM

 
 
7%/7,L/=I&6$0C"&(' ""$ ,A('	.% Q
 UrL  	containershared_namec           	         t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d|d| d|      }|S | d} t        j                  | d      } |d}t        j                  |d      }t        j                   d| ||      \  }}}}	|	dd }t        j"                         rHd|j%                  d      d|j%                  d      f}
|j&                  }t        j(                  d||
|       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||      S # t        j                  $ r Y )w xY w)   Creates a statistics manager resource.

  Args:
    container: An optional `string`. Defaults to `""`.
    shared_name: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `resource`.
  !ExperimentalStatsAggregatorHandler  r  Nr  r  r   r   r  r  r  r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   3experimental_stats_aggregator_handle_eager_fallbackr)   r.   r  r1   r2   r3   r4   r5   r6   r  r  r   r7   r8   r9   r:   r=   r>   r?   r@   rA   s               rB   $experimental_stats_aggregator_handler    s    
			0h..0$#\\1114=+/g n I	;7)K!!+}=+'88+y9D268!QX QK'""$3<<4mll=)+F::L+\67L('	.9 && -
##At,,## 
@;TtM M## 
0    D E)EEE!E0 0FFz)raw_ops.ExperimentalStatsAggregatorHandlec                    | d} t        j                  | d      } |d}t        j                  |d      }g }d| d|f}t        j                  dd||||      }t        j                         rt        j                  d|||       |\  }|S )Nr  r  r  s!   ExperimentalStatsAggregatorHandlerF   rG   r  r.   r  r   r3   r6   r  r  r   r   rA   r@   r9   s          rB   r  r  2  s    I	;7)K!!+}=+,M;?&A1$0C"&(' ""$+\67L('	.r   iteratorc                 \   t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d||       }|S t        j                  d| |      \  }}}}|dd }t        j                          r&d}	|j"                  }
t        j$                  d|
|	|       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||      S # t        j                  $ r Y w xY w)Produces a summary of any statistics recorded by the given statistics manager.

  Args:
    iterator: A `Tensor` of type `resource`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `string`.
  "ExperimentalStatsAggregatorSummaryNr   r  r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   4experimental_stats_aggregator_summary_eager_fallbackr)   r1   r2   r.   r3   r5   r6   r  r   r7   r8   r9   r:   r=   r>   r?   r@   rA   s              rB   %experimental_stats_aggregator_summaryr  E  s+    
			0h..0$#\\112D(Dgn (88,xdL!QXQK'""$F::L,lFGM('	.' && -
##At,,## 
A
4) )## 
r   z*raw_ops.ExperimentalStatsAggregatorSummaryc                     t        j                  | t        j                        } | g}d }t	        j
                  dd||||      }t	        j                         rt	        j                  d|||       |\  }|S )Ns"   ExperimentalStatsAggregatorSummaryrF   rG   r  r  r  r   r   rA   r@   r9   s         rB   r  r  n  sw    ##Hg.>.>?(,&BA$0C"&(' ""$,lFGM('	.r   c                 4   t         j                   xs t        j                         }|j                  }|j                  r"	 t	        j
                  |d|| |d|d|d|      }|S t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j$                  |
d       }}
t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}t)        j*                  d| |||||	      \  }}}}|dd }t#        j,                         rjd|j/                  d      d
|j/                  d
      d|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }	t        j                  |	|       Y d}	~	nd}	~	wt        j                  $ r Y nw xY w	 t        | ||||||      S # t        j                  $ r Y w xY wc c}
w c c}w )aU  Creates a dataset that stops iteration when predicate` is false.

  The `predicate` function must return a scalar boolean and accept the
  following arguments:

  * One tensor for each component of an element of `input_dataset`.
  * One tensor for each value in `other_arguments`.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    other_arguments: A list of `Tensor` objects.
      A list of tensors, typically values that were captured when
      building a closure for `predicate`.
    predicate: A function decorated with @Defun.
      A function returning a scalar boolean.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  ExperimentalTakeWhileDataset	predicater   r   N)r  r   r   r   r   ZExpected list for 'output_types' argument to 'experimental_take_while_dataset' Op, not %r.[Expected list for 'output_shapes' argument to 'experimental_take_while_dataset' Op, not %r.)r   r   r  r   r   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   .experimental_take_while_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   )r   r   r  r   r   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                    rB   experimental_take_while_datasetr  |  s<   . 
			0h..0$#\\	11,dMi(g n 
L4-	0
	8:F	GH H DPPR($$R8P,P	MD%=	1
	8:G	HI I GTT8&&r?;T-T'88&m8G2;5A6C-13!QX QK'""$3<<4lll<(.ll>*Oll?+-F ::L&fgG('	.O && -
##At,,## 
;
I#=t  ## 
 Q
 Us<     F 	HHG ,GG G $G6 6HHz$raw_ops.ExperimentalTakeWhileDatasetc                 x   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t	        j                  ||      \  }	}t        j                  | t        j                        } | gt        |      z   }
d|d|	d|d|f}t	        j                  dd|
|||	      }t	        j                         rt	        j                  d
|
||       |\  }|S c c}w c c}w )Nr  r   r  r   r  r   s   ExperimentalTakeWhileDatasetrF   rG   r  r  )r   r   r  r   r   r   r   r;   r<   r   rA   r@   r9   s                rB   r  r    sX   	L4-	0
	8:F	GH H DPPR($$R8P,P	MD%=	1
	8:G	HI I GTT8&&r?;T-T&.&M&Mo_b&c#O((H-4#88,L2B,@&<a$0C"&(' ""$&fgG('	.% Q
 Us   D20D7thread_poolc                    t         j                   xs t        j                         }|j                  }|j                  r 	 t	        j
                  |d|| |d|d|	      }|S t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j$                  |	d       }}	t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j&                  |
d       }}
t)        j*                  d| ||||      \  }}}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}	w c c}
w )	  Creates a dataset that uses a custom thread pool to compute `input_dataset`.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    thread_pool: A `Tensor` of type `resource`.
      A resource produced by the ThreadPoolHandle op.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  ExperimentalThreadPoolDatasetr   r   Nr   [Expected list for 'output_types' argument to 'experimental_thread_pool_dataset' Op, not %r.\Expected list for 'output_shapes' argument to 'experimental_thread_pool_dataset' Op, not %r.r   r  r   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   /experimental_thread_pool_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r   r  r   r   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                   rB    experimental_thread_pool_datasetr    s    
			0h..0$#\\	11-t]^\?g n 
L4-	0
	9;G	HI I DPPR($$R8P,P	MD%=	1
	9;H	IJ J GTT8&&r?;T-T'88'}5@6B7D.24!QX QK'""$cll>:Oll?+-F::L'vwH('	.G && -
##At,,## 
<
<%Dd< < ## 
 Q
 UrD   z%raw_ops.ExperimentalThreadPoolDatasetc                 p   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } t        j                  |t        j                        }| |g}d|d|f}	t	        j                  dd||	||      }
t	        j                         rt	        j                  d||	|
       |
\  }
|
S c c}w c c}w )	Nr  r   r  r   s   ExperimentalThreadPoolDatasetrF   rG   r  r*   r+   r,   r-   r.   r/   r0   r%   rJ   rK   rL   r	  r   r3   r6   r   r  r   r   r   r   r;   r<   rA   r@   r9   s              rB   r  r  !  sC   	L4-	0
	9;G	HI I DPPR($$R8P,P	MD%=	1
	9;H	IJ J GTT8&&r?;T-T((H-&&{G4D4DE+-,L/=I&=q$0C"&(' ""$'vwH('	.# Q
 UrN   display_namec                    t         j                   xs t        j                         }|j                  }|j                  r$	 t	        j
                  |d|d| d|d|d|d|      }|S t        j                  | d      } t        j                  |d      }|d	}t        j                  |d      }|d
}t        j                  |d      }|d
}t        j                  |d      }t!        j"                  d| |||||      \  }
}
}}|dd }t        j$                         r{d|j'                  d      d|j'                  d      d|j)                  d      d|j)                  d      d|j)                  d      f
}|j*                  }t        j,                  d|||       |\  }|S # t        j                  $ r }	t        j                  |	|       Y d}	~	nd}	~	wt        j                  $ r Y nw xY w	 t        | ||||||      S # t        j                  $ r Y w xY w)  Creates a dataset that uses a custom thread pool to compute `input_dataset`.

  Args:
    num_threads: An `int`. The number of threads in the thread pool.
    display_name: A `string`.
      A human-readable name for the threads that may be visible in some
      visualizations.
      threadpool.
    max_intra_op_parallelism: An optional `int`. Defaults to `1`.
      The maximum degree of parallelism to use within operations that execute on this
      threadpool.
    container: An optional `string`. Defaults to `""`.
    shared_name: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `resource`.
  ExperimentalThreadPoolHandlerQ  r  r  r  r  NrQ  r  r  r  r  r   r   rF   r  rQ  r  r  r  r  r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   .experimental_thread_pool_handle_eager_fallbackr)   r.   rn   r  r1   r2   r3   ro   r4   r5   r6   rQ  r  r  r  r  r   r7   r8   r9   r:   r=   r>   r?   r@   rA   s                  rB   experimental_thread_pool_handler  :  s.   & 
			0h..0$#\\
11,dM/1Ik9m	g
 n !!+}=+""<@,% %../GIcdI	;7)K!!+}=+'88&K5AAY2;4?dL!QX QK'""$S..}=( :;^ll>*Kll;'ll=)+F ::L&fgG('	.U && -
##At,,## 
;!#;#y!$	8 8
 ## 
0    "F G+GGG#G5 5HHz$raw_ops.ExperimentalThreadPoolHandlec           
         t        j                  | d      } t        j                  |d      }|d}t        j                  |d      }|d}t        j                  |d      }|d}t        j                  |d      }g }d| d|d|d|d|f
}t        j                  dd||||	      }	t        j                         rt        j
                  d
|||	       |	\  }	|	S )NrQ  r  rF   r  r  r  r  s   ExperimentalThreadPoolHandlerG   r  r.   rn   r  r   r3   r6   
rQ  r  r  r  r  r   r   rA   r@   r9   s
             rB   r  r    s    !!+}=+""<@,% %../GIcdI	;7)K!!+}=+,;(BNL+]K)& <a$0C"&(' ""$&fgG('	.r   c           
         t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d|| d|d|      }|S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j&                  |	d       }}	t)        j*                  d| |||      \  }
}
}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||||      S # t        j                  $ r Y w xY wc c}w c c}	w )	a  A dataset that splits the elements of its input into multiple elements.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  ExperimentalUnbatchDatasetr   r   Nr   WExpected list for 'output_types' argument to 'experimental_unbatch_dataset' Op, not %r.XExpected list for 'output_shapes' argument to 'experimental_unbatch_dataset' Op, not %r.r+  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   +experimental_unbatch_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r-  s                  rB   experimental_unbatch_datasetr    s    
			0h..0$#\\11*D-o}Fg n 
L4-	0
	57C	DE E DPPR($$R8P,P	MD%=	1
	57D	EF F GTT8&&r?;T-T'88$M3?4AN!QX QK'""$cll>:Oll?+-F::L$lFGE('	.C && -
##At,,## 
8
l%Dd< < ## 
 Q
 Ur  z"raw_ops.ExperimentalUnbatchDatasetc                 &   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } | g}d|d|f}t	        j                  dd||||      }	t	        j                         rt	        j                  d|||	       |	\  }	|	S c c}w c c}w )	Nr  r   r  r   s   ExperimentalUnbatchDatasetrF   rG   r  r0  r1  s
             rB   r  r    s(   	L4-	0
	57C	DE E DPPR($$R8P,P	MD%=	1
	57D	EF F GTT8&&r?;T-T((H-,L/=I&:A$0C"&(' ""$$lFGE('	.! Q
 Ur  c           
         t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d|| d|d|      }|S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j&                  |	d       }}	t)        j*                  d| |||      \  }
}
}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||||      S # t        j                  $ r Y w xY wc c}w c c}	w )	a  Creates a dataset that contains the unique elements of `input_dataset`.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  ExperimentalUniqueDatasetr   r   Nr   VExpected list for 'output_types' argument to 'experimental_unique_dataset' Op, not %r.WExpected list for 'output_shapes' argument to 'experimental_unique_dataset' Op, not %r.r+  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   *experimental_unique_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r-  s                  rB   experimental_unique_datasetr    s    
			0h..0$#\\11)4o}Fg n 
L4-	0
	46B	CD D DPPR($$R8P,P	MD%=	1
	46C	DE E GTT8&&r?;T-T'88#=2>3@tM!QX QK'""$cll>:Oll?+-F::L#\67D('	.C && -
##At,,## 
7
l%Dd< < ## 
 Q
 Ur  z!raw_ops.ExperimentalUniqueDatasetc                 &   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } | g}d|d|f}t	        j                  dd||||      }	t	        j                         rt	        j                  d|||	       |	\  }	|	S c c}w c c}w )	Nr  r   r  r   s   ExperimentalUniqueDatasetrF   rG   r  r0  r1  s
             rB   r  r  ,  s(   	L4-	0
	46B	CD D DPPR($$R8P,P	MD%=	1
	46C	DE E GTT8&&r?;T-T((H-,L/=I&91$0C"&(' ""$#\67D('	.! Q
 Ur  c                    t         j                   xs t        j                         }|j                  }|j                  r 	 t	        j
                  |d|| |d|d|	      }|S t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j$                  |	d       }}	t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j&                  |
d       }}
t)        j*                  d| ||||      \  }}}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}	w c c}
w )	a  Gets the element at the specified index in a dataset.

  Args:
    dataset: A `Tensor` of type `variant`.
    index: A `Tensor` of type `int64`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A list of `Tensor` objects of type `output_types`.
  GetElementAtIndexr   r   Nr   OExpected list for 'output_types' argument to 'get_element_at_index' Op, not %r.PExpected list for 'output_shapes' argument to 'get_element_at_index' Op, not %r.)rX  rf   r   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   #get_element_at_index_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   )rX  rf   r   r   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                   rB   get_element_at_indexr   D  s    
			0h..0$#\\11!4%o}6g n 
L4-	0
	-/;	<= = DPPR($$R8P,P	MD%=	1
	-/<	=> > GTT8&&r?;T-T'88WE*6+8tE!QX QK'""$cll>:Oll?+-F::L\67<	.A && -
##At,,## 
0
5|%Dd< < ## 
 Q
 Us<    E0 G&G+0F7FF76F7;G G#"G#zraw_ops.GetElementAtIndexc                 z   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } t        j                  |t        j                        }| |g}d|d|f}	t	        j                  dt        |      ||	||      }
t	        j                         rt	        j                  d||	|
       |
S c c}w c c}w )Nr  r   r  r   s   GetElementAtIndexrG   r  )r*   r+   r,   r-   r.   r/   r0   r%   rJ   rK   rL   rM   r   r   r3   r6   )rX  rf   r   r   r   r   r;   r<   rA   r@   r9   s              rB   r  r  ~  s8   	L4-	0
	-/;	<= = DPPR($$R8P,P	MD%=	1
	-/<	=> > GTT8&&r?;T-T""7GOO<'

 
 
6%5!,L/=I&13|3D$0C"&(' ""$\67<	.! Q
 Us   D30D8seed_generatorreshuffle_each_iterationc	                    t         j                   xs t        j                         }	|	j                  }
|
j                  r&	 t	        j
                  |	d|| |||d|d|d|d|      }|S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d	|z        |D cg c]  }t#        j&                  |d       }}|d
}t#        j(                  |d      }|d}t#        j*                  |d      }t-        j.                  d| ||||||||
      \  }}}}|dd }t#        j0                         rjd|j3                  d      d|j5                  d      d|j5                  d      d|j5                  d      f}|j6                  }t#        j8                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||||||	
      S # t        j                  $ r Y w xY wc c}w c c}w )aL  TODO: add doc.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    seed: A `Tensor` of type `int64`.
    seed2: A `Tensor` of type `int64`.
    seed_generator: A `Tensor` of type `resource`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    reshuffle_each_iteration: An optional `bool`. Defaults to `True`.
    metadata: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  GlobalShuffleDatasetr  r   r   rZ  N)r  r   r   rZ  r   r   QExpected list for 'output_types' argument to 'global_shuffle_dataset' Op, not %r.RExpected list for 'output_shapes' argument to 'global_shuffle_dataset' Op, not %r.Tr  )	r   r]  r^  r  r   r   r  rZ  r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   %global_shuffle_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  r  r1   r2   r3   r  r4   r5   r6   )r   r]  r^  r  r   r   r  rZ  r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                       rB   global_shuffle_datasetr	    s   " 
			0h..0$#\\
11$dM424Lo}H	g
 n 
L4-	0
	/1=	>? ? DPPR($$R8P,P	MD%=	1
	/1>	?@ @ GTT8&&r?;T-T%#%//0HJdeHx4('88m$&+N-9.;9Q)1>!QX QK'""$(  !;<nll>*Oll?+Zll:&	(F
 ::Lfg?('	._ && -
##At,,## 
2
un#;#=$D	2 2
 ## 
 Q
 Us<    $G IIH'HHHH4 4I
Izraw_ops.GlobalShuffleDatasetc
                 t   t        |t        t        f      st        d|z        |D 
cg c]  }
t	        j
                  |
d       }}
t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|d}t	        j                  |d      }|d}t	        j                  |d      }t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }| |||g}d|d|d|d|f}t	        j                  d	d
|||	|      }t	        j                          rt	        j"                  d|||       |\  }|S c c}
w c c}w )Nr  r   r  r   Tr  r  rZ  s   GlobalShuffleDatasetrF   rG   r  )r*   r+   r,   r-   r.   r/   r0   r  r  r%   rJ   rK   rL   rM   r	  r   r3   r6   )r   r]  r^  r  r   r   r  rZ  r   r   r;   r<   rA   r@   r9   s                  rB   r  r    s   	L4-	0
	/1=	>? ? DPPR($$R8P,P	MD%=	1
	/1>	?@ @ GTT8&&r?;T-T%#%//0HJdeHx4(((H-			gmm	4$

 
 
6%)).':J:JK.un=,&(@,

& 4a#)s?'""$fg?('	.5 Q
 Us   F00F5c                 *   t         j                   xs t        j                         }|j                  }|j                  r+	 t	        j
                  |d|| ||||d|d|d|d|d|	d|
      }|S t        |	t        t        f      st!        d
|	z        |	D cg c]  }t#        j$                  |d       }	}t        |
t        t        f      st!        d|
z        |
D cg c]  }t#        j&                  |d       }
}t)        j*                  d| |||||||||	|
|      \  }}}}|dd }t#        j,                         rd|j/                  d      d|j/                  d      d|j/                  d      d|j/                  d      d|j/                  d      d|j/                  d      d|j/                  d      d|j/                  d      d|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||||||	|
||	      S # t        j                  $ r Y w xY wc c}w c c}w )r  GroupByReducerDatasetr  r  r  r  r   r   Nr  SExpected list for 'output_types' argument to 'group_by_reducer_dataset' Op, not %r.TExpected list for 'output_shapes' argument to 'group_by_reducer_dataset' Op, not %r.r  r  r  r  r  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   'group_by_reducer_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r  s                          rB   group_by_reducer_datasetr    s   L 
			0h..0$#\\11%t] ";#%BHk9m_m^o}6g n 
L4-	0
	13?	@A A DPPR($$R8P,P	MD%=	1
	13@	AB B GTT8&&r?;T-T'88}:R;T=X?\*2i-8/<.:/<4
I!QX QK'""$#,,z2Kll;'ll=)?ll?+-Hll67*ll78,ll9:.ll;<nll>*Oll?+-F ::Lvw@('	.m && -
##At,,## 
4
13L
%'Dyk%L%Dd< < ## 
 Q
 Ur  zraw_ops.GroupByReducerDatasetc                 n   t        |	t        t        f      st        d|	z        |	D cg c]  }t	        j
                  |d       }	}t        |
t        t        f      st        d|
z        |
D cg c]  }t	        j                  |d       }
}t	        j                  ||      \  }}t	        j                  ||      \  }}t	        j                  ||      \  }}t	        j                  ||      \  }}t        j                  | t        j                        } | gt        |      z   t        |      z   t        |      z   t        |      z   }d|d|d|d|d	|d
|d|d|d|	d|
f}t	        j                  dd||||      }t	        j                         rt	        j                  d|||       |\  }|S c c}w c c}w )Nr  r   r  r   r  r  r  r  r  r  r  r  s   GroupByReducerDatasetrF   rG   r  r  r  s                         rB   r  r  t  s2   	L4-	0
	13?	@A A DPPR($$R8P,P	MD%=	1
	13@	AB B GTT8&&r?;T-T>F>e>ef~  AD  ?E;!#;@H@g@g  iB  DG  AH="$=DLDkDk  mH  JM  ENA$&AHPHoHo  qN  PS  ITE&(E((H-4(@#AADIbDccfj  lG  gH  H  KO  Pm  Kn  n,+y-/J!#?"$B$&F&="& 5q#)s?'""$vw@('	.3 Q
 Ur  c                 6   t         j                   xs t        j                         }|j                  }|j                  r*	 t	        j
                  |d|
| |||d|d|d|d|d|d|	      }|S t        |t        t        f      st!        d
|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}|	d}	t#        j(                  |	d      }	t+        j,                  d| |||||||||	|
      \  }}}}|dd }t#        j.                         rd|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      f}|j2                  }t#        j4                  d|||       |\  }|S # t        j                  $ r }t        j                  ||
       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||||||	|
|	      S # t        j                  $ r Y $w xY wc c}w c c}w )a  Creates a dataset that computes a windowed group-by on `input_dataset`.

  // TODO(mrry): Support non-int64 keys.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    key_func_other_arguments: A list of `Tensor` objects.
    reduce_func_other_arguments: A list of `Tensor` objects.
    window_size_func_other_arguments: A list of `Tensor` objects.
    key_func: A function decorated with @Defun.
      A function mapping an element of `input_dataset`, concatenated
      with `key_func_other_arguments` to a scalar value of type DT_INT64.
    reduce_func: A function decorated with @Defun.
    window_size_func: A function decorated with @Defun.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    metadata: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  GroupByWindowDatasetr  r  r  r   r   rZ  N)r  r  r  r   r   rZ  r   r   RExpected list for 'output_types' argument to 'group_by_window_dataset' Op, not %r.SExpected list for 'output_shapes' argument to 'group_by_window_dataset' Op, not %r.r  )r   r  r  r  r  r  r  r   r   rZ  r   r  r  r  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   &group_by_window_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  r1   r2   r3   r4   r5   r6   )r   r  r  r  r  r  r  r   r   rZ  r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                         rB   group_by_window_datasetr    s   . 
			0h..0$#\\11$dM "=(*h')9>o}j(Lg n 
L4-	0
	02>	?@ @ DPPR($$R8P,P	MD%=	1
	02?	@A A GTT8&&r?;T-THx4('88m9Q<WAa)1{1A-9.;)1	>!QX QK'""$#,,z2Mll=)+=ll-.0Kll67,ll9:1ll>?cll>:Oll?+Zll:&
(F ::Lfg?('	.m && -
##At,,## 
3
1
%'G+,%tO O ## 
 Q
 Us<    (H JJI(III I7 7JJzraw_ops.GroupByWindowDatasetc                 T   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|	d}	t	        j                  |	d      }	t	        j                  ||      \  }}t	        j                  ||      \  }}t	        j                  ||      \  }}t        j                  | t        j                        } | gt        |      z   t        |      z   t        |      z   }d|d|d	|d
|d|d|d|d|d|	f}t	        j                  dd||||
      }t	        j                         rt	        j                  d|||       |\  }|S c c}w c c}w )Nr  r   r  r   r  rZ  r  r  r  r  r  r  s   GroupByWindowDatasetrF   rG   r  r*   r+   r,   r-   r.   r/   r0   r  r   r%   rJ   rK   rL   r   r3   r6   )r   r  r  r  r  r  r  r   r   rZ  r   r   r;   r<   r  r  r  rA   r@   r9   s                       rB   r  r    s   	L4-	0
	02>	?@ @ DPPR($$R8P,P	MD%=	1
	02?	@A A GTT8&&r?;T-THx4(>F>e>ef~  AD  ?E;!#;DLDkDk  mH  JM  ENA$&ANVNuNu  wW  Y\  O]K)+K((H-4(@#AADIdDeehl  nN  iO  O,-&(C!#A$&I)><=*h8& 4a#)s?'""$fg?('	.5 Q
 Us   F 0F%c                 @   t         j                   xs t        j                         }|j                  }|j                  r!	 t	        j
                  |d|| d|d|d|
      }|S t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j$                  |	d       }}	t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j&                  |
d       }}
|d	}t#        j(                  |d      }t+        j,                  d| ||||
      \  }}}}|dd }t#        j.                         rYd|j1                  d      d|j1                  d      d|j3                  d      f}|j4                  }t#        j6                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}	w c c}
w )r  IgnoreErrorsDatasetr   r   r  Nr  PExpected list for 'output_types' argument to 'ignore_errors_dataset' Op, not %r.QExpected list for 'output_shapes' argument to 'ignore_errors_dataset' Op, not %r.Fr  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   $ignore_errors_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  r1   r2   r3   r4   r  r5   r6   r  s                   rB   ignore_errors_datasetr    s?    
			0h..0$#\\	11#T=.o}mg n 
L4-	0
	.0<	=> > DPPR($$R8P,P	MD%=	1
	.0=	>? ? GTT8&&r?;T-TK"";>+'88],8-:+6T	C!QX
 QK'""$cll>:Oll?+]  /1F ::L|VW>('	.O && -
##At,,## 
1
l%;T  ## 
 Q
 Ur  zraw_ops.IgnoreErrorsDatasetc                 ^   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|d}t	        j                  |d      }t        j                  | t        j                        } | g}d|d|d|f}	t	        j                  dd||	||	      }
t	        j                         rt	        j                  d
||	|
       |
\  }
|
S c c}w c c}w )Nr  r   r  r   Fr  s   IgnoreErrorsDatasetrF   rG   r  r  r  s              rB   r  r  V  sB   	L4-	0
	.0<	=> > DPPR($$R8P,P	MD%=	1
	.0=	>? ? GTT8&&r?;T-TK"";>+((H-,L/=&3Q|#)s?'""$|VW>('	.' Q
 Ur  output_cardinalityc
                    t         j                   xs t        j                         }
|
j                  }|j                  r(	 t	        j
                  |
d|	| |||d|d|d|d|d|      }|S t        |t        t        f      st!        d	|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d
|z        |D cg c]  }t#        j&                  |d       }}|d}t#        j(                  |d      }t+        j,                  d| |||||||||	      \  }}}}|dd }t#        j.                         rd|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      f}|j2                  }t#        j4                  d|||       |\  }|S # t        j                  $ r }t        j                  ||	       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||||||	|
      S # t        j                  $ r Y  w xY wc c}w c c}w )a  TODO: add doc.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    map_func_other_args: A list of `Tensor` objects.
    index_map_func_other_args: A list of `Tensor` objects.
    output_cardinality: A `Tensor` of type `int64`.
    map_func: A function decorated with @Defun.
    index_map_func: A function decorated with @Defun.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    metadata: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  IndexFlatMapDatasetmap_funcindex_map_funcr   r   rZ  N)r$  r%  r   r   rZ  r   r   QExpected list for 'output_types' argument to 'index_flat_map_dataset' Op, not %r.RExpected list for 'output_shapes' argument to 'index_flat_map_dataset' Op, not %r.r  )
r   map_func_other_argsindex_map_func_other_argsr!  r$  r%  r   r   rZ  r   Tmap_func_argsTindex_map_func_args)r   r   r    r!   r   r"   r#   r$   r%   r&   r'   %index_flat_map_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  r1   r2   r3   r4   r5   r6   )r   r(  r)  r!  r$  r%  r   r   rZ  r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                        rB   index_flat_map_datasetr-  q  s   $ 
			0h..0$#\\
11#T=:M!#5z8..,
H	>g
 n 
L4-	0
	/1=	>? ? DPPR($$R8P,P	MD%=	1
	/1>	?@ @ GTT8&&r?;T-THx4('88]3F9R2D(0.<,8-:X$(	*!QX QK'""$#,,z24Dll+,.>ll+,.Dll12Nll>*Oll?+Zll:&(F ::L|VW>('	.c && -
##At,,## 
2
,.G
x'l%t	O O
 ## 
 Q
 Us<    &G0 I+I00H7HH76H7;I I('I(zraw_ops.IndexFlatMapDatasetc                 R   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|d}t	        j                  |d      }t	        j                  ||
      \  }}t	        j                  ||
      \  }}t        j                  | t        j                        } t        j                  |t        j                        }| gt        |      z   t        |      z   |gz   }d|d|d	|d
|d|d|d|f}t	        j                  dd|||
|	      }t	        j                         rt	        j                   d|||       |\  }|S c c}w c c}w )Nr&  r   r'  r   r  rZ  r$  r%  r*  r+  s   IndexFlatMapDatasetrF   rG   r#  r*   r+   r,   r-   r.   r/   r0   r  r   r%   rJ   rK   rL   rM   r   r3   r6   )r   r(  r)  r!  r$  r%  r   r   rZ  r   r   r;   r<   _attr_Tmap_func_args_attr_Tindex_map_func_argsrA   r@   r9   s                     rB   r,  r,    s   	L4-	0
	/1=	>? ? DPPR($$R8P,P	MD%=	1
	/1>	?@ @ GTT8&&r?;T-THx4(.6.U.UVikn.o++:B:a:ab{  ~A  ;B77((H---.@'--P4(;#<<tD]?^^btauu,"2N(*@nlOX'& 3Q|#)s?'""$|VW>('	.1 Q
 Us   F0F$table_handlec                    t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d|| |      }|S t        j                  d| ||      \  }}}}	|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||      S # t        j                  $ r Y w xY w)zTODO: add doc.

  Args:
    table_handle: A `Tensor` of type `resource`.
    dataset: A `Tensor` of type `variant`.
    name: A name for the operation (optional).

  Returns:
    The created Operation.
  InitializeTableFromDatasetNr   )r2  rX  r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   ,initialize_table_from_dataset_eager_fallbackr)   r1   r2   )
r2  rX  r   r7   r8   r9   r:   r=   r>   r?   s
             rB   initialize_table_from_datasetr6    s     
			0h..0$#\\11*D,Ign (88$<.5DB!QX 
* && -
##At,,## 
9
d6 6## 
0    A; ;CB))CCC C+*C+z"raw_ops.InitializeTableFromDatasetc                     t        j                  | t        j                        } t        j                  |t        j                        }| |g}d }t        j                  dd||||      }d }|S )Ns   InitializeTableFromDatasetr   rG   )r%   rJ   rK   r	  rL   r.   r   )r2  rX  r   r   rA   r@   r9   s          rB   r5  r5    sj    ''g6F6FG,""7GOO<'(,&:A$0C"&(' '	.r   c                 \   t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d||       }|S t        j                  d| |      \  }}}}|dd }t        j                          r&d}	|j"                  }
t        j$                  d|
|	|       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||      S # t        j                  $ r Y w xY w)r  IteratorGetDeviceNr   r  r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   "iterator_get_device_eager_fallbackr)   r1   r2   r.   r3   r5   r6   r  s              rB   iterator_get_devicer<    s(    
			0h..0$#\\11!43gn (88hT;!QXQK'""$F::L\67<('	.' && -
##At,,## 
/
4) )## 
r   zraw_ops.IteratorGetDevicec                     t        j                  | t        j                        } | g}d }t	        j
                  dd||||      }t	        j                         rt	        j                  d|||       |\  }|S )Ns   IteratorGetDevicerF   rG   r:  r  r  s         rB   r;  r;  ;  ss    ##Hg.>.>?(,&11\#)s?'""$\67<('	.r   c                 \   t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d||       }|S t        j                  d| |      \  }}}}|dd }t        j                          r&d}	|j"                  }
t        j$                  d|
|	|       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||      S # t        j                  $ r Y w xY w)a;  Returns the serialized model proto of an iterator resource.

  Returns the serialized model proto of an iterator resource.

  Args:
    iterator: A `Tensor` of type `resource`.
      An resource from an dataset iterator.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `string`.
  IteratorGetModelProtoNr   r  r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   'iterator_get_model_proto_eager_fallbackr)   r1   r2   r.   r3   r5   r6   r  s              rB   iterator_get_model_protorA  H  s)    
			0h..0$#\\11%tX7gn (88(?!QXQK'""$F::Lvw@('	.' && -
##At,,## 
4
4) )## 
r   zraw_ops.IteratorGetModelProtoc                     t        j                  | t        j                        } | g}d }t	        j
                  dd||||      }t	        j                         rt	        j                  d|||       |\  }|S )Ns   IteratorGetModelProtorF   rG   r?  r  r  s         rB   r@  r@  t  st    ##Hg.>.>?(,&5q#)s?'""$vw@('	.r   c           
         t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d|| d|d|      }|S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j&                  |	d       }}	t)        j*                  d| |||      \  }
}
}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||||      S # t        j                  $ r Y w xY wc c}w c c}	w )	a	  Creates a dataset that emits the key-value pairs in one or more LMDB files.

  The Lightning Memory-Mapped Database Manager, or LMDB, is an embedded binary
  key-value database. This dataset can read the contents of LMDB database files,
  the names of which generally have the `.mdb` suffix.

  Each output element consists of a key-value pair represented as a pair of
  scalar string `Tensor`s, where the first `Tensor` contains the key and the
  second `Tensor` contains the value.

  LMDB uses different file formats on big- and little-endian machines.
  `LMDBDataset` can only read files in the format of the host machine.

  Args:
    filenames: A `Tensor` of type `string`.
      A scalar or a vector containing the name(s) of the binary file(s) to be
      read.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  LMDBDatasetr   r   Nr   GExpected list for 'output_types' argument to 'lmdb_dataset' Op, not %r.HExpected list for 'output_shapes' argument to 'lmdb_dataset' Op, not %r.r  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   lmdb_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r  s                  rB   lmdb_datasetrH    s   2 
			0h..0$#\\11mT9nl(g n 
L4-	0
	%'3	45 5 DPPR($$R8P,P	MD%=	1
	%'4	56 6 GTT8&&r?;T-T'88%2?!QX QK'""$cll>:Oll?+-F::L|VW6('	.A && -
##At,,## 
(
,m  ## 
 Q
 Ur  zraw_ops.LMDBDatasetc                 &   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } | g}d|d|f}t	        j                  dd||||      }	t	        j                         rt	        j                  d|||	       |	\  }	|	S c c}w c c}w )	NrE  r   rF  r   s   LMDBDatasetrF   rG   rD  r  r  s
             rB   rG  rG    s   	L4-	0
	%'3	45 5 DPPR($$R8P,P	MD%=	1
	%'4	56 6 GTT8&&r?;T-T$$Y?),L/=I&^Q|#)s?'""$|VW6('	. Q
 Ur  c                    t         j                   xs t        j                         }|j                  }|j                  r 	 t	        j
                  |d|| |d|d|	      }|S t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j$                  |	d       }}	t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j&                  |
d       }}
t)        j*                  d| ||||      \  }}}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}	w c c}
w )	r  LatencyStatsDatasetr   r   Nr   PExpected list for 'output_types' argument to 'latency_stats_dataset' Op, not %r.QExpected list for 'output_shapes' argument to 'latency_stats_dataset' Op, not %r.r{   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   $latency_stats_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r}   s                   rB   latency_stats_datasetrO    s    
			0h..0$#\\11#T=#~o}6g n 
L4-	0
	.0<	=> > DPPR($$R8P,P	MD%=	1
	.0=	>? ? GTT8&&r?;T-T'88],8-:G!QX QK'""$cll>:Oll?+-F::L|VW>('	.C && -
##At,,## 
1
<%Dd< < ## 
 Q
 UrD   zraw_ops.LatencyStatsDatasetc                 p   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } t        j                  |t        j                        }| |g}d|d|f}	t	        j                  dd||	||      }
t	        j                         rt	        j                  d||	|
       |
\  }
|
S c c}w c c}w )	NrL  r   rM  r   s   LatencyStatsDatasetrF   rG   rK  rZ   r   s              rB   rN  rN    s7   	L4-	0
	.0<	=> > DPPR($$R8P,P	MD%=	1
	.0=	>? ? GTT8&&r?;T-T((H-sGNN3#%,L/=I&3Q|#)s?'""$|VW>('	.! Q
 UrN   defaultdeterministicc                    t         j                   xs t        j                         }|j                  }|j                  r*	 t	        j
                  |d|| |||||d|d|	d|d|d|
      }|S t        |t        t        f      st!        d	|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d
|z        |D cg c]  }t#        j&                  |d       }}|	d}	t#        j(                  |	d      }	|
d}
t#        j(                  |
d      }
t+        j,                  d| |||||||||	|
|      \  }}}}|dd }t#        j.                         rd|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      f}|j2                  }t#        j4                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||||	|||
||      S # t        j                  $ r Y w xY wc c}w c c}w )a  Creates a dataset that applies `f` to the outputs of `input_dataset`.

  The resulting dataset is similar to the `InterleaveDataset`, with the exception
  that if retrieving the next value from a dataset would cause the requester to
  block, it will skip that input dataset. This dataset is especially useful
  when loading data from a variable-latency datastores (e.g. HDFS, GCS), as it
  allows the training step to proceed so long as some data is available.

  !! WARNING !! This dataset is not deterministic!

  Args:
    input_dataset: A `Tensor` of type `variant`.
    other_arguments: A list of `Tensor` objects.
    cycle_length: A `Tensor` of type `int64`.
    block_length: A `Tensor` of type `int64`.
    buffer_output_elements: A `Tensor` of type `int64`.
    prefetch_input_elements: A `Tensor` of type `int64`.
    f: A function decorated with @Defun.
      A function mapping elements of `input_dataset`, concatenated with
      `other_arguments`, to a Dataset variant that contains elements matching
      `output_types` and `output_shapes`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    deterministic: An optional `string`. Defaults to `"default"`.
    metadata: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  !LegacyParallelInterleaveDatasetV2r  rR  r   r   rZ  N)r  rR  r   r   rZ  r   r   `Expected list for 'output_types' argument to 'legacy_parallel_interleave_dataset_v2' Op, not %r.aExpected list for 'output_shapes' argument to 'legacy_parallel_interleave_dataset_v2' Op, not %r.rQ  r  )r   r   r2  r3  r5  r6  r  r   r   rR  rZ  r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   4legacy_parallel_interleave_dataset_v2_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  r1   r2   r3   r4   r5   r6   )r   r   r2  r3  r5  r6  r  r   r   rR  rZ  r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                          rB   %legacy_parallel_interleave_dataset_v2rX  1  s   > 
			0h..0$#\\1114|5Ka-o}Hg n 
L4-	0
	>@L	MN N DPPR($$R8P,P	MD%=	1
	>@M	NO O GTT8&&r?;T-TM##M?C-Hx4('88+==L:F:FDZE\/0|;H;H6>T
K!QX QK'""$3<<$oll?+\ll<(.ll>*Oll?+Zll:&(F ::L+\67L('	.i && -
##At,,## 
A
,
 "9Q%L%t	O O
 ## 
 Q
 Us<    (G= I:I?=IH++III   I76I7z)raw_ops.LegacyParallelInterleaveDatasetV2c                    t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|	d}	t	        j                  |	d      }	|
d}
t	        j                  |
d      }
t	        j                  ||      \  }}t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }| gt        |      z   ||||gz   }d	|d|	d
|d|d|d|
f}t	        j                  dd||||      }t	        j                         rt	        j                   d|||       |\  }|S c c}w c c}w )NrU  r   rV  r   rQ  rR  r  rZ  r  r   s!   LegacyParallelInterleaveDatasetV2rF   rG   rT  r/  )r   r   r2  r3  r5  r6  r  r   r   rR  rZ  r   r   r;   r<   r   rA   r@   r9   s                      rB   rW  rW    s   	L4-	0
	>@L	MN N DPPR($$R8P,P	MD%=	1
	>@M	NO O GTT8&&r?;T-TM##M?C-Hx4(&.&M&Mo_b&c#O((H-''gmmD,''gmmD,112H'--X 223JGMMZ4#88L,Xn  qH  <I  I,O]LNL/X'& A1$0C"&(' ""$+\67L('	.; Q
 Us   H0Hc                 b   t         j                   xs t        j                         }|j                  }|j                  r!	 t	        j
                  |d|| d|d|d|
      }|S t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j$                  |	d       }}	t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j&                  |
d       }}
|d	}t#        j(                  |d      }t+        j,                  d| ||||
      \  }}}}|dd }t#        j.                         rjd|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      f}|j2                  }t#        j4                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}	w c c}
w )a  Creates a dataset that emits each of `tensors` once.

  Args:
    tensors: A list of `Tensor` objects.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    metadata: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  ListDatasetr   r   rZ  Nr   r   rZ  r   r   GExpected list for 'output_types' argument to 'list_dataset' Op, not %r.HExpected list for 'output_shapes' argument to 'list_dataset' Op, not %r.r  )tensorsr   r   rZ  r   Tinput_types)r   r   r    r!   r   r"   r#   r$   r%   r&   r'   list_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  r1   r2   r3   r4   r5   r6   )r_  r   r   rZ  r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                   rB   list_datasetrb    sF    
			0h..0$#\\11mT7NL
H>g n 
L4-	0
	%'3	45 5 DPPR($$R8P,P	MD%=	1
	%'4	56 6 GTT8&&r?;T-THx4('88w\%2X "!QX QK'""$cll>:Nll>*Oll?+Zll:&(F ::L|VW6('	.M && -
##At,,## 
(
M$D2 2 ## 
 Q
 Us<    F1 H'H,1G8GG87G8<H H$#H$zraw_ops.ListDatasetc                 \   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|d}t	        j                  |d      }t	        j                  | |      \  }} t        |       }	d|d|d|d|f}
t	        j                  dd	|	|
||
      }t	        j                         rt	        j                  d|	|
|       |\  }|S c c}w c c}w )Nr]  r   r^  r   r  rZ  r`  s   ListDatasetrF   rG   r[  )r*   r+   r,   r-   r.   r/   r0   r  r   r   r3   r6   )r_  r   r   rZ  r   r   r;   r<   _attr_Tinput_typesrA   r@   r9   s               rB   ra  ra    sK   	L4-	0
	%'3	45 5 DPPR($$R8P,P	MD%=	1
	%'4	56 6 GTT8&&r?;T-THx4( ( G GQT Ugg,.=*h8&^Q|#)s?'""$|VW6('	.' Q
 Us   D$0D)snapshot_pathc           
         t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d|| d|d|      }|S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j&                  |	d       }}	t)        j*                  d| |||      \  }
}
}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||||      S # t        j                  $ r Y w xY wc c}w c c}	w )	aO  TODO: add doc.

  Args:
    snapshot_path: A `Tensor` of type `string`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  ListSnapshotChunksDatasetr   r   Nr   WExpected list for 'output_types' argument to 'list_snapshot_chunks_dataset' Op, not %r.XExpected list for 'output_shapes' argument to 'list_snapshot_chunks_dataset' Op, not %r.)re  r   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   +list_snapshot_chunks_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   )re  r   r   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                  rB   list_snapshot_chunks_datasetrk    s    
			0h..0$#\\11)4o}Fg n 
L4-	0
	57C	DE E DPPR($$R8P,P	MD%=	1
	57D	EF F GTT8&&r?;T-T'88#=2>3@tM!QX QK'""$cll>:Oll?+-F::L#\67D('	.C && -
##At,,## 
8
l%Dd< < ## 
 Q
 Ur  z!raw_ops.ListSnapshotChunksDatasetc                 &   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } | g}d|d|f}t	        j                  dd||||      }	t	        j                         rt	        j                  d|||	       |	\  }	|	S c c}w c c}w )	Nrh  r   ri  r   s   ListSnapshotChunksDatasetrF   rG   rg  r  )
re  r   r   r   r   r;   r<   rA   r@   r9   s
             rB   rj  rj  N  s(   	L4-	0
	57C	DE E DPPR($$R8P,P	MD%=	1
	57D	EF F GTT8&&r?;T-T((G-,L/=I&91$0C"&(' ""$#\67D('	.! Q
 Ur  pathcompressionc                    t         j                   xs t        j                         }|j                  }|j                  r$	 t	        j
                  |d|| |d|d|d|d|      }	|	S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d	|z        |D cg c]  }t#        j&                  |d       }}|d
}t#        j(                  |d      }t+        j,                  d| ||||||      \  }}}}|dd }	t#        j.                         r{d|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      f
}|j2                  }t#        j4                  d|||	       |	\  }	|	S # t        j                  $ r }
t        j                  |
|       Y d}
~
nd}
~
wt        j                  $ r Y nw xY w	 t        | |||||||      S # t        j                  $ r Y w xY wc c}w c c}w )a  TODO: add doc.

  Args:
    path: A `Tensor` of type `string`.
    reader_func_other_args: A list of `Tensor` objects.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    reader_func: A function decorated with @Defun.
    compression: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  LoadDatasetr   r   rn  reader_funcN)r   r   rn  rq  r   r   GExpected list for 'output_types' argument to 'load_dataset' Op, not %r.HExpected list for 'output_shapes' argument to 'load_dataset' Op, not %r.r  )rm  reader_func_other_argsr   r   rq  rn  r   Treader_func_args)r   r   r    r!   r   r"   r#   r$   r%   r&   r'   load_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  r1   r2   r3   r4   r5   r6   )rm  rt  r   r   rq  rn  r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                     rB   load_datasetrw  f  sk    
			0h..0$#\\	11mT4)?o}{M;@g n 
L4-	0
	%'3	45 5 DPPR($$R8P,P	MD%=	1
	%'4	56 6 GTT8&&r?;T-TK!!+}=+'88D.D$0#.K "!QX QK'""$cll>:Oll?+]ll=)=ll=)+>ll./	1F
 ::L|VW6('	.U && -
##At,,## 
(
&\%;!$8 8 ## 
 Q
 U<    "G H?IHG55HHH% %H<;H<zraw_ops.LoadDatasetc           
         t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D 	cg c]  }	t	        j                  |	d       }}	|d}t	        j                  |d      }t	        j                  ||      \  }
}t        j                  | t        j                        } | gt        |      z   }d|d|d|d|d|
f
}t	        j                  d	d
||||      }t	        j                         rt	        j                  d|||       |\  }|S c c}w c c}	w )Nrr  r   rs  r   r  rn  rq  ru  s   LoadDatasetrF   rG   rp  )r*   r+   r,   r-   r.   r/   r0   r  r   r%   rJ   rK   r[   r   r3   r6   )rm  rt  r   r   rq  rn  r   r   r;   r<   _attr_Treader_func_argsrA   r@   r9   s                 rB   rv  rv    ss   	L4-	0
	%'3	45 5 DPPR($$R8P,P	MD%=	1
	%'4	56 6 GTT8&&r?;T-TK!!+}=+4<4[4[\rtw4x11			gnn	5$$566,L/=m[:M& ^Q|#)s?'""$|VW6('	.+ Q
 U   E0Ec                    t         j                   xs t        j                         }|j                  }|j                  r)	 t	        j
                  |d|
| ||||d|d|d|d|d|	      }|S t        |t        t        f      st!        d	|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d
|z        |D cg c]  }t#        j&                  |d       }}|d}t#        j(                  |d      }|	d}	t#        j*                  |	d      }	t-        j.                  d| |||||||||	|
      \  }}}}|dd }t#        j0                         rd|j3                  d      d|j3                  d      d|j3                  d      d|j3                  d      d|j5                  d      d|j3                  d      f}|j6                  }t#        j8                  d|||       |\  }|S # t        j                  $ r }t        j                  ||
       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||||||	|
|      S # t        j                  $ r Y w xY wc c}w c c}w )a  Creates a dataset that fuses mapping with batching.

  Creates a dataset that applies `f` to the outputs of `input_dataset` and then
  batches `batch_size` of them.

  Unlike a "MapDataset", which applies `f` sequentially, this dataset invokes up
  to `batch_size * num_parallel_batches` copies of `f` in parallel.

  Args:
    input_dataset: A `Tensor` of type `variant`.
      A variant tensor representing the input dataset.
    other_arguments: A list of `Tensor` objects.
      A list of tensors, typically values that were captured when building a closure
      for `f`.
    batch_size: A `Tensor` of type `int64`.
      A scalar representing the number of elements to accumulate in a
      batch. It determines the number of concurrent invocations of `f` that process
      elements from `input_dataset` in parallel.
    num_parallel_calls: A `Tensor` of type `int64`.
      A scalar representing the maximum number of parallel invocations of the `map_fn`
      function. Applying the `map_fn` on consecutive input elements in parallel has
      the potential to improve input pipeline throughput.
    drop_remainder: A `Tensor` of type `bool`.
      A scalar representing whether the last batch should be dropped in case its size
      is smaller than desired.
    f: A function decorated with @Defun.
      A function to apply to the outputs of `input_dataset`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    preserve_cardinality: An optional `bool`. Defaults to `False`.
    metadata: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  MapAndBatchDatasetr  r   r   r  rZ  N)r  r   r   r  rZ  r   r   PExpected list for 'output_types' argument to 'map_and_batch_dataset' Op, not %r.QExpected list for 'output_shapes' argument to 'map_and_batch_dataset' Op, not %r.Fr  )r   r   r>  r  r  r  r   r   r  rZ  r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   $map_and_batch_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  r  r1   r2   r3   r4   r  r5   r6   )r   r   r>  r  r  r  r   r   r  rZ  r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                         rB   map_and_batch_datasetr    s   J 
			0h..0$#\\
11"D-&Qo} 4j(	Lg
 n 
L4-	0
	.0<	=> > DPPR($$R8P,P	MD%=	1
	.0=	>? ? GTT8&&r?;T-T! !++,@BXYHx4('88M.=)31C-;q+7,93G'/d	<!QX QK'""$3<<$lll<(.ll>*Oll?+-C  !78*ll:&(F ::LlFG=('	.i && -
##At,,## 
1
*6H
AL%3h  ## 
 Q
 Us<    'G; I7I<;IH))III I43I4zraw_ops.MapAndBatchDatasetc                    t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|d}t	        j                  |d      }|	d}	t	        j                  |	d      }	t	        j                  ||      \  }}t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }| gt        |      z   |||gz   }d	|d
|d|d|d|d|	f}t	        j                   dd||||
      }t	        j"                         rt	        j$                  d|||       |\  }|S c c}w c c}w )Nr~  r   r  r   Fr  r  rZ  r  r   s   MapAndBatchDatasetrF   rG   r}  )r*   r+   r,   r-   r.   r/   r0   r  r  r   r%   rJ   rK   rL   rM   r   r   r3   r6   )r   r   r>  r  r  r  r   r   r  rZ  r   r   r;   r<   r   rA   r@   r9   s                     rB   r  r  2  s   	L4-	0
	.0<	=> > DPPR($$R8P,P	MD%=	1
	.0=	>? ? GTT8&&r?;T-T! !++,@BXYHx4(&.&M&Mo_b&c#O((H-%%j'--@*--.@'--P)).',,G.4#88JHZ\j;kk,L"2N0F
H.& 2Al#)s?'""$lFG=('	.7 Q
 Us   G0G!c                 \   t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d||       }|S t        j                  d| |      \  }}}}|dd }t        j                          r&d}	|j"                  }
t        j$                  d|
|	|       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||      S # t        j                  $ r Y w xY w)r  MatchingFilesDatasetNr   r  r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   %matching_files_dataset_eager_fallbackr)   r1   r2   r.   r3   r5   r6   r  s              rB   matching_files_datasetr  U  s(    
			0h..0$#\\11$dH6gn (88>!QXQK'""$F::Lfg?('	.' && -
##At,,## 
2
4) )## 
r   zraw_ops.MatchingFilesDatasetc                     t        j                  | t        j                        } | g}d }t	        j
                  dd||||      }t	        j                         rt	        j                  d|||       |\  }|S )Ns   MatchingFilesDatasetrF   rG   r  r1  r  s         rB   r  r  ~  sq    ##Hgnn=(,&4a#)s?'""$fg?('	.r   c                    t         j                   xs t        j                         }|j                  }|j                  r 	 t	        j
                  |d|| |d|d|	      }|S t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j$                  |	d       }}	t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j&                  |
d       }}
t)        j*                  d| ||||      \  }}}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}	w c c}
w )	r  MaxIntraOpParallelismDatasetr   r   Nr   [Expected list for 'output_types' argument to 'max_intra_op_parallelism_dataset' Op, not %r.\Expected list for 'output_shapes' argument to 'max_intra_op_parallelism_dataset' Op, not %r.r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   /max_intra_op_parallelism_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r"  s                   rB    max_intra_op_parallelism_datasetr    s    
			0h..0$#\\	11,dM .,(g n 
L4-	0
	9;G	HI I DPPR($$R8P,P	MD%=	1
	9;H	IJ J GTT8&&r?;T-T'88&mAY5A6C-13!QX QK'""$cll>:Oll?+-F::L&fgG('	.G && -
##At,,## 
<
1%Dd< < ## 
 Q
 UrD   z$raw_ops.MaxIntraOpParallelismDatasetc                 p   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } t        j                  |t        j                        }| |g}d|d|f}	t	        j                  dd||	||      }
t	        j                         rt	        j                  d||	|
       |
\  }
|
S c c}w c c}w )	Nr  r   r  r   s   MaxIntraOpParallelismDatasetrF   rG   r  rI   r%  s              rB   r  r    sD   	L4-	0
	9;G	HI I DPPR($$R8P,P	MD%=	1
	9;H	IJ J GTT8&&r?;T-T((H-!334Lgmm\!9:,L/=I&<a$0C"&(' ""$&fgG('	.# Q
 UrN   c           
         t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d|| d|d|      }|S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j&                  |	d       }}	t)        j*                  d| |||      \  }
}
}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||||      S # t        j                  $ r Y w xY wc c}w c c}	w )	r'  NonSerializableDatasetr   r   Nr   SExpected list for 'output_types' argument to 'non_serializable_dataset' Op, not %r.TExpected list for 'output_shapes' argument to 'non_serializable_dataset' Op, not %r.r+  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   'non_serializable_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r-  s                  rB   non_serializable_datasetr    s    
			0h..0$#\\11&m^o}6g n 
L4-	0
	13?	@A A DPPR($$R8P,P	MD%=	1
	13@	AB B GTT8&&r?;T-T'88 /;0=DJ!QX QK'""$cll>:Oll?+-F::L ,A('	.C && -
##At,,## 
4
l%Dd< < ## 
 Q
 Ur  zraw_ops.NonSerializableDatasetc                 &   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } | g}d|d|f}t	        j                  dd||||      }	t	        j                         rt	        j                  d|||	       |	\  }	|	S c c}w c c}w )	Nr  r   r  r   s   NonSerializableDatasetrF   rG   r  r0  r1  s
             rB   r  r    s(   	L4-	0
	13?	@A A DPPR($$R8P,P	MD%=	1
	13@	AB B GTT8&&r?;T-T((H-,L/=I&6$0C"&(' ""$ ,A('	.! Q
 Ur  c                    t         j                   xs t        j                         }|j                  }|j                  r)	 t	        j
                  |d|| ||||||d|d|d|	d|
      }|S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |	t        t        f      st!        d	|	z        |	D cg c]  }t#        j&                  |d       }	}|
d
}
t#        j(                  |
d      }
t+        j,                  d| |||||||||	|
|      \  }}}}|dd }t#        j.                         r{d|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      f
}|j2                  }t#        j4                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||||||	|
||      S # t        j                  $ r Y w xY wc c}w c c}w )a  Creates a dataset that applies `f` to the outputs of `input_dataset`.

  The resulting dataset is similar to the `InterleaveDataset`, with the exception
  that if retrieving the next value from a dataset would cause the requester to
  block, it will skip that input dataset. This dataset is especially useful
  when loading data from a variable-latency datastores (e.g. HDFS, GCS), as it
  allows the training step to proceed so long as some data is available.

  !! WARNING !! If the `sloppy` parameter is set to `True`, the operation of this
  dataset will not be deterministic!

  This dataset has been superseded by `ParallelInterleaveDatasetV2`.  New code
  should use `ParallelInterleaveDatasetV2`.

  The Python API `tf.data.experimental.parallel_interleave` creates instances of
  this op. `tf.data.experimental.parallel_interleave` is a deprecated API.

  Args:
    input_dataset: A `Tensor` of type `variant`.
      Dataset that produces a stream of arguments for the function `f`.
    other_arguments: A list of `Tensor` objects.
      Additional arguments to pass to `f` beyond those produced by `input_dataset`.
      Evaluated once when the dataset is instantiated.
    cycle_length: A `Tensor` of type `int64`.
      Number of datasets (each created by applying `f` to the elements of
      `input_dataset`) among which the `ParallelInterleaveDataset` will cycle in a
      round-robin fashion.
    block_length: A `Tensor` of type `int64`.
      Number of elements at a time to produce from each interleaved invocation of a
      dataset returned by `f`.
    sloppy: A `Tensor` of type `bool`.
      If `True`, return elements as they become available, even if that means returning
      these elements in a non-deterministic order. Sloppy operation may result in better
      performance in the presence of stragglers, but the dataset will still block if
      all of its open streams are blocked.
      If `False`, always return elements in a deterministic order.
    buffer_output_elements: A `Tensor` of type `int64`.
      The number of elements each iterator being interleaved should buffer (similar
      to the `.prefetch()` transformation for each interleaved iterator).
    prefetch_input_elements: A `Tensor` of type `int64`.
      Determines the number of iterators to prefetch, allowing buffers to warm up and
      data to be pre-fetched without blocking the main thread.
    f: A function decorated with @Defun.
      A function mapping elements of `input_dataset`, concatenated with
      `other_arguments`, to a Dataset variant that contains elements matching
      `output_types` and `output_shapes`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    metadata: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  ParallelInterleaveDatasetr  r   r   rZ  N)r  r   r   rZ  r   r   VExpected list for 'output_types' argument to 'parallel_interleave_dataset' Op, not %r.WExpected list for 'output_shapes' argument to 'parallel_interleave_dataset' Op, not %r.r  )r   r   r2  r3  r4  r5  r6  r  r   r   rZ  r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   *parallel_interleave_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  r1   r2   r3   r4   r5   r6   )r   r   r2  r3  r4  r5  r6  r  r   r   rZ  r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                          rB   parallel_interleave_datasetr  5  s   n 
			0h..0$#\\11)4|V 7ao}Hg n 
L4-	0
	46B	CD D DPPR($$R8P,P	MD%=	1
	46C	DE E GTT8&&r?;T-THx4('88#=5D2>2>v<R=T'(|3@.6T	C!QX QK'""$3<<$lll<(.ll>*Oll?+Zll:&	(F
 ::L#\67D('	._ && -
##At,,## 
7
,f
 "9Q#=$D	2 2
 ## 
 Q
 Us<    'G IIH$G??HHH4 4I
Iz!raw_ops.ParallelInterleaveDatasetc           
      (   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |	t        t        f      st        d|	z        |	D cg c]  }t	        j                  |d       }	}|
d}
t	        j                  |
d      }
t	        j                  ||      \  }}t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }| gt        |      z   |||||gz   }d|d|d|d|	d|
f
}t	        j                  d	d
||||      }t	        j                          rt	        j"                  d|||       |\  }|S c c}w c c}w )Nr  r   r  r   r  rZ  r  r   s   ParallelInterleaveDatasetrF   rG   r  )r*   r+   r,   r-   r.   r/   r0   r  r   r%   rJ   rK   rL   rM   r   r   r3   r6   )r   r   r2  r3  r4  r5  r6  r  r   r   rZ  r   r   r;   r<   r   rA   r@   r9   s                      rB   r  r    s   	L4-	0
	46B	CD D DPPR($$R8P,P	MD%=	1
	46C	DE E GTT8&&r?;T-THx4(&.&M&Mo_b&c#O((H-''gmmD,''gmmD,!!&',,7&112H'--X 223JGMMZ4#88L,X^`v  yP  <Q  Q,L"2N
HF&91$0C"&(' ""$#\67D('	.5 Q
 Us   H
0Hc                 	   t         j                   xs t        j                         }|j                  }|j                  r1	 t	        j
                  |d|| ||d|d|d|d|d|d|d|	d	|
d
|d|      }|S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j(                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j(                  |d       }}|	d}	t#        j*                  |	d      }	|
g }
t        |
t        t        f      st!        d|
z        |
D cg c]  }t#        j$                  |d	       }
}|g }t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d
       }}|g }t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}t-        j.                  d| |||||||||	|
|||      \  }}}}|dd }t#        j0                         rd|j3                  d      d|j3                  d      d|j3                  d      d|j3                  d      d|j3                  d      d|j3                  d      d|j3                  d      d|j5                  d      d	|j3                  d	      d
|j3                  d
      d|j3                  d      f}|j6                  }t#        j8                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||||||	|
||||      S # t        j                  $ r Y Iw xY wc c}w c c}w c c}w c c}w c c}w c c}w c c}w c c}w c c}w )a	  Transforms `input_dataset` containing `Example` protos as vectors of DT_STRING into a dataset of `Tensor` or `SparseTensor` objects representing the parsed features.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    num_parallel_calls: A `Tensor` of type `int64`.
    dense_defaults: A list of `Tensor` objects with types from: `float32`, `int64`, `string`.
      A dict mapping string keys to `Tensor`s.
      The keys of the dict must match the dense_keys of the feature.
    sparse_keys: A list of `strings`.
      A list of string keys in the examples features.
      The results for these keys will be returned as `SparseTensor` objects.
    dense_keys: A list of `strings`.
      A list of Ndense string Tensors (scalars).
      The keys expected in the Examples features associated with dense values.
    sparse_types: A list of `tf.DTypes` from: `tf.float32, tf.int64, tf.string`.
      A list of `DTypes` of the same length as `sparse_keys`.
      Only `tf.float32` (`FloatList`), `tf.int64` (`Int64List`),
      and `tf.string` (`BytesList`) are supported.
    dense_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`).
      List of tuples with the same length as `dense_keys`.
      The shape of the data for each dense feature referenced by `dense_keys`.
      Required for any input tensors identified by `dense_keys`.  Must be
      either fully defined, or may contain an unknown first dimension.
      An unknown first dimension means the feature is treated as having
      a variable number of blocks, and the output shape along this dimension
      is considered unknown at graph build time.  Padding is applied for
      minibatch elements smaller than the maximum number of blocks for the
      given feature along this dimension.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
      The type list for the return values.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
      The list of shapes being produced.
    sloppy: An optional `bool`. Defaults to `False`.
    ragged_keys: An optional list of `strings`. Defaults to `[]`.
    ragged_value_types: An optional list of `tf.DTypes` from: `tf.float32, tf.int64, tf.string`. Defaults to `[]`.
    ragged_split_types: An optional list of `tf.DTypes` from: `tf.int32, tf.int64`. Defaults to `[]`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  ParseExampleDatasetr@  rA  rB  rC  r   r   r4  ragged_keysragged_value_typesragged_split_typesN)r@  rA  rB  rC  r   r   r4  r  r  r  r   r   OExpected list for 'sparse_keys' argument to 'parse_example_dataset' Op, not %r.NExpected list for 'dense_keys' argument to 'parse_example_dataset' Op, not %r.PExpected list for 'sparse_types' argument to 'parse_example_dataset' Op, not %r.PExpected list for 'dense_shapes' argument to 'parse_example_dataset' Op, not %r.PExpected list for 'output_types' argument to 'parse_example_dataset' Op, not %r.QExpected list for 'output_shapes' argument to 'parse_example_dataset' Op, not %r.FOExpected list for 'ragged_keys' argument to 'parse_example_dataset' Op, not %r.VExpected list for 'ragged_value_types' argument to 'parse_example_dataset' Op, not %r.VExpected list for 'ragged_split_types' argument to 'parse_example_dataset' Op, not %r.)r   r  rJ  r@  rA  rB  rC  r   r   r4  r  r  r  r   rK  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   $parse_example_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r  r/   r0   r  r1   r2   r3   r4   r  r5   r6   )r   r  rJ  r@  rA  rB  rC  r   r   r4  r  r  r  r   r7   r8   r9   r:   r<   r;   r=   r>   r?   r@   rA   s                            rB   parse_example_datasetr    sx   T 
			0h..0$#\\11#T=:L{L*nlo}&-6J02DFg n" 
K$	/
	.0;	<= = ALL"""2}5L+L	Ju	.
	.0:	;< < ?II!!"l3I*I	L4-	0
	.0<	=> > DPPR($$R8P,P	L4-	0
	.0<	=> > EQQb(%%b.9Q,Q	L4-	0
	.0<	=> > DPPR($$R8P,P	MD%=	1
	.0=	>? ? GTT8&&r?;T-T^Ffh/&K	K$	/
	.0;	<= = ALL"""2}5L+L	&u	6
	.0B	CD D Pbb**2/CDbb	&u	6
	.0B	CD D Pbb**2/CDbb'88]2D.<+6:,8,8,8-:6+62D2D$(*!QX QK'""$S\\-8,ll<(.ll>*Hcll86Lcll>:Nll>*Oll?+X  *Mll=)+?ll/02Fll/0	2F ::L|VW>('	.G && -
##At,,## 

1
+^!j#,#=[//dF F ## 
 M
 J
 Q
 R
 Q
 U M c cf    /P> R=S&S-S4S;S S+S 6S%>RQ,,RR	R# #R:9R:zraw_ops.ParseExampleDatasetc                 R   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        |t        t        f      st        d	|z        |D cg c]  }t	        j                  |d
       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|	d}	t	        j                  |	d      }	|
g }
t        |
t        t        f      st        d|
z        |
D cg c]  }t	        j
                  |d       }
}|g }t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|g }t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t	        j                  ||      \  }}t        j                  | t        j                        } t        j                  |t        j                        }| |gt        |      z   }d|d|d|d|d|d
|d|d|	d|
d|d|f}t	        j                  dd||||      }t	        j                          rt	        j"                  d|||       |\  }|S c c}w c c}w c c}w c c}w c c}w c c}w c c}w c c}w c c}w )Nr  r@  r  rA  r  rB  r  rC  r  r   r  r   Fr4  r  r  r  r  r  r  rK  s   ParseExampleDatasetrF   rG   r  rO  )r   r  rJ  r@  rA  rB  rC  r   r   r4  r  r  r  r   r   r<   r;   rP  rA   r@   r9   s                        rB   r  r  k  s   	K$	/
	.0;	<= = ALL"""2}5L+L	Ju	.
	.0:	;< < ?II!!"l3I*I	L4-	0
	.0<	=> > DPPR($$R8P,P	L4-	0
	.0<	=> > EQQb(%%b.9Q,Q	L4-	0
	.0<	=> > DPPR($$R8P,P	MD%=	1
	.0=	>? ? GTT8&&r?;T-T^Ffh/&K	K$	/
	.0;	<= = ALL"""2}5L+L	&u	6
	.0B	CD D Pbb**2/CDbb	&u	6
	.0B	CD D Pbb**2/CDbb!)!H!HY\!],((H---.@'--P!34tN7KK,;j,,o}
FM;0D*,>	@&
 3Q|#)s?'""$|VW>('	.C M
 J
 Q
 R
 Q
 U M c c5   M<0N7N>NNN1N<NN$c                 	   t         j                   xs t        j                         }|j                  }|j                  r1	 t	        j
                  |d|| ||d|d|d|d|d|d|d|	d	|
d
|d|      }|S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j(                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j(                  |d       }}|	d}	t#        j$                  |	d      }	|
g }
t        |
t        t        f      st!        d|
z        |
D cg c]  }t#        j$                  |d	       }
}|g }t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d
       }}|g }t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}t+        j,                  d| |||||||||	|
|||      \  }}}}|dd }t#        j.                         rd|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      d	|j1                  d	      d
|j1                  d
      d|j1                  d      f}|j2                  }t#        j4                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||||||	|
||||      S # t        j                  $ r Y Iw xY wc c}w c c}w c c}w c c}w c c}w c c}w c c}w c c}w c c}w )aI  Transforms `input_dataset` containing `Example` protos as vectors of DT_STRING into a dataset of `Tensor` or `SparseTensor` objects representing the parsed features.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    num_parallel_calls: A `Tensor` of type `int64`.
    dense_defaults: A list of `Tensor` objects with types from: `float32`, `int64`, `string`.
      A dict mapping string keys to `Tensor`s.
      The keys of the dict must match the dense_keys of the feature.
    sparse_keys: A list of `strings`.
      A list of string keys in the examples features.
      The results for these keys will be returned as `SparseTensor` objects.
    dense_keys: A list of `strings`.
      A list of Ndense string Tensors (scalars).
      The keys expected in the Examples features associated with dense values.
    sparse_types: A list of `tf.DTypes` from: `tf.float32, tf.int64, tf.string`.
      A list of `DTypes` of the same length as `sparse_keys`.
      Only `tf.float32` (`FloatList`), `tf.int64` (`Int64List`),
      and `tf.string` (`BytesList`) are supported.
    dense_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`).
      List of tuples with the same length as `dense_keys`.
      The shape of the data for each dense feature referenced by `dense_keys`.
      Required for any input tensors identified by `dense_keys`.  Must be
      either fully defined, or may contain an unknown first dimension.
      An unknown first dimension means the feature is treated as having
      a variable number of blocks, and the output shape along this dimension
      is considered unknown at graph build time.  Padding is applied for
      minibatch elements smaller than the maximum number of blocks for the
      given feature along this dimension.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
      The type list for the return values.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
      The list of shapes being produced.
    deterministic: An optional `string`. Defaults to `"default"`.
      A string indicating the op-level determinism to use. Deterministic controls
      whether the dataset is allowed to return elements out of order if the next
      element to be returned isn't available, but a later element is. Options are
      "true", "false", and "default". "default" indicates that determinism should be
      decided by the `experimental_deterministic` parameter of `tf.data.Options`.
    ragged_keys: An optional list of `strings`. Defaults to `[]`.
    ragged_value_types: An optional list of `tf.DTypes` from: `tf.float32, tf.int64, tf.string`. Defaults to `[]`.
    ragged_split_types: An optional list of `tf.DTypes` from: `tf.int32, tf.int64`. Defaults to `[]`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  ParseExampleDatasetV2r@  rA  rB  rC  r   r   rR  r  r  r  N)r@  rA  rB  rC  r   r   rR  r  r  r  r   r   RExpected list for 'sparse_keys' argument to 'parse_example_dataset_v2' Op, not %r.QExpected list for 'dense_keys' argument to 'parse_example_dataset_v2' Op, not %r.SExpected list for 'sparse_types' argument to 'parse_example_dataset_v2' Op, not %r.SExpected list for 'dense_shapes' argument to 'parse_example_dataset_v2' Op, not %r.SExpected list for 'output_types' argument to 'parse_example_dataset_v2' Op, not %r.TExpected list for 'output_shapes' argument to 'parse_example_dataset_v2' Op, not %r.rQ  RExpected list for 'ragged_keys' argument to 'parse_example_dataset_v2' Op, not %r.YExpected list for 'ragged_value_types' argument to 'parse_example_dataset_v2' Op, not %r.YExpected list for 'ragged_split_types' argument to 'parse_example_dataset_v2' Op, not %r.)r   r  rJ  r@  rA  rB  rC  r   r   rR  r  r  r  r   rK  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   'parse_example_dataset_v2_eager_fallbackr)   r*   r+   r,   r-   r.   r  r/   r0   r1   r2   r3   r4   r5   r6   )r   r  rJ  r@  rA  rB  rC  r   r   rR  r  r  r  r   r7   r8   r9   r:   r<   r;   r=   r>   r?   r@   rA   s                            rB   parse_example_dataset_v2r    s   ^ 
			0h..0$#\\11%t]NM;j.,nl{$8:L02g n" 
K$	/
	13>	?@ @ ALL"""2}5L+L	Ju	.
	13=	>? ? ?II!!"l3I*I	L4-	0
	13?	@A A DPPR($$R8P,P	L4-	0
	13?	@A A EQQb(%%b.9Q,Q	L4-	0
	13?	@A A DPPR($$R8P,P	MD%=	1
	13@	AB B GTT8&&r?;T-TM##M?C-K	K$	/
	13>	?@ @ ALL"""2}5L+L	&u	6
	13E	FG G Pbb**2/CDbb	&u	6
	13E	FG G Pbb**2/CDbb'88}4F0>-8,6.:.:.:/</<-84F4F&*,!QX QK'""$S\\-8,ll<(.ll>*Hcll86Lcll>:Nll>*Oll?+_ll?+]ll=)+?ll/02Fll/0	2F ::Lvw@('	.K && -
##At,,## 

4
+^!j#,#=%;//dF F ## 
 M
 J
 Q
 R
 Q
 U M c cr  zraw_ops.ParseExampleDatasetV2c                 R   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        |t        t        f      st        d	|z        |D cg c]  }t	        j                  |d
       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|	d}	t	        j
                  |	d      }	|
g }
t        |
t        t        f      st        d|
z        |
D cg c]  }t	        j
                  |d       }
}|g }t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|g }t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t	        j                  ||      \  }}t        j                  | t        j                        } t        j                  |t        j                        }| |gt        |      z   }d|d|d|d|d|d
|d|d|	d|
d|d|f}t	        j                  dd||||      }t	        j                         rt	        j                   d|||       |\  }|S c c}w c c}w c c}w c c}w c c}w c c}w c c}w c c}w c c}w )Nr  r@  r  rA  r  rB  r  rC  r  r   r  r   rQ  rR  r  r  r  r  r  r  rK  s   ParseExampleDatasetV2rF   rG   r  )r*   r+   r,   r-   r.   r  r/   r0   r   r%   rJ   rK   rL   rM   r   r3   r6   )r   r  rJ  r@  rA  rB  rC  r   r   rR  r  r  r  r   r   r<   r;   rP  rA   r@   r9   s                        rB   r  r  Z  s&   	K$	/
	13>	?@ @ ALL"""2}5L+L	Ju	.
	13=	>? ? ?II!!"l3I*I	L4-	0
	13?	@A A DPPR($$R8P,P	L4-	0
	13?	@A A EQQb(%%b.9Q,Q	L4-	0
	13?	@A A DPPR($$R8P,P	MD%=	1
	13@	AB B GTT8&&r?;T-TM##M?C-K	K$	/
	13>	?@ @ ALL"""2}5L+L	&u	6
	13E	FG G Pbb**2/CDbb	&u	6
	13E	FG G Pbb**2/CDbb!)!H!HY\!],((H---.@'--P!34tN7KK,;j,,o}=-*,@& 5q#)s?'""$vw@('	.E M
 J
 Q
 R
 Q
 U M c cr  c                    t         j                   xs t        j                         }|j                  }|j                  r 	 t	        j
                  |d|| |d|d|	      }|S t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j$                  |	d       }}	t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j&                  |
d       }}
t)        j*                  d| ||||      \  }}}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}	w c c}
w )	rS  PrivateThreadPoolDatasetr   r   Nr   VExpected list for 'output_types' argument to 'private_thread_pool_dataset' Op, not %r.WExpected list for 'output_shapes' argument to 'private_thread_pool_dataset' Op, not %r.rW  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   *private_thread_pool_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   rY  s                   rB   private_thread_pool_datasetr    s    
			0h..0$#\\11(${o}Fg n 
L4-	0
	46B	CD D DPPR($$R8P,P	MD%=	1
	46C	DE E GTT8&&r?;T-T'88"-0;1=2?d	L!QX
 QK'""$cll>:Oll?+-F::L"L&'C('	.E && -
##At,,## 
7
<%Dd< < ## 
 Q
 UrD   z raw_ops.PrivateThreadPoolDatasetc                 p   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } t        j                  |t        j                        }| |g}d|d|f}	t	        j                  dd||	||      }
t	        j                         rt	        j                  d||	|
       |
\  }
|
S c c}w c c}w )	Nr  r   r  r   s   PrivateThreadPoolDatasetrF   rG   r  rI   r\  s              rB   r  r    sA   	L4-	0
	46B	CD D DPPR($$R8P,P	MD%=	1
	46C	DE E GTT8&&r?;T-T((H-&&{GMMB+-,L/=I&8!$0C"&(' ""$"L&'C('	.# Q
 UrN   c                 F   t         j                   xs t        j                         }|j                  }|j                  r"	 t	        j
                  |d|| |d|d|d|      }|S t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j$                  |
d       }}
t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}|d	}t#        j(                  |d      }t+        j,                  d| |||||
      \  }}}}|dd }t#        j.                         rYd|j1                  d      d|j1                  d      d|j1                  d      f}|j2                  }t#        j4                  d|||       |\  }|S # t        j                  $ r }	t        j                  |	|       Y d}	~	nd}	~	wt        j                  $ r Y nw xY w	 t        | ||||||      S # t        j                  $ r Y w xY wc c}
w c c}w )a  Creates a Dataset that returns pseudorandom numbers.

  Creates a Dataset that returns a stream of uniformly distributed
  pseudorandom 64-bit signed integers.

  In the TensorFlow Python API, you can instantiate this dataset via the
  class `tf.data.experimental.RandomDataset`.

  Instances of this dataset are also created as a result of the
  `hoist_random_uniform` static optimization. Whether this optimization is
  performed is determined by the `experimental_optimization.hoist_random_uniform`
  option of `tf.data.Options`.

  Args:
    seed: A `Tensor` of type `int64`.
      A scalar seed for the random number generator. If either seed or
      seed2 is set to be non-zero, the random number generator is seeded
      by the given seed.  Otherwise, a random seed is used.
    seed2: A `Tensor` of type `int64`.
      A second scalar seed to avoid seed collision.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    metadata: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  RandomDatasetr   r   rZ  Nr\  IExpected list for 'output_types' argument to 'random_dataset' Op, not %r.JExpected list for 'output_shapes' argument to 'random_dataset' Op, not %r.r  )r]  r^  r   r   rZ  r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   random_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  r1   r2   r3   r4   r5   r6   )r]  r^  r   r   rZ  r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                    rB   random_datasetr    s?   : 
			0h..0$#\\11otT5.o}j(Lg n 
L4-	0
	')5	67 7 DPPR($$R8P,P	MD%=	1
	')6	78 8 GTT8&&r?;T-THx4('88d%l'4x"$!QX QK'""$cll>:Oll?+Zll:&(F ::Lvw8('	.K && -
##At,,## 
*
L$D2 2 ## 
 Q
 Urp  zraw_ops.RandomDatasetc                    t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|d}t	        j                  |d      }t        j                  | t        j                        } t        j                  |t        j                        }| |g}	d|d|d|f}
t	        j                  dd|	|
||	      }t	        j                         rt	        j                  d
|	|
|       |\  }|S c c}w c c}w )Nr  r   r  r   r  rZ  s   RandomDatasetrF   rG   r  )r*   r+   r,   r-   r.   r/   r0   r  r%   rJ   rK   rM   r   r3   r6   )r]  r^  r   r   rZ  r   r   r;   r<   rA   r@   r9   s               rB   r  r  I   sZ   	L4-	0
	')5	67 7 DPPR($$R8P,P	MD%=	1
	')6	78 8 GTT8&&r?;T-THx4(			gmm	4$

 
 
6%,L/=h&-q#)s?'""$vw8('	.) Q
 Urt  rerandomize_each_iterationc                    t         j                   xs t        j                         }|j                  }	|	j                  r%	 t	        j
                  |d|| ||d|d|d|d|      }
|
S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d	|z        |D cg c]  }t#        j&                  |d       }}|d
}t#        j(                  |d      }|d}t#        j*                  |d      }t-        j.                  d| |||||||	      \  }}}}|dd }
t#        j0                         rjd|j3                  d      d|j5                  d      d|j5                  d      d|j5                  d      f}|j6                  }t#        j8                  d|||
       |
\  }
|
S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||||||||	      S # t        j                  $ r Y w xY wc c}w c c}w )a:  Creates a Dataset that returns pseudorandom numbers.

  Creates a Dataset that returns a stream of uniformly distributed
  pseudorandom 64-bit signed integers. It accepts a boolean attribute that
  determines if the random number generators are re-applied at each epoch. The
  default value is True which means that the seeds are applied and the same
  sequence of random numbers are generated at each epoch. If set to False, the
  seeds are not re-applied and a different sequence of random numbers are
  generated at each epoch.

  In the TensorFlow Python API, you can instantiate this dataset via the
  class `tf.data.experimental.RandomDatasetV2`.

  Args:
    seed: A `Tensor` of type `int64`.
      A scalar seed for the random number generator. If either seed or
      seed2 is set to be non-zero, the random number generator is seeded
      by the given seed.  Otherwise, a random seed is used.
    seed2: A `Tensor` of type `int64`.
      A second scalar seed to avoid seed collision.
    seed_generator: A `Tensor` of type `resource`.
      A resource for the random number seed generator.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    rerandomize_each_iteration: An optional `bool`. Defaults to `False`.
      A boolean attribute to rerandomize the sequence of random numbers generated
      at each epoch.
    metadata: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  RandomDatasetV2r  r   r   rZ  N)r  r   r   rZ  r   r   LExpected list for 'output_types' argument to 'random_dataset_v2' Op, not %r.MExpected list for 'output_shapes' argument to 'random_dataset_v2' Op, not %r.Fr  )r]  r^  r  r   r   r  rZ  r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'    random_dataset_v2_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  r  r1   r2   r3   r  r4   r5   r6   )r]  r^  r  r   r   r  rZ  r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                      rB   random_dataset_v2r  e   s   D 
			0h..0$#\\
11tUN$&@o}H	g
 n 
L4-	0
	*,8	9: : DPPR($$R8P,P	MD%=	1
	*,9	:; ; GTT8&&r?;T-T'!&'112LNjkHx4('88E*8(4)66P$,49!QX QK'""$*  !=>cll>:Oll?+Zll:&	(F
 ::L<:('	._ && -
##At,,## 
-
~%?#=$D	2 2
 ## 
 Q
 Urq   zraw_ops.RandomDatasetV2c	                 *   t        |t        t        f      st        d|z        |D 	cg c]  }	t	        j
                  |	d       }}	t        |t        t        f      st        d|z        |D 
cg c]  }
t	        j                  |
d       }}
|d}t	        j                  |d      }|d}t	        j                  |d      }t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }| ||g}d|d|d|d|f}t	        j                  d	d
||||      }t	        j                         rt	        j                   d|||       |\  }|S c c}	w c c}
w )Nr  r   r  r   Fr  r  rZ  s   RandomDatasetV2rF   rG   r  )r*   r+   r,   r-   r.   r/   r0   r  r  r%   rJ   rK   rM   r	  r   r3   r6   )r]  r^  r  r   r   r  rZ  r   r   r;   r<   rA   r@   r9   s                 rB   r  r     s   	L4-	0
	*,8	9: : DPPR($$R8P,P	MD%=	1
	*,9	:; ; GTT8&&r?;T-T'!&'112LNjkHx4(			gmm	4$

 
 
6%)).':J:JK.~.,(*D,

& /<#)s?'""$<:('	.3 Q
 Urt   c                 F   t         j                   xs t        j                         }|j                  }|j                  r"	 t	        j
                  |d|| |d|d|d|      }|S t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j$                  |
d       }}
t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}|d	}t#        j(                  |d      }t+        j,                  d| |||||
      \  }}}}|dd }t#        j.                         rYd|j1                  d      d|j1                  d      d|j3                  d      f}|j4                  }t#        j6                  d|||       |\  }|S # t        j                  $ r }	t        j                  |	|       Y d}	~	nd}	~	wt        j                  $ r Y nw xY w	 t        | ||||||      S # t        j                  $ r Y w xY wc c}
w c c}w )a@  Creates a dataset that changes the batch size.

  Creates a dataset that changes the batch size of the dataset to current batch
  size // num_workers.

  Args:
    input_dataset: A `Tensor` of type `variant`.
      A variant tensor representing the input dataset.
    num_replicas: A `Tensor` of type `int64`.
      A scalar representing the number of replicas to distribute this batch across. As
      a result of this transformation the current batch size would end up being
      divided  by this parameter.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    use_fallback: An optional `bool`. Defaults to `True`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  RebatchDatasetr   r   rf  Nri  JExpected list for 'output_types' argument to 'rebatch_dataset' Op, not %r.KExpected list for 'output_shapes' argument to 'rebatch_dataset' Op, not %r.Trl  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   rebatch_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  r1   r2   r3   r4   r  r5   r6   rn  s                    rB   rebatch_datasetr     sF   * 
			0h..0$#\\	11m\o}&g n 
L4-	0
	(*6	78 8 DPPR($$R8P,P	MD%=	1
	(*7	89 9 GTT8&&r?;T-TL##L.A,'88'3'3(5'3$@!QX QK'""$cll>:Oll?+^  02F ::L,9('	.Q && -
##At,,## 
+
L%Lt  ## 
 Q
 Urp  zraw_ops.RebatchDatasetc                    t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|d}t	        j                  |d      }t        j                  | t        j                        } t        j                  |t        j                        }| |g}	d|d|d|f}
t	        j                  dd|	|
||	      }t	        j                         rt	        j                  d
|	|
|       |\  }|S c c}w c c}w )Nr  r   r  r   Trf  s   RebatchDatasetrF   rG   r  rr  rs  s               rB   r  r  1!  s[   	L4-	0
	(*6	78 8 DPPR($$R8P,P	MD%=	1
	(*7	89 9 GTT8&&r?;T-TL##L.A,((H-''gmmD,.,L/=, &.,#)s?'""$,9('	.) Q
 Urt  batch_sizesc                    t         j                   xs t        j                         }|j                  }|j                  r!	 t	        j
                  |d|| ||d|d|
      }|S t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j$                  |
d       }}
t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}t)        j*                  d| |||||      \  }}}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }	t        j                  |	|       Y d}	~	nd}	~	wt        j                  $ r Y nw xY w	 t        | ||||||      S # t        j                  $ r Y w xY wc c}
w c c}w )	a  Creates a dataset that changes the batch size.

  Creates a dataset that rebatches elements from `input_dataset` into new batch
  sizes.

  Args:
    input_dataset: A `Tensor` of type `variant`.
      A variant tensor representing the input dataset.
    batch_sizes: A `Tensor` of type `int64`.
      A vector of integers representing the size of batches to produce. These values
      are cycled through in order.
    drop_remainder: A `Tensor` of type `bool`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  RebatchDatasetV2r   r   Nr   MExpected list for 'output_types' argument to 'rebatch_dataset_v2' Op, not %r.NExpected list for 'output_shapes' argument to 'rebatch_dataset_v2' Op, not %r.)r   r  r  r   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   !rebatch_dataset_v2_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   )r   r  r  r   r   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                    rB   rebatch_dataset_v2r  M!  s   ( 
			0h..0$#\\	11 ${og n 
L4-	0
	+-9	:; ; DPPR($$R8P,P	MD%=	1
	+-:	;< < GTT8&&r?;T-T'88-(3+9)5*7dD!QX QK'""$cll>:Oll?+-F::LL&';('	.I && -
##At,,## 
.
n#=t  ## 
 Q
 UrI  zraw_ops.RebatchDatasetV2c                    t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }| ||g}	d|d|f}
t	        j                  dd|	|
||      }t	        j                         rt	        j                  d|	|
|       |\  }|S c c}w c c}w )	Nr  r   r  r   s   RebatchDatasetV2rF   rG   r  )r*   r+   r,   r-   r.   r/   r0   r%   rJ   rK   rL   rM   r   r   r3   r6   )r   r  r  r   r   r   r   r;   r<   rA   r@   r9   s               rB   r  r  !  sO   	L4-	0
	+-9	:; ; DPPR($$R8P,P	MD%=	1
	+-:	;< < GTT8&&r?;T-T((H-&&{GMMB+)).',,G.n=,L/=I&0!L#)s?'""$L&';('	.# Q
 UrL  external_state_policyelement_specc                 |   t         j                   xs t        j                         }|j                  }|j                  r#	 t	        j
                  |d|| ||d|d|d|      }	|	S t        j                  |d      }|d}t        j                  |d      }|d}t        j                  |d      }t!        j"                  d| ||||||      \  }}}}|dd }	t        j$                         rYd|j'                  d      d|j)                  d      d|j)                  d      f}|j*                  }t        j,                  d|||	       |	\  }	|	S # t        j                  $ r }
t        j                  |
|       Y d}
~
nd}
~
wt        j                  $ r Y nw xY w	 t        | |||||||      S # t        j                  $ r Y Xw xY w)	a  Registers a dataset with the tf.data service.

  Args:
    dataset: A `Tensor` of type `variant`.
    address: A `Tensor` of type `string`.
    protocol: A `Tensor` of type `string`.
    external_state_policy: An `int`.
    element_spec: An optional `string`. Defaults to `""`.
    metadata: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `int64`.
  RegisterDatasetr  r  rZ  N)r  r  rZ  r   r   r  )rX  r   r   r  r  rZ  r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   register_dataset_eager_fallbackr)   r.   rn   r  r1   r2   r3   ro   r4   r5   r6   )rX  r   r   r  r  rZ  r   r7   r8   r9   r:   r=   r>   r?   r@   rA   s                   rB   register_datasetr  !  s    
			0h..0$#\\	11w!6j(,g n #++,ACZ[L""<@,Hx4('887G$,1F(4x $&!QX QK'""$% 78.ll>*Jll:&(F ::L<:('	.G && -
##At,,## 
,
7H 5#hTtM M ## 
s0    !E FE44FFF$ $F;:F;zraw_ops.RegisterDatasetc                 "   t        j                  |d      }|d}t        j                  |d      }|d}t        j                  |d      }t        j                  | t
        j                        } t        j                  |t
        j                        }t        j                  |t
        j                        }| ||g}d|d|d|f}	t        j                  dd||	||      }
t        j                         rt        j                  d||	|
       |
\  }
|
S )	Nr  r  r  rZ  s   RegisterDatasetrF   rG   r  r.   rn   r  r%   rJ   rK   rL   r[   r   r3   r6   )rX  r   r   r  r  rZ  r   r   rA   r@   r9   s              rB   r  r  !  s   "++,ACZ[L""<@,Hx4(""7GOO<'""7GNN;'##Hgnn=(7H-,#%:N
H&&/<#)s?'""$<:('	.r   requested_dataset_idc                    t         j                   xs t        j                         }|j                  }	|	j                  r%	 t	        j
                  |d|| ||d|d|d|d|      }
|
S t        j                  |d      }|d}t        j                  |d      }|d}t        j                  |d      }|d}t        j                  |d      }t!        j"                  d| |||||||		      \  }}}}|dd }
t        j$                         rjd|j'                  d      d|j)                  d      d|j)                  d      d|j)                  d      f}|j*                  }t        j,                  d|||
       |
\  }
|
S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||||||||	      S # t        j                  $ r Y w xY w)
a  Registers a dataset with the tf.data service.

  Args:
    dataset: A `Tensor` of type `variant`.
    address: A `Tensor` of type `string`.
    protocol: A `Tensor` of type `string`.
    external_state_policy: An `int`.
    element_spec: An optional `string`. Defaults to `""`.
    requested_dataset_id: An optional `string`. Defaults to `""`.
    metadata: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `string`.
  RegisterDatasetV2r  r  r  rZ  N)r  r  r  rZ  r   r   r  )rX  r   r   r  r  r  rZ  r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   "register_dataset_v2_eager_fallbackr)   r.   rn   r  r1   r2   r3   ro   r4   r5   r6   )rX  r   r   r  r  r  rZ  r   r7   r8   r9   r:   r=   r>   r?   r@   rA   s                    rB   register_dataset_v2r  "  s     
			0h..0$#\\
11!4'8!6,.BH	g
 n #++,ACZ[L""<@,!!**+?AWXHx4('88Wg&.3H*62F&.T;!QX QK'""$% 78.ll>*,Bll12Jll:&	(F
 ::L\67<('	.U && -
##At,,## 
/
7H 5#3h  ## 
s0    #E4 4F;F""F;:F;?G G*)G*zraw_ops.RegisterDatasetV2c	                 Z   t        j                  |d      }|d}t        j                  |d      }|d}t        j                  |d      }|d}t        j                  |d      }t        j                  | t
        j                        } t        j                  |t
        j                        }t        j                  |t
        j                        }| ||g}	d|d|d|d|f}
t        j                  dd|	|
||      }t        j                         rt        j                  d	|	|
|       |\  }|S )
Nr  r  r  r  rZ  s   RegisterDatasetV2rF   rG   r  r  )rX  r   r   r  r  r  rZ  r   r   rA   r@   r9   s               rB   r  r  L"  s,   "++,ACZ[L""<@,!!**+?AWXHx4(""7GOO<'""7GNN;'##Hgnn=(7H-,#%:N&(<j
& 11\#)s?'""$\67<('	.r   ratec                    t         j                   xs t        j                         }|j                  }|j                  r"	 t	        j
                  |d|| |||d|d|      }	|	S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}t)        j*                  d| ||||||      \  }}}}|dd }	t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||	       |	\  }	|	S # t        j                  $ r }
t        j                  |
|       Y d}
~
nd}
~
wt        j                  $ r Y nw xY w	 t        | |||||||      S # t        j                  $ r Y w xY wc c}w c c}w )	au  Creates a dataset that takes a Bernoulli sample of the contents of another dataset.

  There is no transformation in the `tf.data` Python API for creating this dataset.
  Instead, it is created as a result of the `filter_with_random_uniform_fusion`
  static optimization. Whether this optimization is performed is determined by the
  `experimental_optimization.filter_with_random_uniform_fusion` option of
  `tf.data.Options`.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    rate: A `Tensor` of type `float32`.
      A scalar representing the sample rate. Each element of `input_dataset` is
      retained with this probability, independent of all other elements.
    seed: A `Tensor` of type `int64`.
      A scalar representing seed of random number generator.
    seed2: A `Tensor` of type `int64`.
      A scalar representing seed2 of random number generator.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  SamplingDatasetr   r   Nr   KExpected list for 'output_types' argument to 'sampling_dataset' Op, not %r.LExpected list for 'output_shapes' argument to 'sampling_dataset' Op, not %r.)r   r  r]  r^  r   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   sampling_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   )r   r  r]  r^  r   r   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                     rB   sampling_datasetr  g"  s   2 
			0h..0$#\\11}dD%o}Fg n 
L4-	0
	)+7	89 9 DPPR($$R8P,P	MD%=	1
	)+8	9: : GTT8&&r?;T-T'88T!&\)6TC!QX QK'""$cll>:Oll?+-F::L<:('	.C && -
##At,,## 
,
tU%Dd< < ## 
 Q
 Ur  zraw_ops.SamplingDatasetc                    t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D 	cg c]  }	t	        j                  |	d       }}	t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }| |||g}
d|d|f}t	        j                  dd|
|||      }t	        j                         rt	        j                  d|
||       |\  }|S c c}w c c}	w )	Nr  r   r  r   s   SamplingDatasetrF   rG   r  )r*   r+   r,   r-   r.   r/   r0   r%   rJ   rK   rL   float32rM   r   r3   r6   )r   r  r]  r^  r   r   r   r   r;   r<   rA   r@   r9   s                rB   r  r  "  sg   	L4-	0
	)+7	89 9 DPPR($$R8P,P	MD%=	1
	)+8	9: : GTT8&&r?;T-T((H-			goo	6$			gmm	4$

 
 
6%tU3,L/=I&/<#)s?'""$<:('	.% Q
 Ur  use_shard_funcc                 b   t         j                   xs t        j                         }|j                  }|j                  r#	 t	        j
                  |d|| ||d|d|d|      }	|	S |d}t        j                  |d      }|d}t        j                  |d      }t!        j"                  d| ||||||	      \  }}}}|S # t        j                  $ r }
t        j                  |
|       Y d}
~
nd}
~
wt        j                  $ r Y nw xY w	 t        | |||||||      S # t        j                  $ r Y w xY w)
a  TODO: add doc.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    path: A `Tensor` of type `string`.
    shard_func_other_args: A list of `Tensor` objects.
    shard_func: A function decorated with @Defun.
    compression: An optional `string`. Defaults to `""`.
    use_shard_func: An optional `bool`. Defaults to `True`.
    name: A name for the operation (optional).

  Returns:
    The created Operation.
  SaveDatasetrn  
shard_funcr  N)rn  r  r  r   r   r  T)r   rm  shard_func_other_argsr  rn  r  r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   save_dataset_eager_fallbackr)   r.   r  r  r1   r2   )r   rm  r  r  rn  r  r   r7   r8   r9   r:   r=   r>   r?   s                 rB   save_datasetr   "  sU    
			0h..0$#\\	11mT=$8M{L*.*g n K!!+}=+N%%n6FG.'88]-B",+&44	A!QX
 
*/ && -
##At,,## 
(
4+T  ## 
s0    !B: :DC((D DD D.-D.zraw_ops.SaveDatasetc                    |d}t        j                  |d      }|d}t        j                  |d      }t        j                  ||      \  }}t	        j
                  | t        j                        } t	        j
                  |t        j                        }| |gt        |      z   }	d|d|d|d|f}
t        j                  dd|	|
||	      }d }|S )
Nr  rn  Tr  r  Tshard_func_argss   SaveDatasetr   rG   )r.   r  r  r   r%   rJ   rK   rL   r[   r+   r   )r   rm  r  r  rn  r  r   r   _attr_Tshard_func_argsrA   r@   r9   s               rB   r  r  "  s    K!!+}=+N%%n6FG.2:2Y2YZoqt2u//((H-			gnn	5$&.C)DD,;jN$6& ^Q|#)s?''	.r   c	                    t         j                   xs t        j                         }	|	j                  }
|
j                  r'	 t	        j
                  |	d|| ||d|d|d|d|d|      }|S t        |t        t        f      st!        d	|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d
|z        |D cg c]  }t#        j&                  |d       }}|d}t#        j(                  |d      }|d}t#        j*                  |d      }t-        j.                  d| ||||||||
      \  }}}}|dd }t#        j0                         rd|j3                  d      d|j3                  d      d|j5                  d      d|j3                  d      d|j3                  d      d|j3                  d      f}|j6                  }t#        j8                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||||||	
      S # t        j                  $ r Y w xY wc c}w c c}w )aU  TODO: add doc.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    path: A `Tensor` of type `string`.
    shard_func_other_args: A list of `Tensor` objects.
    shard_func: A function decorated with @Defun.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    compression: An optional `string`. Defaults to `""`.
    use_shard_func: An optional `bool`. Defaults to `True`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  SaveDatasetV2rn  r  r  r   r   N)rn  r  r  r   r   r   r   JExpected list for 'output_types' argument to 'save_dataset_v2' Op, not %r.KExpected list for 'output_shapes' argument to 'save_dataset_v2' Op, not %r.r  T)	r   rm  r  r  r   r   rn  r  r   r  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   save_dataset_v2_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  r  r1   r2   r3   r4   r  r5   r6   )r   rm  r  r  r   r   rn  r  r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                       rB   save_dataset_v2r	  #  s   " 
			0h..0$#\\
11ot]D}k<$nno}	6g
 n 
L4-	0
	(*6	78 8 DPPR($$R8P,P	MD%=	1
	(*7	89 9 GTT8&&r?;T-TK!!+}=+N%%n6FG.'88}4/D$.\'4+(6TC!QX QK'""$S\\-8,ll<(*:  !124Fll-.ll>*Oll?+-F ::Lvw8('	._ && -
##At,,## 
+
4+#=t	 
 ## 
 Q
 Us<    %G7 I1I67H>
H%%H>=H>I I.-I.zraw_ops.SaveDatasetV2c
                 2   t        |t        t        f      st        d|z        |D 
cg c]  }
t	        j
                  |
d       }}
t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|d}t	        j                  |d      }|d}t	        j                  |d      }t	        j                  ||	      \  }}t        j                  | t        j                        } t        j                  |t        j                        }| |gt        |      z   }d|d	|d|d
|d|d|f}t	        j                  dd|||	|      }t	        j                          rt	        j"                  d|||       |\  }|S c c}
w c c}w )Nr  r   r  r   r  rn  Tr  r  r  s   SaveDatasetV2rF   rG   r  )r*   r+   r,   r-   r.   r/   r0   r  r  r   r%   rJ   rK   rL   r[   r   r3   r6   )r   rm  r  r  r   r   rn  r  r   r   r;   r<   r  rA   r@   r9   s                   rB   r  r  ^#  s   	L4-	0
	(*6	78 8 DPPR($$R8P,P	MD%=	1
	(*7	89 9 GTT8&&r?;T-TK!!+}=+N%%n6FG.2:2Y2YZoqt2u//((H-			gnn	5$&.C)DD,;jN$6.,& -q#)s?'""$vw8('	.5 Q
 Us   F0Fuse_default_devicec
                 v   t         j                   xs t        j                         }
|
j                  }|j                  r)	 t	        j
                  |
d|	| ||d|d|d|d|d|d|      }|S t        |t        t        f      st!        d
|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}|d}t#        j(                  |d      }|d}t#        j(                  |d      }|d}t#        j*                  |d      }t-        j.                  d| |||||||||	      \  }}}}|dd }t#        j0                         rd|j3                  d      d|j3                  d      d|j3                  d      d|j3                  d      d|j3                  d      d|j5                  d      d|j5                  d      d|j3                  d      f}|j6                  }t#        j8                  d|||       |\  }|S # t        j                  $ r }t        j                  ||	       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||||||	|
	      S # t        j                  $ r Y Ew xY wc c}w c c}w )a  Creates a dataset successively reduces `f` over the elements of `input_dataset`.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    initial_state: A list of `Tensor` objects.
    other_arguments: A list of `Tensor` objects.
    f: A function decorated with @Defun.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    preserve_cardinality: An optional `bool`. Defaults to `False`.
    use_default_device: An optional `bool`. Defaults to `True`.
    metadata: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  ScanDatasetr  r   r   r  r  rZ  N)r  r   r   r  r  rZ  r   r   GExpected list for 'output_types' argument to 'scan_dataset' Op, not %r.HExpected list for 'output_shapes' argument to 'scan_dataset' Op, not %r.FTr  )
r   ry  r   r  r   r   r  r  rZ  r   rz  r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   scan_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  r  r1   r2   r3   r4   r  r5   r6   )r   ry  r   r  r   r   r  r  rZ  r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                        rB   scan_datasetr  #  s   $ 
			0h..0$#\\11mT=-a(>24FHg n 
L4-	0
	%'3	45 5 DPPR($$R8P,P	MD%=	1
	%'4	56 6 GTT8&&r?;T-T! !++,@BXY))*<>RSHx4('88]%2'6!$0,@*< (t5!QX QK'""$3<<$hX0FCLL6ll>*Oll?+-C  !78"C$6$67K$L#,,z24F ::L|VW6('	.m && -
##At,,## 
(
1#=3/(  ## 
 Q
 Us<    'H6 J1J66I=	I$$I=<I=J J.-J.zraw_ops.ScanDatasetc                 n   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|d}t	        j                  |d      }|d}t	        j                  |d      }|d	}t	        j                  |d
      }t	        j                  ||
      \  }}t	        j                  ||
      \  }}t        j                  | t        j                        } | gt        |      z   t        |      z   }d|d|d|d|d|d|d|d
|f}t	        j                  dd|||
|	      }t	        j                         rt	        j                   d|||       |\  }|S c c}w c c}w )Nr  r   r  r   Fr  Tr  r  rZ  r  rz  r   s   ScanDatasetrF   rG   r  )r*   r+   r,   r-   r.   r/   r0   r  r  r   r%   rJ   rK   rL   r   r3   r6   )r   ry  r   r  r   r   r  r  rZ  r   r   r;   r<   r~  r   rA   r@   r9   s                     rB   r  r  #  s   	L4-	0
	%'3	45 5 DPPR($$R8P,P	MD%=	1
	%'4	56 6 GTT8&&r?;T-T! !++,@BXY))*<>RSHx4( ( G GWZ [,&.&M&Mo_b&c#O((H-4#66o9NN,HlL:J,.0Dj(,& ^Q|#)s?'""$|VW6('	.; Q
 Ur  c                    t         j                   xs t        j                         }|j                  }|j                  r"	 t	        j
                  |d|| |||d|d|      }	|	S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}t)        j*                  d| ||||||      \  }}}}|dd }	t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||	       |	\  }	|	S # t        j                  $ r }
t        j                  |
|       Y d}
~
nd}
~
wt        j                  $ r Y nw xY w	 t        | |||||||      S # t        j                  $ r Y w xY wc c}w c c}w )	r  SetStatsAggregatorDatasetr   r   Nr   WExpected list for 'output_types' argument to 'set_stats_aggregator_dataset' Op, not %r.XExpected list for 'output_shapes' argument to 'set_stats_aggregator_dataset' Op, not %r.r  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   +set_stats_aggregator_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r  s                     rB   set_stats_aggregator_datasetr  #  s#    
			0h..0$#\\	11)4#~~|(g n 
L4-	0
	57C	DE E DPPR($$R8P,P	MD%=	1
	57D	EF F GTT8&&r?;T-T'88#=6F),^2>3@tM!QX QK'""$cll>:Oll?+-F::L#\67D('	.I && -
##At,,## 
8
)3#=t  ## 
 Q
 Ur  z!raw_ops.SetStatsAggregatorDatasetc                    t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D 	cg c]  }	t	        j                  |	d       }}	t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }| |||g}
d|d|f}t	        j                  dd|
|||      }t	        j                         rt	        j                  d|
||       |\  }|S c c}w c c}	w )	Nr  r   r  r   s   SetStatsAggregatorDatasetrF   rG   r  r  r  s                rB   r  r  >$  sv   	L4-	0
	57C	DE E DPPR($$R8P,P	MD%=	1
	57D	EF F GTT8&&r?;T-T((H-++,<g>N>NOsGNN3#)).'..I.!13G,L/=I&91$0C"&(' ""$#\67D('	.' Q
 Ur  c                    t         j                   xs t        j                         }|j                  }|j                  r 	 t	        j
                  |d|| |d|d|	      }|S t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j$                  |	d       }}	t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j&                  |
d       }}
t)        j*                  d| ||||      \  }}}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}	w c c}
w )	r  SleepDatasetr   r   Nr   HExpected list for 'output_types' argument to 'sleep_dataset' Op, not %r.IExpected list for 'output_shapes' argument to 'sleep_dataset' Op, not %r.r  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   sleep_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r  s                   rB   sleep_datasetr  Y$  s    
			0h..0$#\\11ndM3Eo}Fg n 
L4-	0
	&(4	56 6 DPPR($$R8P,P	MD%=	1
	&(5	67 7 GTT8&&r?;T-T'88m+=%1&3$	@!QX
 QK'""$cll>:Oll?+-F::Lfg7('	.E && -
##At,,## 
)
+,%Dd< < ## 
 Q
 UrD   zraw_ops.SleepDatasetc                 p   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } t        j                  |t        j                        }| |g}d|d|f}	t	        j                  dd||	||      }
t	        j                         rt	        j                  d||	|
       |
\  }
|
S c c}w c c}w )	Nr  r   r  r   s   SleepDatasetrF   rG   r  rI   r  s              rB   r  r  $  s9   	L4-	0
	&(4	56 6 DPPR($$R8P,P	MD%=	1
	&(5	67 7 GTT8&&r?;T-T((H---.@'--P!34,L/=I&_a#)s?'""$fg7('	.! Q
 UrN   c                 R   t         j                   xs t        j                         }|j                  }	|	j                  r$	 t	        j
                  |d|| |||d|d|d|      }
|
S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}|d	}t#        j(                  |d      }t+        j,                  d| |||||||
	      \  }}}}|dd }
t#        j.                         rYd|j1                  d      d|j3                  d      d|j3                  d      f}|j4                  }t#        j6                  d|||
       |
\  }
|
S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||||||||	      S # t        j                  $ r Y w xY wc c}w c c}w )a  Creates a dataset that passes a sliding window over `input_dataset`.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    window_size: A `Tensor` of type `int64`.
      A scalar representing the number of elements in the
      sliding window.
    window_shift: A `Tensor` of type `int64`.
      A scalar representing the steps moving the sliding window
      forward in one iteration. It must be positive.
    window_stride: A `Tensor` of type `int64`.
      A scalar representing the stride of the input elements of the sliding window.
      It must be positive.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    drop_remainder: An optional `bool`. Defaults to `True`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  SlidingWindowDatasetr  r   r   N)r  r   r   r   r   QExpected list for 'output_types' argument to 'sliding_window_dataset' Op, not %r.RExpected list for 'output_shapes' argument to 'sliding_window_dataset' Op, not %r.T)r   r  r  r  r   r   r  r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   %sliding_window_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  r1   r2   r3   r  r4   r5   r6   )r   r  r  r  r   r   r  r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                      rB   sliding_window_datasetr&  $  sZ   , 
			0h..0$#\\	11$dM;m%5~o}Fg n 
L4-	0
	/1=	>? ? DPPR($$R8P,P	MD%=	1
	/1>	?@ @ GTT8&&r?;T-TN%%n6FG.'88m,7-9.;-9.;/=DJ!QX QK'""$ 2 23C Dcll>:Oll?+-F ::Lfg?('	.U && -
##At,,## 
2
lM'l%Dd< < ## 
 Q
 Us<    "F& HH$&G-9GG-,G-1H HHzraw_ops.SlidingWindowDatasetc	                 <   t        |t        t        f      st        d|z        |D 	cg c]  }	t	        j
                  |	d       }}	t        |t        t        f      st        d|z        |D 
cg c]  }
t	        j                  |
d       }}
|d}t	        j                  |d      }t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }t        j                  |t        j                        }| |||g}d|d|d|f}t	        j                  dd||||	      }t	        j                         rt	        j                  d
|||       |\  }|S c c}	w c c}
w )Nr#  r   r$  r   Tr  s   SlidingWindowDatasetrF   rG   r"  rr  )r   r  r  r  r   r   r  r   r   r;   r<   rA   r@   r9   s                 rB   r%  r%  $  s   	L4-	0
	/1=	>? ? DPPR($$R8P,P	MD%=	1
	/1>	?@ @ GTT8&&r?;T-TN%%n6FG.((H-&&{GMMB+''gmmD,((F-lMJ,nnl="&4a#)s?'""$fg?('	.- Q
 Us   F0F
chunk_filec                 @   t         j                   xs t        j                         }|j                  }|j                  r!	 t	        j
                  |d|| d|d|d|
      }|S t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j$                  |	d       }}	t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j&                  |
d       }}
|d	}t#        j(                  |d      }t+        j,                  d| ||||
      \  }}}}|dd }t#        j.                         rYd|j1                  d      d|j1                  d      d|j1                  d      f}|j2                  }t#        j4                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}	w c c}
w )a  TODO: add doc.

  Args:
    chunk_file: A `Tensor` of type `string`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    compression: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  SnapshotChunkDatasetr   r   rn  N)r   r   rn  r   r   QExpected list for 'output_types' argument to 'snapshot_chunk_dataset' Op, not %r.RExpected list for 'output_shapes' argument to 'snapshot_chunk_dataset' Op, not %r.r  )r(  r   r   rn  r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   %snapshot_chunk_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  r1   r2   r3   r4   r5   r6   )r(  r   r   rn  r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                   rB   snapshot_chunk_datasetr.  %  s>    
			0h..0$#\\	11$dJo}mg n 
L4-	0
	/1=	>? ? DPPR($$R8P,P	MD%=	1
	/1>	?@ @ GTT8&&r?;T-TK!!+}=+'88:-9.;,7d	D!QX
 QK'""$cll>:Oll?+]ll=)+F ::Lfg?('	.M && -
##At,,## 
2
<}!$8 8 ## 
 Q
 Ur  zraw_ops.SnapshotChunkDatasetc                 ^   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|d}t	        j                  |d      }t        j                  | t        j                        } | g}d|d|d|f}	t	        j                  dd||	||	      }
t	        j                         rt	        j                  d
||	|
       |
\  }
|
S c c}w c c}w )Nr+  r   r,  r   r  rn  s   SnapshotChunkDatasetrF   rG   r*  )r*   r+   r,   r-   r.   r/   r0   r  r%   rJ   rK   r[   r   r3   r6   )r(  r   r   rn  r   r   r;   r<   rA   r@   r9   s              rB   r-  r-  Z%  sD   	L4-	0
	/1=	>? ? DPPR($$R8P,P	MD%=	1
	/1>	?@ @ GTT8&&r?;T-TK!!+}=+%%j'..A*,L/=&4a#)s?'""$fg?('	.' Q
 Ur  reader_path_prefixwriter_path_prefixshard_size_bytespending_snapshot_expiry_secondsnum_reader_threadsreader_buffer_sizenum_writer_threadswriter_buffer_sizeshuffle_on_readmodesnapshot_namec                 $
   t         j                   xs t        j                         }|j                  }|j                  r`	 t	        j
                  g |d|| |d|d|d|d|d|d|d|d	|	d
|
d|d|d|d|d|d|d| }|S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}|d}t#        j(                  |d      }|d}t#        j(                  |d      }|d}t#        j(                  |d      }|d}t#        j*                  |d      }|d}t#        j*                  |d      }|	d}	t#        j*                  |	d	      }	|
d}
t#        j*                  |
d
      }
|d}t#        j*                  |d      }|d}t#        j*                  |d      }|d}t#        j,                  |d      }|d}t#        j*                  |d      }|d}t#        j*                  |d      }|d}t#        j(                  |d      }|d}t#        j(                  |d      }t/        j0                  	 d i d| d|d|d|d|d|d|d|d|d	|	d
|
d|d|d|d|d|d|d|d|\  }}}}|dd }t#        j2                         rWg d|j5                  d      d|j5                  d      d|j5                  d      d|j5                  d      d|j5                  d      d|j7                  d      d|j7                  d      d	|j7                  d	      d
|j7                  d
      d|j7                  d      d|j7                  d      d|j9                  d      d|j7                  d      d|j7                  d      d|j5                  d      d|j5                  d      }|j:                  }t#        j<                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |fi d|d|d|d|d|d|d|d	|	d
|
d|d|d|d|d|d|d|d|d|S # t        j                  $ r Y ew xY wc c}w c c}w )!a  Creates a dataset that will write to / read from a snapshot.

  This dataset attempts to determine whether a valid snapshot exists at the
  `snapshot_path`, and reads from the snapshot in lieu of using `input_dataset`.
  If not, it will run the preprocessing pipeline as usual, and write out a
  snapshot of the data processed for future use.

  Args:
    input_dataset: A `Tensor` of type `variant`.
      A variant tensor representing the input dataset.
    path: A `Tensor` of type `string`.
      The path we should write snapshots to / read snapshots from.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    compression: An optional `string`. Defaults to `""`.
    reader_path_prefix: An optional `string`. Defaults to `""`.
    writer_path_prefix: An optional `string`. Defaults to `""`.
    shard_size_bytes: An optional `int`. Defaults to `10737418240`.
    pending_snapshot_expiry_seconds: An optional `int`. Defaults to `86400`.
    num_reader_threads: An optional `int`. Defaults to `1`.
    reader_buffer_size: An optional `int`. Defaults to `1`.
    num_writer_threads: An optional `int`. Defaults to `1`.
    writer_buffer_size: An optional `int`. Defaults to `1`.
    shuffle_on_read: An optional `bool`. Defaults to `False`.
    seed: An optional `int`. Defaults to `0`.
    seed2: An optional `int`. Defaults to `0`.
    mode: An optional `string`. Defaults to `"auto"`.
    snapshot_name: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  SnapshotDatasetr   r   rn  r0  r1  r2  r3  r4  r5  r6  r7  r8  r]  r^  r9  r:  Nr   r   KExpected list for 'output_types' argument to 'snapshot_dataset' Op, not %r.LExpected list for 'output_shapes' argument to 'snapshot_dataset' Op, not %r.r         
 Q rF   Fr   autor   rm  )r<  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   snapshot_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  rn   r  r1   r2   r3   r4   ro   r  r5   r6   )r   rm  r   r   rn  r0  r1  r2  r3  r4  r5  r6  r7  r8  r]  r^  r9  r:  r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                                 rB   snapshot_datasetrC  u%  sk   D 
			0h..0$#\\11 
F
F
F!%
F'4
F6:
F<J
F
F%
F'4
F6C
F 	
F *
F ,>
F 		
F 1	
F 3E	
F
 	
F
 <
F 	(
F *>
F 	
F 1
F 3E
F 	
F 1
F 3G
F 	
F .
F 0?
F AG
F IM
F 	
F 
F 
F !%
F '6
F 8E
Fg n, 
L4-	0
	)+7	89 9 DPPR($$R8P,P	MD%=	1
	)+8	9: : GTT8&&r?;T-TK!!+}=+(();=QR(();=QR"&&'79KL$,&+#$,$5$56UWx$y!(();=QR(();=QR(();=QR(();=QRO&&8IJ/	\D			4	($
]E


E7
+%	\D			4	($M##M?C-'88C)6C=AC(4C *7C (3	C
 /AC /AC -=C <[C /AC /AC /AC /AC ,;C BFC "'C .2C *7C >BC!QX  QK'""$>n >cll>: >O >ll?+>-:>ll=)>+?> ll/0> 3G> ll/0	> 3E	>
  23> 0>  AB> #> %($5$56J$K> #> %($5$56J$K> #> %($5$56J$K> #> %($5$56J$K>  > "%!3!34E!F> > ''/> 29> (> +1> 36,,v2F> >  #||O<>F  ::L<:('	._ && -
##At,,## 
,
<,8<%<3>< 0< 0	<
 ,< +J< 0< 0< 0< 0< *< 15< =B< IM< &< -1< 7;< < ## 
 Q
 Us>    AQ" TT"R)5RR)(R)-A S. .TTzraw_ops.SnapshotDatasetc                    t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|d}t	        j                  |d      }|d}t	        j                  |d      }|d}t	        j                  |d      }|d	}t	        j                  |d
      }|d}t	        j                  |d      }|	d}	t	        j                  |	d      }	|
d}
t	        j                  |
d      }
|d}t	        j                  |d      }|d}t	        j                  |d      }|d}t	        j                  |d      }|d}t	        j                  |d      }|d}t	        j                  |d      }|d}t	        j                  |d      }|d}t	        j                  |d      }t        j                  | t        j                        } t        j                  |t        j                        }| |g}g d|d|d|d|d|d
|d|d|	d|
d|d|d|d|d|d|d|}t	        j                  dd||||      }t	        j                          rt	        j"                  d|||       |\  }|S c c}w c c}w )Nr=  r   r>  r   r  rn  r0  r1  r?  r2  r@  r3  rF   r4  r5  r6  r7  Fr8  r   r]  r^  rA  r9  r:  s   SnapshotDatasetrG   r<  )r*   r+   r,   r-   r.   r/   r0   r  rn   r  r%   rJ   rK   rL   r[   r   r3   r6   )r   rm  r   r   rn  r0  r1  r2  r3  r4  r5  r6  r7  r8  r]  r^  r9  r:  r   r   r;   r<   rA   r@   r9   s                            rB   rB  rB  &  s   	L4-	0
	)+7	89 9 DPPR($$R8P,P	MD%=	1
	)+8	9: : GTT8&&r?;T-TK!!+}=+(();=QR(();=QR"&&'79KL$,&+#$,$5$56UWx$y!(();=QR(();=QR(();=QR(();=QRO&&8IJ/	\D			4	($
]E


E7
+%	\D			4	($M##M?C-((H-			gnn	5$&,(N (L (/ (= (((2(4F((*(,>( ( 6( "	( $8	( :L	(
 (
 +(
 -A( ( +( -?( ( %( '-( /3( 5<( >C( EK( ( 	( '(& /<#)s?'""$<:('	.E Q
 Us   K0K	shard_dirstart_indexversionc                    t         j                   xs t        j                         }|j                  }|j                  r$	 t	        j
                  |d|| |d|d|d|d|      }	|	S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d	|z        |D cg c]  }t#        j&                  |d       }}t#        j(                  |d      }|d
}t#        j*                  |d      }t-        j.                  d| ||||||      \  }}}}|dd }	t#        j0                         rjd|j3                  d      d|j3                  d      d|j3                  d      d|j5                  d      f}|j6                  }t#        j8                  d|||	       |	\  }	|	S # t        j                  $ r }
t        j                  |
|       Y d}
~
nd}
~
wt        j                  $ r Y nw xY w	 t        | |||||||      S # t        j                  $ r Y w xY wc c}w c c}w )a  TODO: add doc.

  Args:
    shard_dir: A `Tensor` of type `string`.
    start_index: A `Tensor` of type `int64`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    version: An `int`.
    compression: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  SnapshotDatasetReaderr   r   rn  rG  N)r   r   rn  rG  r   r   RExpected list for 'output_types' argument to 'snapshot_dataset_reader' Op, not %r.SExpected list for 'output_shapes' argument to 'snapshot_dataset_reader' Op, not %r.r  )rE  rF  r   r   rG  rn  r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   &snapshot_dataset_reader_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   rn   r  r1   r2   r3   r4   ro   r5   r6   )rE  rF  r   r   rG  rn  r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                     rB   snapshot_dataset_readerrM  e&  ss    
			0h..0$#\\	11%tYo}{Iw8g n 
L4-	0
	02>	?@ @ DPPR($$R8P,P	MD%=	1
	02?	@A A GTT8&&r?;T-Tgy1'K!!+}=+'889+.:/<g-8t	E!QX
 QK'""$cll>:Oll?+]ll=)9	*,F ::Lvw@('	.S && -
##At,,## 
3
[|%;$0 0 ## 
 Q
 Us<    "G II	HG::HHH* *I Izraw_ops.SnapshotDatasetReaderc                    t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D 	cg c]  }	t	        j                  |	d       }}	t	        j                  |d      }|d}t	        j                  |d      }t        j                  | t        j                        } t        j                  |t        j                        }| |g}
d|d|d|d|f}t	        j                  dd	|
|||
      }t	        j                         rt	        j                   d|
||       |\  }|S c c}w c c}	w )NrJ  r   rK  r   rG  r  rn  s   SnapshotDatasetReaderrF   rG   rI  )r*   r+   r,   r-   r.   r/   r0   rn   r  r%   rJ   rK   r[   rM   r   r3   r6   )rE  rF  r   r   rG  rn  r   r   r;   r<   rA   r@   r9   s                rB   rL  rL  &  sw   	L4-	0
	02>	?@ @ DPPR($$R8P,P	MD%=	1
	02?	@A A GTT8&&r?;T-Tgy1'K!!+}=+$$Y?)&&{GMMB+[),L/=i2&5q#)s?'""$vw@('	.+ Q
 Us   E"0E'reader_prefixwriter_prefix
hash_validhashc                    t         j                   xs t        j                         }|j                  }|j                  r2	 t	        j
                  |d|| |||d|d|d|d|	d|
d|d|d	|d
|d|      }|S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}|d}t#        j(                  |d      }|	d}	t#        j(                  |	d      }	|
d}
t#        j(                  |
d      }
|d}t#        j*                  |d      }|d}t#        j,                  |d      }|d}t#        j(                  |d      }t/        j0                  	 d| |||||||||	|
||||d\  }}}}|dd }t#        j2                         rd|j5                  d      d|j5                  d      d|j5                  d      d|j5                  d      d|j5                  d      d|j7                  d      d|j9                  d      d	|j5                  d	      d
|j5                  d
      d|j5                  d      d|j5                  d      d|j5                  d      f}|j:                  }t#        j<                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||||	|
|||||||      S # t        j                  $ r Y w xY wc c}w c c}w )a@  Creates a dataset that will write to / read from a snapshot.

  This dataset attempts to determine whether a valid snapshot exists at the
  `snapshot_path`, and reads from the snapshot in lieu of using `input_dataset`.
  If not, it will run the preprocessing pipeline as usual, and write out a
  snapshot of the data processed for future use.

  Args:
    input_dataset: A `Tensor` of type `variant`.
      A variant tensor representing the input dataset.
    path: A `Tensor` of type `string`.
      The path we should write snapshots to / read snapshots from.
    reader_func_other_args: A list of `Tensor` objects.
    shard_func_other_args: A list of `Tensor` objects.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    reader_func: A function decorated with @Defun.
      Optional. A function to control how to read data from snapshot shards.
    shard_func: A function decorated with @Defun.
      Optional. A function to control how to shard data when writing a snapshot.
    compression: An optional `string`. Defaults to `""`.
      The type of compression to be applied to the saved snapshot files.
    reader_prefix: An optional `string`. Defaults to `""`.
    writer_prefix: An optional `string`. Defaults to `""`.
    hash_valid: An optional `bool`. Defaults to `False`.
    hash: An optional `int`. Defaults to `0`.
    metadata: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  SnapshotDatasetV2r   r   rn  rO  rP  rQ  rR  rq  r  rZ  N)r   r   rn  rO  rP  rQ  rR  rq  r  rZ  r   r   NExpected list for 'output_types' argument to 'snapshot_dataset_v2' Op, not %r.OExpected list for 'output_shapes' argument to 'snapshot_dataset_v2' Op, not %r.r  Fr   )r   rm  rt  r  r   r   rq  r  rn  rO  rP  rQ  rR  rZ  r   ru  r  )rT  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   "snapshot_dataset_v2_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  r  rn   r1   r2   r3   r4   r  ro   r5   r6   )r   rm  rt  r  r   r   rq  r  rn  rO  rP  rQ  rR  rZ  r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                             rB   snapshot_dataset_v2rX  &  s   B 
			0h..0$#\\11!4 5~o}m_m_|Z}\:z8Eg n  
L4-	0
	,.:	;< < DPPR($$R8P,P	MD%=	1
	,.;	<= = GTT8&&r?;T-TK!!+}=+M##M?C-M##M?C-J!!*l;*	\D			4	($Hx4('88;+8t4J3H*6+8)4)4+8+8(2&.T;!QX QK'""$cll>:Oll?+]ll=)?ll?+_ll?+\  .'ll=)<ll<(*=ll./1Cll-.
ll:&(F ::L\67<('	.S && -
##At,,## 
	/
57L#=!%*4!j8  ## 
 Q
 Us<    0K M ML(LLL L; ;MMzraw_ops.SnapshotDatasetV2c                 d   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|d}t	        j                  |d      }|	d}	t	        j                  |	d      }	|
d}
t	        j                  |
d      }
|d	}t	        j                  |d
      }|d}t	        j                  |d      }|d}t	        j                  |d      }t	        j                  ||      \  }}t	        j                  ||      \  }}t        j                  | t        j                        } t        j                  |t        j                        }| |gt        |      z   t        |      z   }d|d|d|d|	d|
d
|d|d|d|d|d|d|f}t	        j                   dd||||      }t	        j"                         rt	        j$                  d|||       |\  }|S c c}w c c}w )NrU  r   rV  r   r  rn  rO  rP  FrQ  r   rR  rZ  rq  r  ru  r  s   SnapshotDatasetV2rF   rG   rT  )r*   r+   r,   r-   r.   r/   r0   r  r  rn   r   r%   rJ   rK   rL   r[   r   r3   r6   )r   rm  rt  r  r   r   rq  r  rn  rO  rP  rQ  rR  rZ  r   r   r;   r<   rz  r  rA   r@   r9   s                          rB   rW  rW  C'  se   	L4-	0
	,.:	;< < DPPR($$R8P,P	MD%=	1
	,.;	<= = GTT8&&r?;T-TK!!+}=+M##M?C-M##M?C-J!!*l;*	\D			4	($Hx4(4<4[4[\rtw4x112:2Y2YZoqt2u//((H-			gnn	5$&.D)EEMbHcc,L/=o}oz64|Z)<-/Eh& 11\#)s?'""$\67<('	.S Q
 Us   H(0H-r5   c           
      b   t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d|| d|d|      }|S t        | t        t        f      st!        d| z        t#        |       }t        |t        t        f      st!        d|z        |D 	cg c]  }	t%        j&                  |	d       }}	t        |t        t        f      st!        d|z        |D 
cg c]  }
t%        j(                  |
d       }}
t+        j,                  d| |||	      \  }}}}|dd }t%        j.                         rYd|j1                  d      d|j1                  d      d
|j3                  d
      f}|j4                  }t%        j6                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||||      S # t        j                  $ r Y w xY wc c}	w c c}
w )af  TODO: add doc.

  Args:
    inputs: A list of at least 1 `Tensor` objects with type `variant`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  SnapshotNestedDatasetReaderr   r   Nr   SExpected list for 'inputs' argument to 'snapshot_nested_dataset_reader' Op, not %r.YExpected list for 'output_types' argument to 'snapshot_nested_dataset_reader' Op, not %r.ZExpected list for 'output_shapes' argument to 'snapshot_nested_dataset_reader' Op, not %r.)r5   r   r   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   -snapshot_nested_dataset_reader_eager_fallbackr)   r*   r+   r,   r-   r   r.   r/   r0   r1   r2   r3   r4   ro   r5   r6   )r5   r   r   r   r7   r8   r9   r:   r   r;   r<   r=   r>   r?   r@   rA   s                   rB   snapshot_nested_dataset_readerr`  t'  sR    
			0h..0$#\\11+T6>o}6g n 
FT5M	*
	79?	@A A K'	L4-	0
	79E	FG G DPPR($$R8P,P	MD%=	1
	79F	GH H GTT8&&r?;T-T'88%f4@5BO!QX QK'""$cll>:Oll?+S#2C2CC2HJF::L%|VWF('	.M && -
##At,,## 
:
|=  ## 
 Q
 Us<    F2 5H'<H,2G9G  G98G9=H H$#H$z#raw_ops.SnapshotNestedDatasetReaderc                    t        | t        t        f      st        d| z        t	        |       }t        |t        t        f      st        d|z        |D cg c]  }t        j                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t        j                  |d       }}t        j                  | t        j                        } t        |       }d|d|d|f}	t        j                  dd||	||	      }
t        j                         rt        j                  d
||	|
       |
\  }
|
S c c}w c c}w )Nr\  r]  r   r^  r   r   s   SnapshotNestedDatasetReaderrF   rG   r[  )r*   r+   r,   r-   r   r.   r/   r0   r%   r   rK   rL   r   r3   r6   )r5   r   r   r   r   r   r;   r<   rA   r@   r9   s              rB   r_  r_  '  sg   	FT5M	*
	79?	@A A K'	L4-	0
	79E	FG G DPPR($$R8P,P	MD%=	1
	79F	GH H GTT8&&r?;T-T##FGOO<&f,L/=#	&;Q$0C"&(' ""$%|VWF('	.# Q
 Us   EEc                    t         j                   xs t        j                         }|j                  }|j                  r!	 t	        j
                  |d|| ||d|d|
      }|S t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j$                  |
d       }}
t        |t        t        f      st!        d|z        |D cg c]  }t#        j&                  |d       }}t)        j*                  d| |||||      \  }}}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }	t        j                  |	|       Y d}	~	nd}	~	wt        j                  $ r Y nw xY w	 t        | ||||||      S # t        j                  $ r Y w xY wc c}
w c c}w )	r  
SqlDatasetr   r   Nr   FExpected list for 'output_types' argument to 'sql_dataset' Op, not %r.GExpected list for 'output_shapes' argument to 'sql_dataset' Op, not %r.r  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   sql_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r  s                    rB   sql_datasetrg  '  s     
			0h..0$#\\11lD+/?o}Fg n 
L4-	0
	$&2	34 4 DPPR($$R8P,P	MD%=	1
	$&3	45 5 GTT8&&r?;T-T'88+'7u#/}	!!QX
 QK'""$cll>:Oll?+-F::LlFG5('	.E && -
##At,,## 
'
'\%Dd< < ## 
 Q
 UrI  zraw_ops.SqlDatasetc                    t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } t        j                  |t        j                        }t        j                  |t        j                        }| ||g}	d|d|f}
t	        j                  dd|	|
||      }t	        j                         rt	        j                  d|	|
|       |\  }|S c c}w c c}w )	Nrd  r   re  r   s
   SqlDatasetrF   rG   rc  r  r  s               rB   rf  rf  (  sQ   	L4-	0
	$&2	34 4 DPPR($$R8P,P	MD%=	1
	$&3	45 5 GTT8&&r?;T-T&&{GNNC+++,<gnnM

 
 
7%/7,L/=I&]Al#)s?'""$lFG5('	.# Q
 UrL  c           	         t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d|d| d|      }|S | d} t        j                  | d      } |d}t        j                  |d      }t        j                   d| ||      \  }}}}	|	dd }t        j"                         rHd|j%                  d      d|j%                  d      f}
|j&                  }t        j(                  d||
|       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||      S # t        j                  $ r Y )w xY w)r  StatsAggregatorHandler  r  Nr  r  r  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   &stats_aggregator_handle_eager_fallbackr)   r.   r  r1   r2   r3   r4   r5   r6   r  s               rB   stats_aggregator_handlerl  )(  s    
			0h..0$#\\11%t[){$g n I	;7)K!!+}=+'889+&*,!QX QK'""$3<<4mll=)+F::Lvw@('	.7 && -
##At,,## 
3;TtM M## 
r  zraw_ops.StatsAggregatorHandlec                    | d} t        j                  | d      } |d}t        j                  |d      }g }d| d|f}t        j                  dd||||      }t        j                         rt        j                  d|||       |\  }|S )Nr  r  r  s   StatsAggregatorHandlerF   rG   rj  r  r  s          rB   rk  rk  \(  s    I	;7)K!!+}=+,M;?&5q#)s?'""$vw@('	.r   c           	         t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d|d| d|      }|S | d} t        j                  | d      } |d}t        j                  |d      }t        j                   d| ||      \  }}}}	|	dd }t        j"                         rHd|j%                  d      d|j%                  d      f}
|j&                  }t        j(                  d||
|       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||      S # t        j                  $ r Y )w xY w)zTODO: add doc.

  Args:
    container: An optional `string`. Defaults to `""`.
    shared_name: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `resource`.
  StatsAggregatorHandleV2r  r  Nr  r  r  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   )stats_aggregator_handle_v2_eager_fallbackr)   r.   r  r1   r2   r3   r4   r5   r6   r  s               rB   stats_aggregator_handle_v2rq  n(  s    
			0h..0$#\\11'{I{$g n I	;7)K!!+}=+'88!Y/:G!QX QK'""$3<<4mll=)+F::L!<B('	.7 && -
##At,,## 
6;TtM M## 
r  zraw_ops.StatsAggregatorHandleV2c                    | d} t        j                  | d      } |d}t        j                  |d      }g }d| d|f}t        j                  dd||||      }t        j                         rt        j                  d|||       |\  }|S )Nr  r  r  s   StatsAggregatorHandleV2rF   rG   ro  r  r  s          rB   rp  rp  (  s    I	;7)K!!+}=+,M;?&7$0C"&(' ""$!<B('	.r   summaryc                    t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d|| |      }|S t        j                  d| ||      \  }}}}	|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||      S # t        j                  $ r Y w xY w)a  Set a summary_writer_interface to record statistics using given stats_aggregator.

  Args:
    stats_aggregator: A `Tensor` of type `resource`.
    summary: A `Tensor` of type `resource`.
    name: A name for the operation (optional).

  Returns:
    The created Operation.
  StatsAggregatorSetSummaryWriterNr   )r  rs  r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   2stats_aggregator_set_summary_writer_eager_fallbackr)   r1   r2   )
r  rs  r   r7   r8   r9   r:   r=   r>   r?   s
             rB   #stats_aggregator_set_summary_writerrw  (  s     
			0h..0$#\\11/7Gg n (88)<L3:G!QX 
* && -
##At,,## 
?
G$D: :## 
r7  z'raw_ops.StatsAggregatorSetSummaryWriterc                     t        j                  | t        j                        } t        j                  |t        j                        }| |g}d }t	        j
                  dd||||      }d }|S )Ns   StatsAggregatorSetSummaryWriterr   rG   )r%   rJ   rK   r	  r.   r   )r  rs  r   r   rA   r@   r9   s          rB   rv  rv  (  sn    ++,<g>N>NO""7G,<,<='"G,,&?$0C"&(' '	.r   c                 \   t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d||       }|S t        j                  d| |      \  }}}}|dd }t        j                          r&d}	|j"                  }
t        j$                  d|
|	|       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||      S # t        j                  $ r Y w xY w)r  StatsAggregatorSummaryNr   r  r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   'stats_aggregator_summary_eager_fallbackr)   r1   r2   r.   r3   r5   r6   r  s              rB   stats_aggregator_summaryr|  (  s*    
			0h..0$#\\11&h8gn (88 8$@!QXQK'""$F::L ,A('	.' && -
##At,,## 
4
4) )## 
r   zraw_ops.StatsAggregatorSummaryc                     t        j                  | t        j                        } | g}d }t	        j
                  dd||||      }t	        j                         rt	        j                  d|||       |\  }|S )Ns   StatsAggregatorSummaryrF   rG   rz  r  r  s         rB   r{  r{  )  sw    ##Hg.>.>?(,&6$0C"&(' ""$ ,A('	.r   c                    t         j                   xs t        j                         }|j                  }|j                  r$	 t	        j
                  |d|| |d|d|d|d|      }	|	S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d	|z        |D cg c]  }t#        j&                  |d       }}|d
}t#        j(                  |d      }t+        j,                  d| ||||||      \  }}}}|dd }	t#        j.                         r{d|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      d|j1                  d      f
}|j2                  }t#        j4                  d|||	       |	\  }	|	S # t        j                  $ r }
t        j                  |
|       Y d}
~
nd}
~
wt        j                  $ r Y nw xY w	 t        | |||||||      S # t        j                  $ r Y w xY wc c}w c c}w )a  Creates a dataset that stops iteration when predicate` is false.

  The `predicate` function must return a scalar boolean and accept the
  following arguments:

  * One tensor for each component of an element of `input_dataset`.
  * One tensor for each value in `other_arguments`.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    other_arguments: A list of `Tensor` objects.
      A list of tensors, typically values that were captured when
      building a closure for `predicate`.
    predicate: A function decorated with @Defun.
      A function returning a scalar boolean.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    metadata: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  TakeWhileDatasetr  r   r   rZ  N)r  r   r   rZ  r   r   MExpected list for 'output_types' argument to 'take_while_dataset' Op, not %r.NExpected list for 'output_shapes' argument to 'take_while_dataset' Op, not %r.r  )r   r   r  r   r   rZ  r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   !take_while_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  r1   r2   r3   r4   r5   r6   )r   r   r  r   r   rZ  r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                     rB   take_while_datasetr  )  sg   0 
			0h..0$#\\	11 $Yoz8-g n 
L4-	0
	+-9	:; ; DPPR($$R8P,P	MD%=	1
	+-:	;< < GTT8&&r?;T-THx4('88-,;&/l*7(!%'!QX QK'""$3<<4lll<(.ll>*Oll?+Zll:&	(F
 ::LL&';('	.U && -
##At,,## 
.
I#=$D2 2 ## 
 Q
 Urx  zraw_ops.TakeWhileDatasetc           
         t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D 	cg c]  }	t	        j                  |	d       }}	|d}t	        j                  |d      }t	        j                  ||      \  }
}t        j                  | t        j                        } | gt        |      z   }d|d|
d|d|d|f
}t	        j                  d	d
||||      }t	        j                         rt	        j                  d|||       |\  }|S c c}w c c}	w )Nr  r   r  r   r  rZ  r  r   s   TakeWhileDatasetrF   rG   r  r  )r   r   r  r   r   rZ  r   r   r;   r<   r   rA   r@   r9   s                 rB   r  r  k)  sq   	L4-	0
	+-9	:; ; DPPR($$R8P,P	MD%=	1
	+-:	;< < GTT8&&r?;T-THx4(&.&M&Mo_b&c#O((H-4#88,L2B,

& 0!L#)s?'""$L&';('	.+ Q
 Ur{  c                    t         j                   xs t        j                         }|j                  }|j                  r 	 t	        j
                  |d|| |d|d|	      }|S t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j$                  |	d       }}	t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j&                  |
d       }}
t)        j*                  d| ||||      \  }}}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}	w c c}
w )	r  ThreadPoolDatasetr   r   Nr   NExpected list for 'output_types' argument to 'thread_pool_dataset' Op, not %r.OExpected list for 'output_shapes' argument to 'thread_pool_dataset' Op, not %r.r  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   "thread_pool_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   r  s                   rB   thread_pool_datasetr  )  s    
			0h..0$#\\11!4o}Fg n 
L4-	0
	,.:	;< < DPPR($$R8P,P	MD%=	1
	,.;	<= = GTT8&&r?;T-T'88=)4*6+8t	E!QX
 QK'""$cll>:Oll?+-F::L\67<('	.E && -
##At,,## 
/
<%Dd< < ## 
 Q
 UrD   zraw_ops.ThreadPoolDatasetc                 p   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } t        j                  |t        j                        }| |g}d|d|f}	t	        j                  dd||	||      }
t	        j                         rt	        j                  d||	|
       |
\  }
|
S c c}w c c}w )	Nr  r   r  r   s   ThreadPoolDatasetrF   rG   r  r  r  s              rB   r  r  )  s9   	L4-	0
	,.:	;< < DPPR($$R8P,P	MD%=	1
	,.;	<= = GTT8&&r?;T-T((H-&&{G4D4DE+-,L/=I&11\#)s?'""$\67<('	.! Q
 UrN   c                    t         j                   xs t        j                         }|j                  }|j                  r$	 t	        j
                  |d|d| d|d|d|d|      }|S t        j                  | d      } t        j                  |d      }|d	}t        j                  |d      }|d
}t        j                  |d      }|d
}t        j                  |d      }t!        j"                  d| |||||      \  }
}
}}|dd }t        j$                         r{d|j'                  d      d|j'                  d      d|j)                  d      d|j)                  d      d|j)                  d      f
}|j*                  }t        j,                  d|||       |\  }|S # t        j                  $ r }	t        j                  |	|       Y d}	~	nd}	~	wt        j                  $ r Y nw xY w	 t        | ||||||      S # t        j                  $ r Y w xY w)r  ThreadPoolHandlerQ  r  r  r  r  Nr  rF   r  r  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   !thread_pool_handle_eager_fallbackr)   r.   rn   r  r1   r2   r3   ro   r4   r5   r6   r  s                  rB   thread_pool_handler  )  s+   & 
			0h..0$#\\	11 ${"$<nk9m[Jg n !!+}=+""<@,% %../GIcdI	;7)K!!+}=+'88)55M&/[!%'!QX QK'""$S..}=( :;^ll>*Kll;'ll=)+F ::LL&';('	.U && -
##At,,## 
.!#;#y!$	8 8
 ## 
r  zraw_ops.ThreadPoolHandlec           
         t        j                  | d      } t        j                  |d      }|d}t        j                  |d      }|d}t        j                  |d      }|d}t        j                  |d      }g }d| d|d|d|d|f
}t        j                  dd||||	      }	t        j                         rt        j
                  d
|||	       |	\  }	|	S )NrQ  r  rF   r  r  r  r  s   ThreadPoolHandlerG   r  r  r  s
             rB   r  r  (*  s    !!+}=+""<@,% %../GIcdI	;7)K!!+}=+,;(BNL+]K)& 0!L#)s?'""$L&';('	.r   c                 @   t         j                   xs t        j                         }|j                  }|j                  r!	 t	        j
                  |d|| d|d|d|
      }|S t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j$                  |	d       }}	t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j&                  |
d       }}
|d	}t#        j(                  |d      }t+        j,                  d| ||||
      \  }}}}|dd }t#        j.                         rYd|j1                  d      d|j1                  d      d|j1                  d      f}|j2                  }t#        j4                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}	w c c}
w )a  A dataset that splits the elements of its input into multiple elements.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    metadata: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  UnbatchDatasetr   r   rZ  Nr\  JExpected list for 'output_types' argument to 'unbatch_dataset' Op, not %r.KExpected list for 'output_shapes' argument to 'unbatch_dataset' Op, not %r.r  r   r   r   rZ  r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   unbatch_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  r1   r2   r3   r4   r5   r6   r   r   r   rZ  r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                   rB   unbatch_datasetr  A*  s=    
			0h..0$#\\11m^o}j(Lg n 
L4-	0
	(*6	78 8 DPPR($$R8P,P	MD%=	1
	(*7	89 9 GTT8&&r?;T-THx4('88'3(5#	%!QX
 QK'""$cll>:Oll?+Zll:&(F ::L,9('	.M && -
##At,,## 
+
l%tO O ## 
 Q
 Ur  zraw_ops.UnbatchDatasetc                 ^   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|d}t	        j                  |d      }t        j                  | t        j                        } | g}d|d|d|f}	t	        j                  dd||	||	      }
t	        j                         rt	        j                  d
||	|
       |
\  }
|
S c c}w c c}w )Nr  r   r  r   r  rZ  s   UnbatchDatasetrF   rG   r  r*   r+   r,   r-   r.   r/   r0   r  r%   rJ   rK   rL   r   r3   r6   r   r   r   rZ  r   r   r;   r<   rA   r@   r9   s              rB   r  r  *  sB   	L4-	0
	(*6	78 8 DPPR($$R8P,P	MD%=	1
	(*7	89 9 GTT8&&r?;T-THx4(((H-,L/=h&.,#)s?'""$,9('	.' Q
 Ur  
compressedc           
         t         j                   xs t        j                         }|j                  }|j                  r	 t	        j
                  |d|| d|d|      }|S t        |t        t        f      st!        d|z        |D cg c]  }t#        j$                  |d       }}t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j&                  |	d       }}	t)        j*                  d| |||      \  }
}
}}|dd }t#        j,                         rHd|j/                  d      d|j/                  d      f}|j0                  }t#        j2                  d|||       |S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | ||||      S # t        j                  $ r Y w xY wc c}w c c}	w )	a~  Uncompresses a compressed dataset element.

  Args:
    compressed: A `Tensor` of type `variant`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    name: A name for the operation (optional).

  Returns:
    A list of `Tensor` objects of type `output_types`.
  UncompressElementr   r   Nr   MExpected list for 'output_types' argument to 'uncompress_element' Op, not %r.NExpected list for 'output_shapes' argument to 'uncompress_element' Op, not %r.)r  r   r   r   )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   !uncompress_element_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r6   )r  r   r   r   r7   r8   r9   r:   r;   r<   r=   r>   r?   r@   rA   s                  rB   uncompress_elementr  *  s    
			0h..0$#\\11!4^o}6g n 
L4-	0
	+-9	:; ; DPPR($$R8P,P	MD%=	1
	+-:	;< < GTT8&&r?;T-T'88
+8tE!QX QK'""$cll>:Oll?+-F::L\67<	.? && -
##At,,## 
.
<}  ## 
 Q
 Us<    E. G#G(.F5FF54F59G	 	G G zraw_ops.UncompressElementc                 0   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}t        j                  | t        j                        } | g}d|d|f}t	        j                  dt        |      ||||      }	t	        j                         rt	        j                  d|||	       |	S c c}w c c}w )Nr  r   r  r   s   UncompressElementrG   r  )r*   r+   r,   r-   r.   r/   r0   r%   rJ   rK   rL   r   r   r3   r6   )
r  r   r   r   r   r;   r<   rA   r@   r9   s
             rB   r  r  *  s   	L4-	0
	+-9	:; ; DPPR($$R8P,P	MD%=	1
	+-:	;< < GTT8&&r?;T-T%%j'//B*,L/=I&13|3D$0C"&(' ""$\67<	. Q
 Us   D0Dc                 @   t         j                   xs t        j                         }|j                  }|j                  r!	 t	        j
                  |d|| d|d|d|
      }|S t        |t        t        f      st!        d|z        |D 	cg c]  }	t#        j$                  |	d       }}	t        |t        t        f      st!        d|z        |D 
cg c]  }
t#        j&                  |
d       }}
|d	}t#        j(                  |d      }t+        j,                  d| ||||
      \  }}}}|dd }t#        j.                         rYd|j1                  d      d|j1                  d      d|j1                  d      f}|j2                  }t#        j4                  d|||       |\  }|S # t        j                  $ r }t        j                  ||       Y d}~nd}~wt        j                  $ r Y nw xY w	 t        | |||||      S # t        j                  $ r Y w xY wc c}	w c c}
w )a  Creates a dataset that contains the unique elements of `input_dataset`.

  Args:
    input_dataset: A `Tensor` of type `variant`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    metadata: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  UniqueDatasetr   r   rZ  Nr\  IExpected list for 'output_types' argument to 'unique_dataset' Op, not %r.JExpected list for 'output_shapes' argument to 'unique_dataset' Op, not %r.r  r  )r   r   r    r!   r   r"   r#   r$   r%   r&   r'   unique_dataset_eager_fallbackr)   r*   r+   r,   r-   r.   r/   r0   r  r1   r2   r3   r4   r5   r6   r  s                   rB   unique_datasetr  *  s<    
			0h..0$#\\11ot]No}j(Lg n 
L4-	0
	')5	67 7 DPPR($$R8P,P	MD%=	1
	')6	78 8 GTT8&&r?;T-THx4('88}&2'4x"	$!QX
 QK'""$cll>:Oll?+Zll:&(F ::Lvw8('	.M && -
##At,,## 
*
l%tO O ## 
 Q
 Ur  zraw_ops.UniqueDatasetc                 ^   t        |t        t        f      st        d|z        |D cg c]  }t	        j
                  |d       }}t        |t        t        f      st        d|z        |D cg c]  }t	        j                  |d       }}|d}t	        j                  |d      }t        j                  | t        j                        } | g}d|d|d|f}	t	        j                  dd||	||	      }
t	        j                         rt	        j                  d
||	|
       |
\  }
|
S c c}w c c}w )Nr  r   r  r   r  rZ  s   UniqueDatasetrF   rG   r  r  r  s              rB   r  r  ++  sB   	L4-	0
	')5	67 7 DPPR($$R8P,P	MD%=	1
	')6	78 8 GTT8&&r?;T-THx4(((H-,L/=h&-q#)s?'""$vw8('	.' Q
 Ur  weightsc                 F   t         j                   xs t        j                         }|j                  }|j                  r"	 t	        j
                  |d|| |d|d|d|      }|S t        | t        t        f      st!        d| z        t#        |       }
t        |t        t        f      st!        d|z        t#        |      }t        |t        t        f      st!        d	|z        |D cg c]  }t%        j&                  |d       }}t        |t        t        f      st!        d
|z        |D cg c]  }t%        j(                  |d       }}|d}t%        j*                  |d      }t-        j.                  d| |||||      \  }}}}|dd }t%        j0                         r{d|j3                  d      d|j3                  d      d|j5                  d      d|j5                  d      d|j5                  d      f
}|j6                  }t%        j8                  d|||       |\  }|S # t        j                  $ r }	t        j                  |	|       Y d}	~	nd}	~	wt        j                  $ r Y nw xY w	 t        | ||||||      S # t        j                  $ r Y 4w xY wc c}w c c}w )a  TODO: add doc.

  Args:
    input_datasets: A list of at least 2 `Tensor` objects with type `variant`.
    weights: A list of at least 2 `Tensor` objects with type `float64`.
    output_types: A list of `tf.DTypes` that has length `>= 1`.
    output_shapes: A list of shapes (each a `tf.TensorShape` or list of `ints`) that has length `>= 1`.
    metadata: An optional `string`. Defaults to `""`.
    name: A name for the operation (optional).

  Returns:
    A `Tensor` of type `variant`.
  WeightedFlatMapDatasetr   r   rZ  Nr\  VExpected list for 'input_datasets' argument to 'weighted_flat_map_dataset' Op, not %r.OExpected list for 'weights' argument to 'weighted_flat_map_dataset' Op, not %r.TExpected list for 'output_types' argument to 'weighted_flat_map_dataset' Op, not %r.UExpected list for 'output_shapes' argument to 'weighted_flat_map_dataset' Op, not %r.r  )r   r  r   r   rZ  r   r   M)r   r   r    r!   r   r"   r#   r$   r%   r&   r'   (weighted_flat_map_dataset_eager_fallbackr)   r*   r+   r,   r-   r   r.   r/   r0   r  r1   r2   r3   ro   r4   r5   r6   )r   r  r   r   rZ  r   r7   r8   r9   r:   r   _attr_Mr;   r<   r=   r>   r?   r@   rA   s                      rB   weighted_flat_map_datasetr  F+  s    
			0h..0$#\\	11&ngo}Hg n 
NT5M	2
	24B	CD D '	GdE]	+
	24;	<= = L'	L4-	0
	24@	AB B DPPR($$R8P,P	MD%=	1
	24A	BC C GTT8&&r?;T-THx4('88 *10=+3$	@!QX
 QK'""$3$$S)30A0A#0Fcll>:Oll?+Zll:&(F ::L ,A('	.c && -
##At,,## 
5
'%tO O ## 
" Q
 Us<     H" 'J.J"I)5II)(I)-I? ?JJzraw_ops.WeightedFlatMapDatasetc           
         t        | t        t        f      st        d| z        t	        |       }t        |t        t        f      st        d|z        t	        |      }t        |t        t        f      st        d|z        |D 	cg c]  }	t        j                  |	d       }}	t        |t        t        f      st        d|z        |D 
cg c]  }
t        j                  |
d       }}
|d}t        j                  |d      }t        j                  | t        j                        } t        j                  |t        j                        }t        |       t        |      z   }d	|d
|d|d|d|f
}t        j                  dd||||      }t        j                         rt        j                   d|||       |\  }|S c c}	w c c}
w )Nr  r  r  r   r  r   r  rZ  r   r  s   WeightedFlatMapDatasetrF   rG   r  )r*   r+   r,   r-   r   r.   r/   r0   r  r%   r   rK   rL   float64r   r3   r6   )r   r  r   r   rZ  r   r   r   r  r;   r<   rA   r@   r9   s                 rB   r  r  +  s   	NT5M	2
	24B	CD D '	GdE]	+
	24;	<= = L'	L4-	0
	24@	AB B DPPR($$R8P,P	MD%=	1
	24A	BC C GTT8&&r?;T-THx4(++NGOOL.$$Wgoo>'n%W5,#w=*h8&6$0C"&(' ""$ ,A('	.+ Q
 Us   F?G)N)r   r   N)r  r  r  r  N)r  r  r  Fr  N)FN)r  N)r   N)TFFN)TN)r  r  N)rF   r  r  N)Tr  N)rQ  r  N)Fr  N)r  r  r  N)r  TN)FTr  N)r  r  r  r?  r@  rF   rF   rF   rF   Fr   r   rA  r  N)r  r  r  Fr   r  N(  __doc__collectionstensorflow.pythonr   tensorflow.python.eagerr   r   r   r#   r   r.   tensorflow.python.frameworkr   rK   tensorflow.security.fuzzing.pyr   _atypesr	   _op_def_registryr
   r%   r   r1   "tensorflow.python.util.deprecationr   tensorflow.python.utilr   r    tensorflow.python.util.tf_exportr   typingr   r   r   typing_extensionsr   VariantInt64rC   	to_raw_opr   r(   StringrW   rQ   rU   rc   r_   rb   intrp   rj   rm   r~   rx   r|   Boolr   r   r   r   r   r   r   add_fallback_dispatch_listadd_type_based_api_dispatcherr   r   _tf_type_based_dispatcherDispatchr   r   r   r   r   r   r   r   r   r   r   r   r   r   Resourcestrr  r   r  r  r  r  r   r  r  r  r)  r%  r(  r/  r-  r.  r9  r5  r7  rH  rB  rF  rV  rQ  rU  r^  r\  r]  rc  ra  rb  rj  rf  ri  rq  rm  rp  rx  rt  rw  r~  r{  r}  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r	  r  r  r  r  r#  r  r!  r.  r(  r,  r<  r8  r;  rM  r?  rL  rZ  rT  rX  rd  r`  rc  ro  rh  rm  r|  rv  r{  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r  r	  r  r  r  r  r  r  r  r  r  r  r  r-  r#  r,  r6  r4  r5  r<  r:  r;  rA  r?  r@  rH  rD  rG  rO  rK  rN  rX  rT  rW  rb  r[  ra  rk  rg  rj  rw  rp  rv  r  r}  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  Float32r  r  r  r   r  r  r	  r  r  r  r  r  r  r  r  r  r  r  r&  r"  r%  r.  r*  r-  rC  r<  rB  rM  rI  rL  rX  rT  rW  r`  r[  r_  rg  rc  rf  rl  rj  rk  rq  ro  rp  rw  ru  rv  r|  rz  r{  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  Float64r  r  r  r   r   rB   <module>r     s  
  6 7 1 7 9 F K 3 I C 8 6 % % '7iW__8L.M 7\efikrkxkxfx\y 7  gp  qt  v}  vE  vE  qE  gF 7r I9%GHXrIst YsGOOG[=\ ktux  {B  {H  {H  vH  lI   v  @C  EL  ET  ET  @T  vU 2Dygoo1E'F DYbcfhohvhvcvYw D  en  or  t{  tC  tC  oC  eD DL ;I9:>4>>J];^_ iW__@T6U hqruw~  xF  xF  sF  iG   t}  ~A  CJ  CR  CR  ~R  tS 0Dygoo1E'F DYbcfhohvhvcvYw D  en  or  t{  tC  tC  oC  eD DL ;I9:>4>>J];^_ iW__@T6U hqruw~  xF  xF  sF  iG   t}  ~A  CJ  CR  CR  ~R  tS 0RiW__0D&E RT]^acjcpcp^pTq R  {D  EH  JQ  JW  JW  EW  {X R  IL R  ]` R  r{  |  AH  AP  AP  |P  rQ Rh 9978HZ9[\ YsGOO?S5T clmpryrrm  dA   JS  TW  Y`  Yf  Yf  Tf  Jg   Y\   lo   H  IL  NU  N]  N]  I]  ^ @6	#w:N0O 6V_`celeses`sVt 6  bk  lo  qx  q@  q@  l@  bA 6p KI&IJ>4>>ZvKwx ygooI]?^ enort{  uC  uC  pC  fD   qz  {~  @G  @O  @O  {O  qP 2=9S'..%89 =YWZ\c\j\jWjMk =  {D  EH  JQ  JW  JW  EW  {X =  bk  lo  qx  q}  q}  l}  b~ =  MV  WZ  \c  \j  \j  Wj  Mk =  ~G  HK  MT  MY  MY  HY  ~Z =  fo  ps  u|  uC  uC  pC  fD =  S\  ]`  bi  bo  bo  ]o  Sp =  `i  jm  ov  o~  o~  j~  ` =~ -Y+,^T^^K-HI
)C4G*H \efikrkykyfy\z   JS  TW  Y`  Yf  Yf  Tf  Jg   qz  {~  @G  @L  @L  {L  qM   \e  fi  kr  ky  ky  fy  \z   MV  WZ  \c  \h  \h  Wh  Mi   u~  B  DK  DR  DR  R  uS   bk  lo  qx  q~  q~  l~  b   ox  y|  ~E  ~M  ~M  yM  oN 6@iW^^(;< @PYZ]_f_m_mZmPn @  ~G  HK  MT  MZ  MZ  HZ  ~[ @  en  or  t{  t@  t@  o@  eA @  PY  Z]  _f  _m  _m  Zm  Pn @  AJ  KN  PW  P\  P\  K\  A] @  ir  sv  x  xF  xF  sF  iG @  V_  `c  el  er  er  `r  Vs @  T]  ^a  cj  cp  cp  ^p  Tq @  PY  Z]  _f  _n  _n  Zn  Po @D 1y/01OPYsGNN7J-K _hilnun|n|i|_}   MV  WZ  \c  \i  \i  Wi  Mj   t}  ~A  CJ  CO  CO  ~O  tP   _h  il  nu  n|  n|  i|  _}   PY  Z]  _f  _k  _k  Zk  Pl   xA  BE  GN  GU  GU  BU  xV   en  or  t{  tA  tA  oA  eB   cl  mp  ry  r  r  m  c@   _h  il  nu  n}  n}  i}  _~ 8   D
 
%%
((
>@3(8#89 @SVXhShIi @  ) &@D /i-.~t~~l/KL+EENN 
	#7G2G(H 
XabegwbwXx 
V3;O1P Vclmpryrrm  dA V  V_  `c  el  er  er  `r  Vs V  _b V  r{  |  AH  AP  AP  |P  rQ Vp MY'KL^T^^\yMz{ %	#wJ^@_ %r{|  BI  BO  BO  }O  sP %  en  or  t{  tA  tA  oA  eB %  nq %  AJ  KN  PW  P_  P_  K_  A` %PA9T#Y5O+P Acf A  T]  ^a  cj  cr  cr  ^r  Ts AF Ay!?@PfAgh )DIwD^:_ ru   cl  mp  ry  rA  rA  mA  cB <$ygoo9M/N $L 7)56~t~~FV7WX
iW__H\>] 
$iW__0D&E $U^_bdkdqdq_qUr $L 9978HZ9[\ 
YsGOO?S5T 
dmnqsz  tA  tA  oA  eB 
eYsGMM/A%B eU^_bdkdrdr_rUs e  H  IL  NU  N\  N\  I\  ] e  ir  sv  x  xF  xF  sF  iG e  S\  ]`  bi  bp  bp  ]p  Sq e  MV  WZ  \c  \i  \i  Wi  Mj e  H  IL  NU  N^  N^  I^  _ e  \_ e  {~ e  RU e  z} e  PY  Z]  _f  _n  _n  Zn  Po eN =Y;<^T^^L`=ab )Ic7==>P4Q )dmnqsz  tB  tB  oB  eC )  NW  X[  ]d  ]k  ]k  Xk  Nl )  xA  BE  GN  GU  GU  BU  xV )  bk  lo  qx  q  q  l  b@ )  \e  fi  kr  kx  kx  fx  \y )  NW  X[  ]d  ]m  ]m  Xm  Nn )  lo )  IL )  ^a )  @C )  S\  ]`  bi  bq  bq  ]q  Sr )Xk	#w}}2D(E kXabegngugubuXv k  BK  LO  QX  Q_  Q_  L_  B` k  lu  vy  {B  {I  {I  vI  lJ k  V_  `c  el  es  es  `s  Vt k  FO  PS  U\  Ub  Ub  Pb  Fc k  t}  ~A  CJ  CP  CP  ~P  tQ k  mv  wz  |C  |I  |I  wI  mJ k  _h  il  nu  n~  n~  i~  _ k  | k  [^ k  ru k  Z	]	 k  p	y	  z	}	  	F
  	N
  	N
  z	N
  p	O
 kZ Ay!?@PgAhi +ygmmAS7T +gpqtv}  wE  wE  rE  hF +  QZ  [^  `g  `n  `n  [n  Qo +  {D  EH  JQ  JX  JX  EX  {Y +  en  or  t{  tB  tB  oB  eC +  U^  _b  dk  dq  dq  _q  Ur +  CL  MP  RY  R_  R_  M_  C` +  |E  FI  KR  KX  KX  FX  |Y +  nw  x{  }D  }M  }M  xM  nN +  LO +  il +  ~A	 +  `	c	 +  s	|	  }	@
  B
I
  B
Q
  B
Q
  }	Q
  s	R
 +\v	#w}}2D(E vXabegngugubuXv v  BK  LO  QX  Q_  Q_  L_  B` v  lu  vy  {B  {I  {I  vI  lJ v  V_  `c  el  es  es  `s  Vt v  FO  PS  U\  Ub  Ub  Pb  Fc v  t}  ~A  CJ  CP  CP  ~P  tQ v  mv  wz  |C  |I  |I  wI  mJ v  _h  il  nu  n~  n~  i~  _ v  KN v  jm v  A	D	 v  X	\	 v  @
C
 v  V
_
  `
c
  e
l
  e
t
  e
t
  `
t
  V
u
 vp Ay!?@PgAhi /ygmmAS7T /gpqtv}  wE  wE  rE  hF /  QZ  [^  `g  `n  `n  [n  Qo /  {D  EH  JQ  JX  JX  EX  {Y /  en  or  t{  tB  tB  oB  eC /  U^  _b  dk  dq  dq  _q  Ur /  CL  MP  RY  R_  R_  M_  C` /  |E  FI  KR  KX  KX  FX  |Y /  nw  x{  }D  }M  }M  xM  nN /  [^ /  x{ /  M	P	 /  ^	b	 /  A
D
 /  T
]
  ^
a
  c
j
  c
r
  c
r
  ^
r
  T
s
 /dv	#w~~2E(F vYbcfhohvhvcvYw v  CL  MP  RY  R`  R`  M`  Ca v  mv  wz  |C  |J  |J  wJ  mK v  W`  ad  fm  ft  ft  at  Wu v  GP  QT  V]  Vc  Vc  Qc  Gd v  u~  B  DK  DQ  DQ  Q  uR v  nw  x{  }D  }J  }J  xJ  nK v  `i  jm  ov  o  o  j  `@ v  LO v  kn v  B	E	 v  Y	]	 v  A
D
 v  W
`
  a
d
  f
m
  f
u
  f
u
  a
u
  W
v
 vp Ay!?@PgAhi /ygnnAT7U /hqruw~  xF  xF  sF  iG /  R[  \_  ah  ao  ao  \o  Rp /  |E  FI  KR  KY  KY  FY  |Z /  fo  ps  u|  uC  uC  pC  fD /  V_  `c  el  er  er  `r  Vs /  DM  NQ  SZ  S`  S`  N`  Da /  }F  GJ  LS  LY  LY  GY  }Z /  ox  y|  ~E  ~N  ~N  yN  oO /  \_ /  y| /  N	Q	 /  _	c	 /  B
E
 /  U
^
  _
b
  d
k
  d
s
  d
s
  _
s
  U
t
 /d')C,?"@ 'PYZ]_f_n_nZnPo 'R 9978HZ9[\ 
3;N1O 
_hilnun}n}i}_~ 
%	#w2F(G %S\]`bibpbp]pSq %  FO  PS  U\  Uc  Uc  Pc  Fd %L ;I9:>4>>J^;_` 	ygooAU7V 	bkloqxqql  cA 	  U^  _b  dk  dr  dr  _r  Us 	@3;O1P @^ghkmtmzmzhz^{ @  IR  SV  X_  Xe  Xe  Se  If @  S\  ]`  bi  bq  bq  ]q  Sr @D KI&IJ>4>>ZwKxy 	#wJ^@_ mvwz  }D  }J  }J  xJ  nK   Xa  be  gn  gt  gt  bt  Xu   bk  lo  qx  q@  q@  l@  bA 4J	#wBV8W Jnwx|  ~A  yB  DK  DS  DS  yS  oT J  IM J  cl  mp  ry  rA  rA  mA  cB JX KI&IJ>4>>ZuKvw yQTV]VeVeQeGf   ~G  HL  MP  HQ  SZ  Sb  Sb  Hb  ~c   Y]   mv  wz  |C  |K  |K  wK  mL D%iW__(<= %)TWY`YgYgTgJh %s|  ~A  CJ  CQ  CQ  ~Q  tR %  ]` %L 7)56~t~~FV7WXYsGOO7K-L YbcfhohvhvcvYw   CL  MP  RY  R`  R`  M`  Ca   mp #)C9I9I4I*J #J C	"AB>4>>RiCjk 	3HXHXCX9Y 	9Ic7??>R4S 9fopsu|  vD  vD  qD  gE 9  r{  |  AH  AP  AP  |P  rQ 9v !S	*Q RSaSWSaSa  cC  TD  !E 9SRYRaRaMaCb u~  @C  EL  ES  ES  @S  vT   AJ  KN  PW  P_  P_  K_  A` 2L9S'//=Q3R Lajknpwp}p}k}a~ L  HQ  RU  W^  Wd  Wd  Rd  He L  VY L  kt  ux  zA  zI  zI  uI  kJ L\  Qy)OPQ_QUQ_Q_`  RA   B )CQXQ`Q`L`Ba pyz}  @G  @M  @M  {M  qN   W`  ad  fm  fs  fs  as  Wt   fi   yB  CF  HO  HW  HW  CW  yX <8YsGOOG[=\ 8clmpry  sA  sA  nA  dB 8  ox  y|  ~E  ~M  ~M  yM  oN 8t )c	2a(bcqcgcqcq  s\  d]  )^ %IVY[b[j[jVjLk r{|  BI  BP  BP  }P  sQ   ~G  HK  MT  M\  M\  H\  ~] 2>	#w~~2E(F >ZcdgipiwiwdwZx >  HQ  RU  W^  Wd  Wd  Rd  He >  ox  y|  ~E  ~J  ~J  yJ  oK >  Zc  dg  ip  iw  iw  dw  Zx >  KT  UX  Za  Zf  Zf  Uf  Kg >  s|  }@  BI  BP  BP  }P  sQ >  `i  jm  ov  o|  o|  j|  `} >  mv  wz  |C  |K  |K  wK  mL >@ E#CD^T^^TlEmn ygnnAT7U irsvx  yG  yG  tG  jH   W`  ad  fm  fs  fs  as  Wt   ~G  HK  MT  MY  MY  HY  ~Z   ir  sv  x  xF  xF  sF  iG   Zc  dg  ip  iu  iu  du  Zv   BK  LO  QX  Q_  Q_  L_  B`   ox  y|  ~E  ~K  ~K  yK  oL   |E  FI  KR  KZ  KZ  FZ  |[ 8B	$s)W__B\8] Bps B  aj  kn  pw  p  p  k  a@ BH $Y9-W#XYgY]YgYg  iL  ZM  $N  yQUVYQZ\c\k\kQkGl   @C   py  z}  F  N  N  zN  pO >(Ic7??>R4S (clmpryrrm  dA (T "U+S!TUcUYUcUc  eE  VF  "G 9SRYRaRaMaCb r{|  BI  BO  BO  }O  sP 'YsGOO?S5T '`ijmovo}o}j}`~ '  S\  ]`  bi  bp  bp  ]p  Sq 'P !S	*Q RSaSWSaSa  cD  TE  !F 
IcSZSbSbNbDc 
oxy|  F  M  M  zM  pN 
  bk  lo  qx  q  q  l  b@ 
AiW__H\>] Aktux  {B  {H  {H  vH  lI A  V_  `c  el  er  er  `r  Vs A  `i  jm  ov  o~  o~  j~  ` AF )c	2a(bcqcgcqcq  s]  d^  )_ %YWZ\c\k\kWkMl   {D  EH  JQ  JW  JW  EW  {X   en  or  t{  tA  tA  oA  eB   ox  y|  ~E  ~M  ~M  yM  oN 4CYsT[TcTcOcEd C  |E  FJ  KN  FO  QX  Q`  Q`  F`  |a C  NW  X[  ]d  ]l  ]l  Xl  Nm CJ )c	2a(bcqcgcqcq  s[  d\  )] %T]^acjcrcr^rTs   KT  UY  Z]  U^  `g  `o  `o  Uo  Kp   ]f  gj  ls  l{  l{  g{  ]| >j3CW9X j  hq  ru  w~  wF  wF  rF  hG jX %[I.Y$Z[i[_[i[i  kP  \Q  %R !	RUW^WfWfRfHg   w@  AD  FM  FU  FU  AU  wV DT	#wBV8W T  GP  QT  V]  Ve  Ve  Qe  Gf Tl $Y9-W#XYgY]YgYg  iM  ZN  $O  yQTV]VeVeQeGf   V_  `c  el  et  et  `t  Vu @=iW__@T6U =  AE =  [d  eh  jq  jy  jy  ey  [z =~ #W),U"VWeW[WeWe  gI  XJ  #K YsT[TcTcOcEd   QU   en  or  t{  tC  tC  oC  eD 8$yg>N>N9N/O $_hilnun|n|i|_} $L !S	*Q RSaSWSaSa  cC  TD  !E iWM]M]H]>^ nwx{  ~E  ~L  ~L  yL  oM 533F)G 5t}  B  DK  DS  DS  S  uT 5n G)$EF~t~~VoGpq 	#w~~BU8V   DM  NQ  SZ  Sb  Sb  Nb  Dc 07iW__@T6U 7\efikrkykyfy\z 7  hq  ru  w~  wF  wF  rF  hG 7r #W),U"VWeW[WeWe  gI  XJ  #K YsT[TcTcOcEd ktux  {B  {I  {I  vI  lJ   w@  AD  FM  FU  FU  AU  wV 2]iW__@T6U ]t}  B  DK  DQ  DQ  Q  uR ]  hq  ru  w~  wD  wD  rD  hE ]  W`  ad  fm  fr  fr  ar  Ws ]  jn ]  DM  NQ  SZ  Sb  Sb  Nb  Dc ]~ "U+S!TUcUYUcUc  eG  VH  "I YsT[TcTcOcEd   DM  NQ  SZ  S`  S`  N`  Da   w@  AD  FM  FS  FS  AS  wT   fo  ps  u|  uA  uA  pA  fB   z~   NW  X[  ]d  ]l  ]l  Xl  Nm BTIc7??6J,K T  X\ T  x| T  VZ T  py  z}  F  N  N  zN  pO Tl E#CD^T^^TlEmn "9S'//EY;Z "  hl "  DH "  ]a "  qz  {~  @G  @O  @O  {O  qP "J$)C<O2P $`ijmovo~o~j~` $L $Y9-W#XYgY]YgYg  iL  ZM  $N  3PWP^P^K^A_ oxy|  F  N  N  zN  pO :3PWP_P_K_A` :  }F  GJ  LS  LY  LY  GY  }Z :  GP  QT  V]  Ve  Ve  Qe  Gf :x ,i95g+hiwimiwiw  yf  jg  ,h (PYZ]_f_n_nZnPo   LU  VY  [b  [h  [h  Vh  Li   V_  `c  el  et  et  `t  Vu 263CW9X 6  FO  PS  U\  Ud  Ud  Pd  Fe 6p &]Y/[%\]k]a]k]k  mR  ^S  &T "	RUW^WfWfRfHg   U^  _b  dk  ds  ds  _s  Ut 0UIc7??FZ<[ U  }F  GJ  LS  LY  LY  GY  }Z U  js  tw  y@  yF  yF  tF  jG U  QZ  [^  `g  `l  `l  [l  Qm U  GP  QT  V]  Vc  Vc  Qc  Gd U  H  IL  NU  N[  N[  I[  \ U  LU  VY  [b  [j  [j  Vj  Lk Un )c	2a(bcqcgcqcq  s[  d\  )] %9UXZaZiZiUiKj   LU  VY  [b  [h  [h  Vh  Li   yB  CF  HO  HU  HU  CU  yV   `i  jm  ov  o{  o{  j{  `|   V_  `c  el  er  er  `r  Vs   NW  X[  ]d  ]j  ]j  Xj  Nk   [d  eh  jq  jy  jy  ey  [z >yiW__@T6U yktux  {B  {H  {H  vH  lI y  tx y  NW  X[  ]d  ]l  ]l  Xl  Nm yv #W),U"VWeW[WeWe  gI  XJ  #K 1YsT[TcTcOcEd 1  {D  EH  JQ  JW  JW  EW  {X 1  DH 1  Xa  be  gn  gv  gv  bv  Xw 1h:Ic7??FZ<[ :jstw  zA  zG  zG  uG  kH :  u~  B  DK  DS  DS  S  uT :x (ay1_'`aoaeaoao  qY  bZ  ([ $9UXZaZiZiUiKj   zC  DG  IP  IV  IV  DV  zW   DM  NQ  SZ  Sb  Sb  Nb  Dc 2:iW]]0B&C :IVY[b[h[hVhLi :  W`  ad  fm  fu  fu  au  Wv :x KI&IJ>4>>ZuKvw YsGMM?Q5R [dehjqjwjwew[x   fo  ps  u|  uD  uD  pD  fE 2F	#w:N0O F_hilnun{n{i{_| F  im F  BK  LO  QX  Q`  Q`  L`  Ba FP MY'KL^T^^\xMyz ygooI]?^ nwx{  ~E  ~K  ~K  yK  oL   y}   MV  WZ  \c  \k  \k  Wk  Ml :FYsGOO7K-L F  dh F  ~G  HK  MT  M\  M\  H\  ~] FP G)$EF~t~~VoGpq Ic7??FZ<[   tx   HQ  RU  W^  Wf  Wf  Rf  Hg >>YsGOOG[=\ >pyz}  @G  @P  @P  {P  qQ >  Xa  be  gn  gu  gu  bu  Xv >  HQ  RU  W^  We  We  Re  Hf >  S\  ]`  bi  bq  bq  ]q  Sr >@ )c	2a(bcqcgcqcq  s\  d]  )^ %IVY[b[j[jVjLk   @I  JM  OV  O_  O_  J_  @`   gp  qt  v}  vD  vD  qD  gE   W`  ad  fm  ft  ft  at  Wu   bk  lo  qx  q@  q@  l@  bA 68iW__8L.M 8clmpryrrm  dA 8  nw  x{  }D  }L  }L  xL  nM 8t I9%GHXrIst YsGOOG[=\ r{|  BI  BO  BO  }O  sP   }F  GJ  LS  L[  L[  G[  }\ 2DygooAU7V Denort{  uB  uB  pB  fC D  S\  ]`  bi  bo  bo  ]o  Sp D  AJ  KN  PW  P]  P]  K]  A^ D  KT  UX  Za  Zi  Zi  Ui  Kj DL $Y9-W#XYgY]YgYg  iL  ZM  $N  iPSU\UdUdPdFe t}  B  DK  DQ  DQ  Q  uR   bk  lo  qx  q~  q~  l~  b   PY  Z]  _f  _l  _l  Zl  Pm   Zc  dg  ip  ix  ix  dx  Zy 6:)C4G*H :\efikrkykyfy\z :  DM  NQ  SZ  Sa  Sa  Na  Db :  OX  Y\  ^e  ^m  ^m  Ym  On :x E#CD^T^^TlEmn 3CV9W ktux  {B  {I  {I  vI  lJ   S\  ]`  bi  bp  bp  ]p  Sq   ^g  hk  mt  m|  m|  h|  ^} 4/3 /s /]fgjlsl|l|g|]} /b %[I.Y$Z[i[_[i[i  kO  \P  %Q !3 UX hqruw~  xH  xH  sH  iI &$Ic7CSCS>S4T $dmnqsz  tB  tB  oB  eC $L &]Y/[%\]k]a]k]k  mR  ^S  &T "9SRYRbRbMbCc s|  ~A  CJ  CQ  CQ  ~Q  tR G9S'//=Q3R G  \e  fi  kr  kz  kz  fz  \{ GR  Qy)OPQ_QUQ_Q_`  RA   B )CQXQ`Q`L`Ba   kt  ux  zA  zI  zI  uI  kJ 4:Ic7??>R4S :bkloqx  rB  rB  mB  cC :  py  z}  F  N  N  zN  pO :x !S	*Q RSaSWSaSa  cC  TD  !E 9SRYRaRaMaCb qz{~  AH  AQ  AQ  |Q  rR   H  IL  NU  N]  N]  I]  ^ 2G GC Gbe Gsv G  HK G  ^g  hk  mt  m}  m}  h}  ^~ GR  Qy)OPQ_QUQ_Q_`  RA   B  SV ru   CF   UX   hq  ru  w~  wG  wG  rG  hH 45	#w:N0O 5  }F  GJ  LS  L[  L[  G[  }\ 5n MY'KL^T^^\xMyz ygooI]?^   LU  VY  [b  [j  [j  Vj  Lk 05ygoo9M/N 5  |E  FI  KR  KZ  KZ  FZ  |[ 5n KI&IJ>4>>ZuKvw iW__H\>]   KT  UX  Za  Zi  Zi  Ui  Kj 05)C,@"A 5)TWY`YfYfTfJg 5n ;I9:>4>>J^;_` 3;O1P YbcfhohuhucuYv 0J)C4H*I JQZ[^`g`m`m[mQn J  xA  BE  GN  GT  GT  BT  xU J  gp  qt  v}  vF  vF  qF  gG J  C J  SV J  ir  sv  x  xG  xG  sG  iH JX Ay!?@PfAgh 3CW9X `ijmovo|o|j|`}   GP  QT  V]  Vc  Vc  Qc  Gd   v  @C  EL  EU  EU  @U  vV   OS   _b   r{  |  AH  AP  AP  |P  rQ DhIc7??6J,K h  [d  eh  jq  jy  jy  ey  [z hT C	"AB>4>>RjCkl 9S'//EY;Z   js  tw  y@  yH  yH  tH  jI BX9S'//5I+J X  ux X  KT  UX  Za  Zi  Zi  Ui  Kj Xt Ay!?@PgAhi )CDX:Y   EH   Xa  be  gn  gv  gv  bv  Xw D=33G)H =sw =  NW  X[  ]d  ]l  ]l  Xl  Nm =~ ?i =>~t~~Nc?de 	#wBV8W   DH   Xa  be  gn  gv  gv  bv  Xw 6M)C4H*I M  PY  Z]  _f  _l  _l  Zl  Pm M  or M  EN  OR  T[  Tc  Tc  Oc  Ed M^ ?i =>~t~~Nd?ef 3CW9X   _h  il  nu  n{  n{  i{  _|   B   R[  \_  ah  ap  ap  \p  Rq @	#w?O?O:O0P [dehjqjyjyey[z @ MY'KL^T^^\yMz{ 	ygN^N^I^?_ 	jstw  zA  zI  zI  uI  kJ 	$)C1A1A,A"B $R[\_ahaoao\oRp $L ;I9:>4>>J];^_ 
3@P@P;P1Q 
ajknpwp~p~k~a 
'yg6F6F1F'G 'W`adfmftftatWu 'R C	"AB>4>>RjCkl 
iWEUEU@U6V 
fopsu|  vD  vD  qD  gE 
AIc7>>&9: Agpqtv}  wF  wF  rF  hG AF /i-.~t~~l/KL9S'..5H+I v  AD  FM  FU  FU  AU  wV .633G)H 6yY\^e^l^lYlOm 6  [d  eh  jq  jy  jy  ey  [z 6p ?i =>~t~~Nc?de 	#wBV8W ^ghkmtm{m{h{^|   js  tw  y@  yH  yH  tH  jI 0^3CW9X ^  zC  DG  IP  IV  IV  DV  zW ^  gp  qt  v}  vC  vC  qC  gD ^  ^g  hk  mt  mz  mz  hz  ^{ ^  V_  `c  el  er  er  `r  Vs ^  cf ^  {~ ^  QZ  [^  `g  `o  `o  [o  Qp ^@ %[I.Y$Z[i[_[i[i  kP  \Q  %R !"	RUW^WfWfRfHg "  IR  SV  X_  Xe  Xe  Se  If "  v  @C  EL  ER  ER  @R  vS "  mv  wz  |C  |I  |I  wI  mJ "  en  or  t{  tA  tA  oA  eB "  sv "  BE "  U^  _b  dk  ds  ds  _s  Ut "J; ;V_`celetet`tVu ;z /i-.~t~~l/KLPS clmpry  sB  sB  nB  dC 65	#w~~:M0N 5  |E  FI  KR  KZ  KZ  FZ  |[ 5n KI&IJ>4>>ZvKwx ygnnI\?]   KT  UX  Za  Zi  Zi  Ui  Kj 0Bygnn!45 B  FI B  \e  fi  kr  kz  kz  fz  \{ BH /i-.~t~~l/KLiW^^0C&D   VY   ir  sv  x  xG  xG  sG  iH :c33G)H cgpqtv}  wD  wD  rD  hE c  [d  eh  jq  jw  jw  ew  [x c  JS  TW  Y`  Ye  Ye  Te  Jf c  ]a c  ru c  HQ  RU  W^  Wf  Wf  Rf  Hg cJ =Y;<^T^^La=bc  	#wBV8W  v  AD  FM  FS  FS  AS  wT    js  tw  y@  yF  yF  tF  jG    Yb  cf  ho  ht  ht  ct  Yu    mq    }@    PY  Z]  _f  _n  _n  Zn  Po  F$YsGNN/B%C $S\]`bibqbq]qSr $L Ay!?@PfAgh 
Ic7>>>Q4R 
bkloqx  rA  rA  mA  cB 
:Ic7??>R4S :oxy|  F  L  L  zL  pM :  zC  DG  IP  IX  IX  DX  zY :x  Qy)OPQ_QUQ_Q_  aA  RB   C 9SRYRaRaMaCb   H  IL  NU  N[  N[  I[  \   IR  SV  X_  Xg  Xg  Sg  Ih 25Ic7??6J,K 5  yB  CF  HO  HW  HW  CW  yX 5n E#CD^T^^TlEmn 9S'//EY;Z   HQ  RU  W^  Wf  Wf  Rf  Hg 0qygoo9M/N qoxy|  F  L  L  zL  pM q  ]f  gj  ls  ly  ly  gy  ]z q  DM  NQ  SZ  S_  S_  N_  D` q  zC  DG  IP  IV  IV  DV  zW q  r{  |  AH  AN  AN  |N  rO q  z} q  PY  Z]  _f  _n  _n  Zn  Po qf KI&IJ>4>>ZuKvw iW__H\>]   H  IL  NU  N[  N[  I[  \   lu  vy  {B  {H  {H  vH  lI   S\  ]`  bi  bn  bn  ]n  So   IR  SV  X_  Xe  Xe  Se  If   AJ  KN  PW  P]  P]  K]  A^   JM   ]f  gj  ls  l{  l{  g{  ]| D lq  A  VX  mo  vz Y33G)H Y^ghkmtmzmzhz^{ Y  gk Y  H  IL  NU  N]  N]  I]  ^ Yv ?i =>~t~~Nc?de F	#wBV8W Fmvwz  }D  }J  }J  xJ  nK F  w{ F  @I  JM  OV  O^  O^  J^  @_ FR u~  LN  ce  z|  CG aIc7??6J,K aajknpwp}p}k}a~ a  qt a  LU  VY  [b  [j  [j  Vj  Lk aF C	"AB>4>>RjCkl G9S'//EY;Z Gpyz}  @G  @M  @M  {M  qN G  AD G  IR  SV  X_  Xg  Xg  Sg  Ih GT8ygoo9M/N 8]fgjlslylygy]z 8  hq  ru  w~  wF  wF  rF  hG 8t I9%GHXsItu iW__H\>] luvy  |C  |I  |I  wI  mJ   w@  AD  FM  FU  FU  AU  wV 2J3#56 JygmmI[?\ J  EH J  [d  eh  jq  jy  jy  ey  [z JX 3	12>4>>.3QR	#w}}2D(E iX[]d]j]jXjNk   UX   hq  ru  w~  wF  wF  rF  hG 8[Ic7==&89 [)CQXQ^Q^L^B_ [qz{~  AH  AQ  AQ  |Q  rR [  LP [  ad [  w@  AD  FM  FU  FU  AU  wV [z 7)56~t~~FW7XY9S'--5G+H QZ[^`g`m`m[mQn   AJ  KN  PW  P`  P`  K`  Aa   \`   lo   H  IL  NU  N]  N]  I]  ^ BF9S'//-A#B FR[\_ahanan\nRo F  \` F  u~  B  DK  DS  DS  S  uT FP 534^T^^O5TU)C<P2Q ajknpwp}p}k}a~   lp   @I  JM  OV  O^  O^  J^  @_ 8AiW__0D&E AT]^acjcpcp^pTq A  DM  NQ  SZ  S_  S_  N_  D` A  MV  WZ  \c  \k  \k  Wk  Ml AF 9978HZ9[\ YsGOO?S5T clmpryrrm  dA   S\  ]`  bi  bn  bn  ]n  So   \e  fi  kr  kz  kz  fz  \{ 2;iW__(<= ;	RUW^WeWeReHf ;r{|  BI  BP  BP  }P  sQ ;  jm ;  | ;  MP ;  cl  mp  ry  r  r  m  c@ ;z 7)56~t~~FV7WXYsGOO7K-L W`adfmftftatWu   BK  LO  QX  Q_  Q_  L_  B`   y|   LO   [^   nw  x{  }D  }J  }J  xJ  nK .D3+?!@ D9UXZaZhZhUhKi Du~  @C  EL  ES  ES  @S  vT D  mp D  B D  \_ D  mp D  CL  MP  RY  R`  R`  M`  Ca DL ;I9:>4>>J];^_ 	#w:N0O ZcdgipiwiwdwZx   EN  OR  T[  Tb  Tb  Ob  Ec   |   OR   jm   y|   LU  VY  [b  [i  [i  Vi  Lj 6BIc7??.B$C B9UXZaZiZiUiKj Br{|  BI  BO  BO  }O  sP B  Yb  cf  ho  hu  hu  cu  Yv B  cl  mp  ry  rA  rA  mA  cB BH 7)56~t~~FV7WX9S'//=Q3R ZcdgipixixdxZy   BK  LO  QX  Q^  Q^  L^  B_   hq  ru  w~  wD  wD  rD  hE   r{  |  AH  AP  AP  |P  rQ 4/	#w*> ? /yQTV]VdVdQdGe /  WZ /  nr /` /i-.~t~~l/KLygoo9M/N V_`celeses`sVt   gj   |@ (J9S'//-A#B J)TWY`YgYgTgJh J  wz J  NR J  gp  qt  v}  vE  vE  qE  gF JX 3	12>4>>/3RS)C<P2Q YbcfhohvhvcvYw   GJ   \`   py  z}  F  N  N  zN  pO DS	#w*> ? S  W[ S  vz S  JM S  `i  jm  ov  o~  o~  j~  ` Sj /i-.~t~~l/KL"ygoo9M/N "  gk "  AE "  QT "  dm  nq  sz  sB  sB  nB  dC "J<	#w:N0O <clmpry  sC  sC  nC  dD <  KT  UX  Za  Zh  Zh  Uh  Ki <  {D  EH  JQ  JX  JX  EX  {Y <  FO  PS  U\  Ud  Ud  Pd  Fe <| KI&IJ>4>>ZvKwx ygooI]?^ r{|  BI  BR  BR  }R  sS   Zc  dg  ip  iw  iw  dw  Zx   JS  TW  Y`  Yg  Yg  Tg  Jh   U^  _b  dk  ds  ds  _s  Ut 673+?!@ 7V_`celerer`rVs 7  aj  kn  pw  p  p  k  a@ 7r 1y/01NO	#w:N0O enort{  uB  uB  pB  fC   py  z}  F  N  N  zN  pO 0I)C4H*I IXabegngtgtbtXu I  FO  PS  U\  Ub  Ub  Pb  Fc I  t}  ~A  CJ  CP  CP  ~P  tQ I  C I  Xa  be  gn  gv  gv  bv  Xw IV Ay!?@PfAgh 3CW9X gpqtv}  wD  wD  rD  hE   U^  _b  dk  dq  dq  _q  Ur   CL  MP  RY  R_  R_  M_  C`   OS   cl  mp  ry  rA  rA  mA  cB <<ygnn1D'E <ps <  GP  QT  V]  Ve  Ve  Qe  Gf <| Ay!?@PfAgh iW^^@S6T   AD   T]  ^a  cj  cr  cr  ^r  Ts 6aIc7??.B$C a9UXZaZhZhUhKi a  UX a  ps a  KN a  dg a  UX a  sv a  MP a  gj a  AD a  X\ a  il a  vy a  BE a  \_ a  r{  |  AH  AP  AP  |P  rQ aF 7)56~t~~FV7WXG9S'//=Q3R GZcdgipiwiwdwZx G  eh G  ~A G  WZ G  nq G  TW G  mp G  FI G  _b G  x{ G  NR G  Z] G  fi G  qt G  EH G  Xa  be  gn  gv  gv  bv  Xw GTAygnn1D'E AT]^acjcpcp^pTq A  Z] A  kn A  AJ  KN  PW  P_  P_  K_  A` AF C	"AB>4>>RiCjk iW^^@S6T clmpryrrm  dA   il   {~   NW  X[  ]d  ]l  ]l  Xl  Nm :vygoo1E'F viX[]d]k]kXkNl v  `c v  vy v  LO v  _c v  ps v  @C v  V_  `c  el  et  et  `t  Vu vp ;I9:>4>>J];^_ .iW__@T6U .]fgjlslzlzgz]{ .  ps .  DG .  X[ .  im .  ux .  DG .  W`  ad  fm  fu  fu  au  Wv .b:9T#Y5O+P :  ~G  HK  MT  M\  M\  H\  ~] :x Oi(MN~t~~^|O}~ )DIwD^:_   MV  WZ  \c  \k  \k  Wk  Ml <:YsGNN':; :yY\^e^l^lYlOm :v  AD  FM  FT  FT  AT  wU :  BK  LO  QX  Q`  Q`  L`  Ba :x -Y+,^T^^K-HI
Ic7>>6I,J ^ghkmtm{m{h{^|   FO  PS  U\  Uc  Uc  Pc  Fd   QZ  [^  `g  `o  `o  [o  Qp 2.c .# .PYZ]_f_o_oZoPp .` C	"AB>4>>RiCjk c  [dehjqjzjzez[{ $. .S .S\]`bibrbr]rSs .` G)$EF~t~~VpGqr  3 ^ghkmtm}m}h}^~ & )CIYIYDY:Z  enort{  uE  uE  pE  fF  B #W),U"VWeW[WeWe  gJ  XK  #L 	SVX_XhXhShIi 	t}  B  DK  DT  DT  T  uU 	$yg6F6F1F'G $W`adfmftftatWu $L E#CD^T^^TlEmn iWEUEU@U6V fopsu|  vD  vD  qD  gE KiW__0D&E K  JM K  `i  jm  ov  o~  o~  j~  ` KZ 9978HZ9[\ YsGOO?S5T   Z]   mv  wz  |C  |K  |K  wK  mL :8ygoo1E'F 8U^_bdkdtdt_tUu 8  cl  mp  ry  rA  rA  mA  cB 8t ;I9:>4>>J];^_ iW__@T6U dmnqsz  tD  tD  oD  eE   r{  |  AH  AP  AP  |P  rQ 0FC Fs FUX Ffi Fz} F  QZ  [^  `g  `p  `p  [p  Qq FP 9978HZ9[\ 3 c eh ux   HK   [d  eh  jq  jz  jz  ez  [{ 2;9S'//-A#B ;jm ;  AJ  KN  PW  P_  P_  K_  A` ;z 534^T^^O5TU)C<P2Q z}   NW  X[  ]d  ]l  ]l  Xl  Nm 639S'//-A#B 3j ;I9:>4>>J\;]^ )C<P2Q .;)C,@"A ;il ;  @I  JM  OV  O^  O^  J^  @_ ;z 3	12>4>>.3QR3;O1P y|   MV  WZ  \c  \k  \k  Wk  Ml 6HiS	7??8R.S H^ghlmphqsz  tC  tC  iC  _D H  lo H  BK  LO  QX  Q`  Q`  L`  Ba HT E#CD^T^^TmEno $YtCyRYRaRaGa=b $mvw{|  xA  CJ  CR  CR  xR  nS $  | $  OX  Y\  ^e  ^m  ^m  Ym  On $r   