shared-ritm 1.2.136 → 1.2.137

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/README.md +103 -103
  2. package/dist/index.css +1 -1
  3. package/dist/shared-ritm.es.js +165 -164
  4. package/dist/shared-ritm.umd.js +38 -38
  5. package/dist/types/api/services/UserService.d.ts +3 -0
  6. package/package.json +64 -64
  7. package/src/App.vue +2461 -2461
  8. package/src/api/services/AuthService.ts +53 -53
  9. package/src/api/services/BrigadesService.ts +32 -32
  10. package/src/api/services/CommentsService.ts +24 -24
  11. package/src/api/services/ControlsService.ts +92 -92
  12. package/src/api/services/EquipmentService.ts +29 -29
  13. package/src/api/services/FileService.ts +17 -17
  14. package/src/api/services/GanttService.ts +17 -17
  15. package/src/api/services/InstrumentsService.ts +63 -63
  16. package/src/api/services/MetricsService.ts +110 -110
  17. package/src/api/services/ModulesService.ts +27 -27
  18. package/src/api/services/ProjectsService.ts +83 -83
  19. package/src/api/services/RepairsService.ts +124 -124
  20. package/src/api/services/ScheduleService.ts +69 -69
  21. package/src/api/services/SearchService.ts +22 -22
  22. package/src/api/services/TasksService.ts +145 -145
  23. package/src/api/services/UserService.ts +113 -109
  24. package/src/api/services/VideoService.ts +103 -103
  25. package/src/api/settings/ApiService.ts +124 -124
  26. package/src/api/types/Api_Auth.ts +86 -86
  27. package/src/api/types/Api_Brigades.ts +36 -36
  28. package/src/api/types/Api_Comment.ts +40 -40
  29. package/src/api/types/Api_Controls.ts +111 -111
  30. package/src/api/types/Api_Equipment.ts +3 -3
  31. package/src/api/types/Api_Files.ts +7 -7
  32. package/src/api/types/Api_Instruments.ts +136 -136
  33. package/src/api/types/Api_Modules.ts +21 -21
  34. package/src/api/types/Api_Projects.ts +61 -61
  35. package/src/api/types/Api_Repairs.ts +138 -138
  36. package/src/api/types/Api_Schedule.ts +64 -64
  37. package/src/api/types/Api_Search.ts +79 -79
  38. package/src/api/types/Api_Service.ts +9 -9
  39. package/src/api/types/Api_Tasks.ts +319 -319
  40. package/src/api/types/Api_User.ts +140 -140
  41. package/src/api/types/Api_Video.ts +145 -145
  42. package/src/common/app-button/AppButton.vue +173 -173
  43. package/src/common/app-checkbox/AppCheckbox.vue +26 -26
  44. package/src/common/app-date-picker/AppDatePicker.vue +81 -81
  45. package/src/common/app-datepicker/AppDatepicker.vue +166 -166
  46. package/src/common/app-dialogs/AppConfirmDialog.vue +99 -99
  47. package/src/common/app-dropdown/AppDropdown.vue +37 -37
  48. package/src/common/app-icon/AppIcon.vue +108 -108
  49. package/src/common/app-input/AppInput.vue +148 -148
  50. package/src/common/app-input-new/AppInputNew.vue +175 -175
  51. package/src/common/app-input-search/AppInputSearch.vue +174 -174
  52. package/src/common/app-layout/AppLayout.vue +84 -84
  53. package/src/common/app-layout/components/AppLayoutHeader.vue +273 -273
  54. package/src/common/app-layout/components/AppLayoutPage.vue +16 -16
  55. package/src/common/app-loader/index.vue +43 -43
  56. package/src/common/app-page-layout/AppPageLayout.vue +122 -122
  57. package/src/common/app-select/AppSelect.vue +157 -157
  58. package/src/common/app-sheet/AppSheet.vue +120 -120
  59. package/src/common/app-sheet-new/AppSheetNew.vue +244 -244
  60. package/src/common/app-sidebar/AppSidebar.vue +168 -168
  61. package/src/common/app-sidebar/components/SidebarMenu.vue +37 -37
  62. package/src/common/app-sidebar/components/SidebarMenuItem.vue +148 -148
  63. package/src/common/app-table/AppTable.vue +308 -308
  64. package/src/common/app-table/AppTableLayout.vue +137 -137
  65. package/src/common/app-table/components/ModalSelect.vue +285 -285
  66. package/src/common/app-table/components/TableModal.vue +356 -356
  67. package/src/common/app-table/components/TablePagination.vue +152 -152
  68. package/src/common/app-table/controllers/useBaseTable.ts +45 -45
  69. package/src/common/app-table/controllers/useColumnSelector.ts +38 -38
  70. package/src/common/app-table/controllers/useTableModel.ts +102 -102
  71. package/src/common/app-toggle/AppToggle.vue +24 -24
  72. package/src/common/app-wrapper/AppWrapper.vue +28 -28
  73. package/src/global.d.ts +1 -1
  74. package/src/icons/components/arrow-down-icon.vue +25 -25
  75. package/src/icons/components/arrow-frame-icon.vue +19 -19
  76. package/src/icons/components/arrow-square.vue +22 -22
  77. package/src/icons/components/table-filter-icon.vue +30 -30
  78. package/src/icons/dialogs/RemoveIcon.vue +12 -12
  79. package/src/icons/dialogs/SafetyIcon.vue +12 -12
  80. package/src/icons/header/NotificationIcon.vue +18 -18
  81. package/src/icons/header/PersonIcon.vue +11 -11
  82. package/src/icons/header/SettingIcon.vue +14 -14
  83. package/src/icons/header/flashIcon.vue +24 -24
  84. package/src/icons/header/searchStatusIcon.vue +24 -24
  85. package/src/icons/header/smallCapsIcon.vue +34 -34
  86. package/src/icons/sidebar/assign-module-icon.vue +36 -36
  87. package/src/icons/sidebar/instrument-history-icon.vue +32 -32
  88. package/src/icons/sidebar/instrument-order-icon.vue +38 -38
  89. package/src/icons/sidebar/instrument-work-zone-icon.vue +18 -18
  90. package/src/icons/sidebar/instruments-icon.vue +45 -45
  91. package/src/icons/sidebar/logo-icon.vue +15 -15
  92. package/src/icons/sidebar/logout-icon.vue +13 -13
  93. package/src/icons/sidebar/modules-icon.vue +16 -16
  94. package/src/icons/sidebar/notifications-icon.vue +24 -24
  95. package/src/icons/sidebar/order-icon.vue +44 -44
  96. package/src/icons/sidebar/pass-icon.vue +38 -38
  97. package/src/icons/sidebar/positions-icon.vue +42 -42
  98. package/src/icons/sidebar/preorder-icon.vue +19 -19
  99. package/src/icons/sidebar/projects-icon.vue +31 -31
  100. package/src/icons/sidebar/repair-object-icon.vue +18 -18
  101. package/src/icons/sidebar/repairs-icon.vue +20 -20
  102. package/src/icons/sidebar/roles-icon.vue +26 -26
  103. package/src/icons/sidebar/status-history-icon.vue +24 -24
  104. package/src/icons/sidebar/tasks-icon.vue +28 -28
  105. package/src/icons/sidebar/tasks_tasks-icon.vue +39 -39
  106. package/src/icons/sidebar/tasks_today-icon.vue +27 -27
  107. package/src/icons/sidebar/teams-icon.vue +32 -32
  108. package/src/icons/sidebar/user-icon.vue +18 -18
  109. package/src/icons/sidebar/users-icon.vue +46 -46
  110. package/src/icons/sidebar/videosources-icon.vue +19 -19
  111. package/src/icons/sidebar/videowall-icon.vue +13 -13
  112. package/src/icons/sidebar/videozones-icon.vue +21 -21
  113. package/src/icons/sidebar/warehouses-icon.vue +43 -43
  114. package/src/icons/sidebar/workshop-icon.vue +100 -100
  115. package/src/icons/sidebar/workzones-icon.vue +22 -22
  116. package/src/icons/task/attention-icon.vue +13 -13
  117. package/src/icons/task/clock-icon.vue +10 -10
  118. package/src/icons/task/delete-icon.vue +10 -10
  119. package/src/icons/task/fire-icon.vue +16 -16
  120. package/src/index.ts +126 -126
  121. package/src/main.ts +28 -28
  122. package/src/quasar-user-options.ts +17 -17
  123. package/src/router/index.ts +10 -10
  124. package/src/shared/styles/general.css +124 -124
  125. package/src/shims-vue.d.ts +5 -5
  126. package/src/styles/variables.sass +12 -12
  127. package/src/utils/confirm.ts +12 -12
  128. package/src/utils/faceApiHelper.ts +132 -132
  129. package/src/utils/helpers.ts +59 -59
  130. package/src/utils/notification.ts +9 -9
  131. package/dist/types/api/services/PhotoService.d.ts +0 -40
@@ -1880,10 +1880,10 @@ const Et = Ke({
1880
1880
  emits: ["update:modelValue", "click"],
1881
1881
  setup(e, { emit: n }) {
1882
1882
  Ta((s) => ({
1883
- "6ebd44ce": s.width,
1884
- "31bb5bb4": s.height,
1885
- "2efce8ab": s.borderRadius,
1886
- d3196ae6: s.borderWidth
1883
+ "653f50d4": s.width,
1884
+ "28dbcfd9": s.height,
1885
+ "463ced10": s.borderRadius,
1886
+ "449ea588": s.borderWidth
1887
1887
  }));
1888
1888
  const t = e, r = n;
1889
1889
  function o(s) {
@@ -4405,7 +4405,7 @@ const by = {
4405
4405
  ])
4406
4406
  ]));
4407
4407
  }
4408
- }), AA = /* @__PURE__ */ Be(_y, [["__scopeId", "data-v-a3ab30e6"]]), rd = {
4408
+ }), AA = /* @__PURE__ */ Be(_y, [["__scopeId", "data-v-41286752"]]), rd = {
4409
4409
  left: !0,
4410
4410
  right: !0,
4411
4411
  up: !0,
@@ -6205,7 +6205,7 @@ const jy = { class: "app-input-new" }, Gy = {
6205
6205
  }, 8, ["modelValue", "type", "rules", "placeholder", "disable", "readonly", "class", "error", "autocomplete"])
6206
6206
  ]));
6207
6207
  }
6208
- }), Yy = /* @__PURE__ */ Be(Xy, [["__scopeId", "data-v-c24941bd"]]), Qy = { class: "datepicker" }, Zy = /* @__PURE__ */ Bt({
6208
+ }), Yy = /* @__PURE__ */ Be(Xy, [["__scopeId", "data-v-123be192"]]), Qy = { class: "datepicker" }, Zy = /* @__PURE__ */ Bt({
6209
6209
  __name: "AppDatepicker",
6210
6210
  props: /* @__PURE__ */ Kl({
6211
6211
  label: { default: "" },
@@ -6312,7 +6312,7 @@ const jy = { class: "app-input-new" }, Gy = {
6312
6312
  }, 8, ["modelValue", "label", "required", "rules", "error", "disable"])
6313
6313
  ]));
6314
6314
  }
6315
- }), MA = /* @__PURE__ */ Be(Zy, [["__scopeId", "data-v-9fea6240"]]), Jy = /* @__PURE__ */ Bt({
6315
+ }), MA = /* @__PURE__ */ Be(Zy, [["__scopeId", "data-v-1f61ce6d"]]), Jy = /* @__PURE__ */ Bt({
6316
6316
  __name: "AppInput",
6317
6317
  props: {
6318
6318
  field: { type: Boolean },
@@ -6386,7 +6386,7 @@ const jy = { class: "app-input-new" }, Gy = {
6386
6386
  emits: ["update:modelValue", "button-click", "clear", "focus", "blur", "click"],
6387
6387
  setup(e, { emit: n }) {
6388
6388
  Ta((u) => ({
6389
- "542fbebd": u.height
6389
+ "2cd26a79": u.height
6390
6390
  }));
6391
6391
  const t = e, r = n, o = Q(!1), a = k(() => t.type === "password" ? o.value ? "text" : "password" : t.type || "text"), i = k({
6392
6392
  get: () => t.modelValue !== null && t.modelValue !== void 0 && t.type === "number" ? +t.modelValue : t.modelValue,
@@ -6493,8 +6493,8 @@ const jy = { class: "app-input-new" }, Gy = {
6493
6493
  emits: ["update:modelValue", "button-click", "clear", "focus", "blur", "click"],
6494
6494
  setup(e, { emit: n }) {
6495
6495
  Ta((i) => ({
6496
- "33b606d4": i.borderRadius,
6497
- f2e6e6c6: i.height
6496
+ "37f45cbd": i.borderRadius,
6497
+ "5617c546": i.height
6498
6498
  }));
6499
6499
  const t = e, r = n, o = k({
6500
6500
  get: () => t.modelValue !== null && t.modelValue !== void 0 && t.type === "number" ? +t.modelValue : t.modelValue,
@@ -6858,7 +6858,7 @@ const Wv = typeof ResizeObserver < "u", fh = Wv === !0 ? {} : {
6858
6858
  }, null, 8, ["size", "thickness"])) : Xe("", !0)
6859
6859
  ], 2));
6860
6860
  }
6861
- }), cb = /* @__PURE__ */ Be(lb, [["__scopeId", "data-v-9f8ceae1"]]), db = /* @__PURE__ */ Bt({
6861
+ }), cb = /* @__PURE__ */ Be(lb, [["__scopeId", "data-v-ef7a12f8"]]), db = /* @__PURE__ */ Bt({
6862
6862
  __name: "AppLayout",
6863
6863
  props: {
6864
6864
  logged: { type: Boolean },
@@ -8071,8 +8071,8 @@ const Gw = /* @__PURE__ */ Be(Hw, [["render", jw]]), Kw = /* @__PURE__ */ Bt({
8071
8071
  },
8072
8072
  setup(e) {
8073
8073
  Ta((o) => ({
8074
- f542c750: o.color,
8075
- "07daff28": o.size
8074
+ f22687d6: o.color,
8075
+ "6ada15e2": o.size
8076
8076
  }));
8077
8077
  const n = e;
8078
8078
  function t(o) {
@@ -8298,7 +8298,7 @@ function fx(e, n) {
8298
8298
  _: 3
8299
8299
  });
8300
8300
  }
8301
- const NA = /* @__PURE__ */ Be(dx, [["render", fx], ["__scopeId", "data-v-51e4160c"]]), hx = {
8301
+ const NA = /* @__PURE__ */ Be(dx, [["render", fx], ["__scopeId", "data-v-27ae3e79"]]), hx = {
8302
8302
  xs: 8,
8303
8303
  sm: 10,
8304
8304
  md: 14,
@@ -9607,7 +9607,7 @@ const hd = Ke({
9607
9607
  emits: ["update:modelValue"],
9608
9608
  setup(e, { emit: n }) {
9609
9609
  Ta((c) => ({
9610
- "5e128078": c.borderColor
9610
+ e2d84852: c.borderColor
9611
9611
  }));
9612
9612
  const t = e, r = Q({}), o = n, a = k({
9613
9613
  get() {
@@ -9750,7 +9750,7 @@ const hd = Ke({
9750
9750
  emits: ["update:dialogRef", "update:currentTabName"],
9751
9751
  setup(e, { emit: n }) {
9752
9752
  Ta((a) => ({
9753
- d2a8bdba: a.width
9753
+ "65b71d32": a.width
9754
9754
  }));
9755
9755
  const t = e, r = n, o = k({
9756
9756
  get() {
@@ -9821,7 +9821,7 @@ const hd = Ke({
9821
9821
  "sheet-dialog": "_sheet-dialog_1rkva_1"
9822
9822
  }, Px = {
9823
9823
  $style: Mx
9824
- }, qA = /* @__PURE__ */ Be(Dx, [["__cssModules", Px], ["__scopeId", "data-v-56bffd8b"]]);
9824
+ }, qA = /* @__PURE__ */ Be(Dx, [["__cssModules", Px], ["__scopeId", "data-v-375b9c58"]]);
9825
9825
  let Bx = 0;
9826
9826
  const Fx = ["click", "keydown"], Ox = {
9827
9827
  icon: String,
@@ -10354,7 +10354,7 @@ const Vx = ["left", "center", "right", "justify"], zx = Ke({
10354
10354
  tab: Xx
10355
10355
  }, Qx = {
10356
10356
  $style: Yx
10357
- }, VA = /* @__PURE__ */ Be(Kx, [["__cssModules", Qx], ["__scopeId", "data-v-2ee4bdf1"]]), gh = 150, Zx = Ke({
10357
+ }, VA = /* @__PURE__ */ Be(Kx, [["__cssModules", Qx], ["__scopeId", "data-v-5c7701a9"]]), gh = 150, Zx = Ke({
10358
10358
  name: "QDrawer",
10359
10359
  inheritAttrs: !1,
10360
10360
  props: {
@@ -11032,7 +11032,7 @@ const Vx = ["left", "center", "right", "justify"], zx = Ke({
11032
11032
  "menu-item__label": "_menu-item__label_fkijr_18"
11033
11033
  }, o_ = {
11034
11034
  $style: r_
11035
- }, a_ = /* @__PURE__ */ Be(n_, [["__cssModules", o_], ["__scopeId", "data-v-f6a202a4"]]), i_ = /* @__PURE__ */ Bt({
11035
+ }, a_ = /* @__PURE__ */ Be(n_, [["__cssModules", o_], ["__scopeId", "data-v-8438fdd9"]]), i_ = /* @__PURE__ */ Bt({
11036
11036
  __name: "SidebarMenu",
11037
11037
  props: {
11038
11038
  menuItems: {},
@@ -11277,7 +11277,7 @@ function b_(e, n) {
11277
11277
  Qt(e.$slots, "default", {}, void 0, !0)
11278
11278
  ]);
11279
11279
  }
11280
- const WA = /* @__PURE__ */ Be(g_, [["render", b_], ["__scopeId", "data-v-f769f373"]]), Ss = Ke({
11280
+ const WA = /* @__PURE__ */ Be(g_, [["render", b_], ["__scopeId", "data-v-7e325751"]]), Ss = Ke({
11281
11281
  name: "QCardSection",
11282
11282
  props: {
11283
11283
  tag: {
@@ -11646,7 +11646,7 @@ const V_ = Ke({
11646
11646
  _: 3
11647
11647
  }, 8, ["modelValue", "color", "content-style"]));
11648
11648
  }
11649
- }), UA = /* @__PURE__ */ Be(z_, [["__scopeId", "data-v-85d0f555"]]), $_ = { class: "table-pagination" }, W_ = ["disabled"], H_ = { class: "pages" }, U_ = ["disabled", "onClick"], j_ = ["disabled"], G_ = /* @__PURE__ */ Bt({
11649
+ }), UA = /* @__PURE__ */ Be(z_, [["__scopeId", "data-v-e6179b93"]]), $_ = { class: "table-pagination" }, W_ = ["disabled"], H_ = { class: "pages" }, U_ = ["disabled", "onClick"], j_ = ["disabled"], G_ = /* @__PURE__ */ Bt({
11650
11650
  __name: "TablePagination",
11651
11651
  props: {
11652
11652
  modelValue: {},
@@ -11711,7 +11711,7 @@ const V_ = Ke({
11711
11711
  ], 8, j_)
11712
11712
  ]));
11713
11713
  }
11714
- }), K_ = /* @__PURE__ */ Be(G_, [["__scopeId", "data-v-9db9f6f7"]]), X_ = /* @__PURE__ */ Bt({
11714
+ }), K_ = /* @__PURE__ */ Be(G_, [["__scopeId", "data-v-73335c1c"]]), X_ = /* @__PURE__ */ Bt({
11715
11715
  __name: "TableSearch",
11716
11716
  props: {
11717
11717
  modelValue: {},
@@ -12091,7 +12091,7 @@ const V_ = Ke({
12091
12091
  ], 64);
12092
12092
  };
12093
12093
  }
12094
- }), aC = /* @__PURE__ */ Be(oC, [["__scopeId", "data-v-de1e6d9d"]]), iC = { class: "modal-title" }, sC = {
12094
+ }), aC = /* @__PURE__ */ Be(oC, [["__scopeId", "data-v-d82d789e"]]), iC = { class: "modal-title" }, sC = {
12095
12095
  key: 0,
12096
12096
  class: "field-label"
12097
12097
  }, uC = {
@@ -12317,7 +12317,7 @@ const V_ = Ke({
12317
12317
  _: 1
12318
12318
  }, 8, ["model-value"]));
12319
12319
  }
12320
- }), jA = /* @__PURE__ */ Be(lC, [["__scopeId", "data-v-b137510f"]]), yh = Ke({
12320
+ }), jA = /* @__PURE__ */ Be(lC, [["__scopeId", "data-v-20ca776a"]]), yh = Ke({
12321
12321
  name: "QTd",
12322
12322
  props: {
12323
12323
  props: Object,
@@ -14247,7 +14247,7 @@ const UC = /* @__PURE__ */ Be($C, [["render", HC]]), jC = {
14247
14247
  ]), 1032, ["selected", "rows", "columns", "selection", "table-row-style-fn"])
14248
14248
  ]));
14249
14249
  }
14250
- }), tk = /* @__PURE__ */ Be(ek, [["__scopeId", "data-v-e47dea52"]]), nk = {
14250
+ }), tk = /* @__PURE__ */ Be(ek, [["__scopeId", "data-v-14d2a299"]]), nk = {
14251
14251
  key: 0,
14252
14252
  class: "table-controls"
14253
14253
  }, rk = { class: "table-wrapper" }, ok = {
@@ -14321,7 +14321,7 @@ const UC = /* @__PURE__ */ Be($C, [["render", HC]]), jC = {
14321
14321
  "modal" in Yn(o) ? Qt(u.$slots, "modal", { key: 2 }, void 0, !0) : Xe("", !0)
14322
14322
  ], 2));
14323
14323
  }
14324
- }), GA = /* @__PURE__ */ Be(ak, [["__scopeId", "data-v-1b7ee59f"]]);
14324
+ }), GA = /* @__PURE__ */ Be(ak, [["__scopeId", "data-v-75397446"]]);
14325
14325
  function tm(e, n) {
14326
14326
  return function() {
14327
14327
  return e.apply(n, arguments);
@@ -14630,8 +14630,6 @@ function cu(e, n, t) {
14630
14630
  if (p === null) return "";
14631
14631
  if (te.isDate(p))
14632
14632
  return p.toISOString();
14633
- if (te.isBoolean(p))
14634
- return p.toString();
14635
14633
  if (!u && te.isBlob(p))
14636
14634
  throw new ut("Blob is not supported. Use a Buffer instead.");
14637
14635
  return te.isArrayBuffer(p) || te.isTypedArray(p) ? u && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
@@ -15552,7 +15550,7 @@ const I3 = async (e) => {
15552
15550
  duplex: "half",
15553
15551
  credentials: y ? d : void 0
15554
15552
  });
15555
- let b = await fetch(p, f);
15553
+ let b = await fetch(p);
15556
15554
  const w = pc && (l === "stream" || l === "response");
15557
15555
  if (pc && (s || w && m)) {
15558
15556
  const x = {};
@@ -15657,7 +15655,7 @@ function Oh(e) {
15657
15655
  ), r.response.headers = qn.from(r.response.headers))), Promise.reject(r);
15658
15656
  });
15659
15657
  }
15660
- const Cm = "1.10.0", fu = {};
15658
+ const Cm = "1.9.0", fu = {};
15661
15659
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, n) => {
15662
15660
  fu[e] = function(r) {
15663
15661
  return typeof r === e || "a" + (n < 1 ? "n " : " ") + e;
@@ -16594,6 +16592,9 @@ class H3 extends Cn {
16594
16592
  async checkUserVectors(n) {
16595
16593
  return await this.get(`/user/get-vectors/${n}`);
16596
16594
  }
16595
+ async checkArchiveUserVectors(n) {
16596
+ return await this.get(`/users/get_vector_count_by_user?user_id=${n}`);
16597
+ }
16597
16598
  async addUserVectors(n) {
16598
16599
  return await this.post("/user/add-vector", n, {
16599
16600
  headers: { "Content-Type": "multipart/form-data" }
@@ -23913,7 +23914,7 @@ var GE = function(e, n, t) {
23913
23914
  t.seedLoc == null && (t.seedLoc = r.getUniformLocation(o, "seed")), r.gl.uniform1f(t.seedLoc, n);
23914
23915
  };
23915
23916
  }, e;
23916
- }(), eR = function(e, n, t, r) {
23917
+ }(), e5 = function(e, n, t, r) {
23917
23918
  this.variableNames = ["indices"], this.outputShape = [e, n], this.userCode = `
23918
23919
  void main() {
23919
23920
  ivec2 coords = getOutputCoords();
@@ -23922,7 +23923,7 @@ var GE = function(e, n, t) {
23922
23923
  float(index == coords.y)));
23923
23924
  }
23924
23925
  `;
23925
- }, tR = function(e) {
23926
+ }, t5 = function(e) {
23926
23927
  this.variableNames = ["A"], this.packedInputs = !1, this.packedOutput = !0, this.outputShape = e;
23927
23928
  var n = e.length;
23928
23929
  if (n === 0) this.userCode = `
@@ -23976,7 +23977,7 @@ var GE = function(e, n, t) {
23976
23977
  }
23977
23978
  `;
23978
23979
  }
23979
- }, nR = function(e, n, t) {
23980
+ }, n5 = function(e, n, t) {
23980
23981
  this.variableNames = ["x"], this.outputShape = n.map(function(u, l) {
23981
23982
  return u[0] + e[l] + u[1];
23982
23983
  });
@@ -24011,7 +24012,7 @@ var GE = function(e, n, t) {
24011
24012
  }
24012
24013
  }
24013
24014
  `;
24014
- }, rR = function(e, n, t) {
24015
+ }, r5 = function(e, n, t) {
24015
24016
  this.variableNames = ["x"], this.packedInputs = !0, this.packedOutput = !0, this.outputShape = n.map(function(v, y) {
24016
24017
  return v[0] + e[y] + v[1];
24017
24018
  });
@@ -24374,7 +24375,7 @@ var GE = function(e, n, t) {
24374
24375
  }
24375
24376
  `;
24376
24377
  }
24377
- }, oR = function(e, n) {
24378
+ }, o5 = function(e, n) {
24378
24379
  this.variableNames = ["x"];
24379
24380
  var t = e.windowSize, r = e.batchSize, o = e.inSize, a = Math.ceil(o / t);
24380
24381
  this.outputShape = [r, a];
@@ -24471,7 +24472,7 @@ var GE = function(e, n, t) {
24471
24472
  setOutput(` + u + `);
24472
24473
  }
24473
24474
  `;
24474
- }, aR = function(e, n) {
24475
+ }, a5 = function(e, n) {
24475
24476
  this.variableNames = ["A"], this.packedInputs = !0, this.packedOutput = !0, this.outputShape = e;
24476
24477
  for (var t = "", r = 0; r < 4; r++) {
24477
24478
  var o = "thisRC = rc;";
@@ -24511,7 +24512,7 @@ var GE = function(e, n, t) {
24511
24512
  setOutput(result);
24512
24513
  }
24513
24514
  `;
24514
- }, iR = function(e, n, t) {
24515
+ }, i5 = function(e, n, t) {
24515
24516
  this.variableNames = ["dy"], this.outputShape = [], this.outputShape = n.shape;
24516
24517
  var r = n.shape, o = r[1], a = r[2], i = e.shape, s = i[1], u = i[2], l = [t && s > 1 ? o - 1 : o, t && u > 1 ? a - 1 : a], c = [t && s > 1 ? s - 1 : s, t && u > 1 ? u - 1 : u], d = l[0] / c[0], f = l[1] / c[1], h = 1 / d, p = 1 / f, m = 2 * Math.ceil(h) + 2, v = 2 * Math.ceil(p) + 2;
24517
24518
  this.userCode = `
@@ -24596,7 +24597,7 @@ var GE = function(e, n, t) {
24596
24597
  setOutput(accumulator);
24597
24598
  }
24598
24599
  `;
24599
- }, sR = function(e, n, t, r) {
24600
+ }, s5 = function(e, n, t, r) {
24600
24601
  this.variableNames = ["A"], this.outputShape = [];
24601
24602
  var o = e[0], a = e[1], i = e[2], s = e[3];
24602
24603
  this.outputShape = [o, n, t, s];
@@ -24635,7 +24636,7 @@ var GE = function(e, n, t) {
24635
24636
  setOutput(newValue);
24636
24637
  }
24637
24638
  `;
24638
- }, uR = function(e, n, t, r) {
24639
+ }, u5 = function(e, n, t, r) {
24639
24640
  this.variableNames = ["A"], this.packedInputs = !0, this.packedOutput = !0, this.outputShape = [];
24640
24641
  var o = e[0], a = e[1], i = e[2], s = e[3];
24641
24642
  this.outputShape = [o, n, t, s];
@@ -24718,7 +24719,7 @@ var GE = function(e, n, t) {
24718
24719
  setOutput(newValue);
24719
24720
  }
24720
24721
  `;
24721
- }, lR = function(e, n, t) {
24722
+ }, l5 = function(e, n, t) {
24722
24723
  this.variableNames = ["dy"], this.outputShape = [], this.outputShape = n.shape;
24723
24724
  var r = n.shape, o = r[1], a = r[2], i = e.shape, s = i[1], u = i[2], l = [t && s > 1 ? o - 1 : o, t && u > 1 ? a - 1 : a], c = [t && s > 1 ? s - 1 : s, t && u > 1 ? u - 1 : u], d = l[0] / c[0], f = l[1] / c[1], h = 1 / d, p = 1 / f, m = 2 * Math.ceil(h) + 2, v = 2 * Math.ceil(p) + 2;
24724
24725
  this.userCode = `
@@ -24792,7 +24793,7 @@ var GE = function(e, n, t) {
24792
24793
  setOutput(accumulator);
24793
24794
  }
24794
24795
  `;
24795
- }, cR = function(e, n, t, r) {
24796
+ }, c5 = function(e, n, t, r) {
24796
24797
  this.variableNames = ["A"], this.outputShape = [];
24797
24798
  var o = e[0], a = e[1], i = e[2], s = e[3];
24798
24799
  this.outputShape = [o, n, t, s];
@@ -24821,7 +24822,7 @@ var GE = function(e, n, t) {
24821
24822
  setOutput(newValue);
24822
24823
  }
24823
24824
  `;
24824
- }, dR = function(e, n) {
24825
+ }, d5 = function(e, n) {
24825
24826
  this.variableNames = ["x"];
24826
24827
  var t = e.length;
24827
24828
  if (t > 4) throw new Error("WebGL backend: Reverse of rank-" + t + " tensor is not yet supported");
@@ -24843,7 +24844,7 @@ var GE = function(e, n, t) {
24843
24844
  setOutput(getX(` + e[0] + ` - coord - 1));
24844
24845
  }
24845
24846
  `;
24846
- }, fR = function(e, n) {
24847
+ }, f5 = function(e, n) {
24847
24848
  this.variableNames = ["x"], this.packedInputs = !0, this.packedOutput = !0;
24848
24849
  var t = e.length;
24849
24850
  if (t > 4) throw new Error("WebGL backend: Reverse of rank-" + t + " tensor is not yet supported");
@@ -24922,7 +24923,7 @@ var GE = function(e, n, t) {
24922
24923
  setOutput(mix(getDefaultValue(), sum, float(found)));
24923
24924
  }
24924
24925
  `;
24925
- }, hR = function(e, n) {
24926
+ }, h5 = function(e, n) {
24926
24927
  this.variableNames = ["x", "segmentIds"];
24927
24928
  var t = e.windowSize, r = e.batchSize, o = e.inSize, a = e.numSegments, i = a * Math.ceil(o / t);
24928
24929
  this.outputShape = [r, i];
@@ -25036,7 +25037,7 @@ var GE = function(e, n, t) {
25036
25037
  setOutput(sumValue);
25037
25038
  }
25038
25039
  `;
25039
- }, pR = function(e, n, t) {
25040
+ }, p5 = function(e, n, t) {
25040
25041
  var r, o;
25041
25042
  if (this.variableNames = ["c", "a", "b"], this.outputShape = n, t > 4) throw Error("Where for rank " + t + " is not yet supported");
25042
25043
  if (t === 1) o = "resRC", r = "resRC";
@@ -25056,7 +25057,7 @@ var GE = function(e, n, t) {
25056
25057
  }
25057
25058
  }
25058
25059
  `;
25059
- }, vR = function() {
25060
+ }, v5 = function() {
25060
25061
  function e(n) {
25061
25062
  this.variableNames = ["source"], this.outputShape = n, this.rank = n.length;
25062
25063
  var t, r = Lt(this.rank), o = "uniform int start[" + this.rank + "];", a = function(i) {
@@ -25088,7 +25089,7 @@ var GE = function(e, n, t) {
25088
25089
  t.startLoc == null && (t.startLoc = r.getUniformLocationNoThrow(o, "start"), t.startLoc == null) || r.gl.uniform1iv(t.startLoc, n);
25089
25090
  };
25090
25091
  }, e;
25091
- }(), Fl = ["x", "y", "z", "w", "u", "v"], mR = function() {
25092
+ }(), Fl = ["x", "y", "z", "w", "u", "v"], m5 = function() {
25092
25093
  function e(n) {
25093
25094
  this.variableNames = ["source"], this.packedInputs = !0, this.packedOutput = !0, this.outputShape = n, this.rank = n.length;
25094
25095
  var t = Lt(this.rank), r = Bn("coords", this.rank), o = Bn("sourceLoc", this.rank), a = this.rank === 1 ? "sourceLoc" : "vec2(" + o.slice(-2).join() + ")", i = "getChannel(getSource(" + o.join() + "), " + a + ")", s = `
@@ -25135,7 +25136,7 @@ var GE = function(e, n, t) {
25135
25136
  t.startLoc == null && (t.startLoc = r.getUniformLocationNoThrow(o, "start"), t.startLoc == null) || r.gl.uniform1iv(t.startLoc, n);
25136
25137
  };
25137
25138
  }, e;
25138
- }(), gR = function(e, n, t) {
25139
+ }(), g5 = function(e, n, t) {
25139
25140
  this.variableNames = ["x"], this.outputShape = t;
25140
25141
  var r = t.length, o = Lt(t.length), a = Lt(t.length), i = "";
25141
25142
  if (r === 1) i = "coords * strides + begin";
@@ -25154,7 +25155,7 @@ var GE = function(e, n, t) {
25154
25155
  setOutput(getX(` + i + `));
25155
25156
  }
25156
25157
  `;
25157
- }, yR = function() {
25158
+ }, y5 = function() {
25158
25159
  function e(n) {
25159
25160
  this.gpgpu = n, this.numUsedTextures = 0, this.numFreeTextures = 0, this.freeTextures = {}, this.logEnabled = !1, this.usedTextures = {};
25160
25161
  }
@@ -25207,7 +25208,7 @@ function sp(e, n) {
25207
25208
  function up(e, n, t) {
25208
25209
  return e[0] + "_" + e[1] + "_" + n + "_" + t;
25209
25210
  }
25210
- var bR = function(e, n) {
25211
+ var b5 = function(e, n) {
25211
25212
  this.variableNames = ["A"];
25212
25213
  for (var t = new Array(e.length), r = 0; r < t.length; r++) t[r] = e[r] * n[r];
25213
25214
  this.outputShape = t, this.rank = t.length;
@@ -25224,7 +25225,7 @@ var bR = function(e, n) {
25224
25225
  setOutput(getA(` + a + `));
25225
25226
  }
25226
25227
  `;
25227
- }, wR = function(e, n) {
25228
+ }, w5 = function(e, n) {
25228
25229
  this.variableNames = ["A"];
25229
25230
  for (var t = new Array(e.length), r = 0; r < t.length; r++) t[r] = e[n[r]];
25230
25231
  this.outputShape = t, this.rank = t.length;
@@ -25240,7 +25241,7 @@ var bR = function(e, n) {
25240
25241
  setOutput(getA(` + a + `));
25241
25242
  }
25242
25243
  `;
25243
- }, xR = function(e, n) {
25244
+ }, x5 = function(e, n) {
25244
25245
  this.variableNames = ["A"], this.packedInputs = !0, this.packedOutput = !0;
25245
25246
  for (var t = new Array(e.length), r = 0; r < t.length; r++) t[r] = e[n[r]];
25246
25247
  if (this.outputShape = t, this.rank = t.length, this.rank > 6) throw Error("Packed transpose for rank " + this.rank + " is not yet supported.");
@@ -25278,37 +25279,37 @@ var bR = function(e, n) {
25278
25279
  setOutput(y);
25279
25280
  }
25280
25281
  `;
25281
- }, vr = "if (isnan(x)) return x;", _R = "return x;", lp = "return abs(x);", pg = vr + `
25282
+ }, vr = "if (isnan(x)) return x;", _5 = "return x;", lp = "return abs(x);", pg = vr + `
25282
25283
  return (x < 0.0) ? 0.0 : x;
25283
25284
  `, vg = vr + `
25284
25285
  return (x < 0.0) ? 0.0 : min(6.0, x);
25285
- `, mg = "return (x >= 0.0) ? x : (exp(x) - 1.0);", CR = `
25286
+ `, mg = "return (x >= 0.0) ? x : (exp(x) - 1.0);", C5 = `
25286
25287
  // Stable and Attracting Fixed Point (0, 1) for Normalized Weights.
25287
25288
  // see: https://arxiv.org/abs/1706.02515
25288
25289
  float scaleAlpha = ` + Dd + `;
25289
25290
  float scale = ` + Md + `;
25290
25291
  return (x >= 0.0) ? scale * x : scaleAlpha * (exp(x) - 1.0);
25291
- `, cp = "return -x;", dp = "return ceil(x);", fp = "return floor(x);", hp = "return exp(x);", pp = "return exp(x) - 1.0;", kR = vr + `
25292
+ `, cp = "return -x;", dp = "return ceil(x);", fp = "return floor(x);", hp = "return exp(x);", pp = "return exp(x) - 1.0;", k5 = vr + `
25292
25293
  return sin(x);
25293
- `, SR = vr + `
25294
+ `, S5 = vr + `
25294
25295
  return cos(x);
25295
- `, ER = vr + `
25296
+ `, E5 = vr + `
25296
25297
  if (abs(x) > 1.) {
25297
25298
  return NAN;
25298
25299
  }
25299
25300
  return asin(x);
25300
- `, RR = vr + `
25301
+ `, R5 = vr + `
25301
25302
  if (abs(x) > 1.) {
25302
25303
  return NAN;
25303
25304
  }
25304
25305
  return acos(x);
25305
- `, IR = vr + `
25306
+ `, I5 = vr + `
25306
25307
  return atan(x);
25307
- `, TR = vr + "return log(x + sqrt(x * x + 1.0));", AR = vr + `
25308
+ `, T5 = vr + "return log(x + sqrt(x * x + 1.0));", A5 = vr + `
25308
25309
  if (x < 1.0) return NAN;
25309
- return log(x + sqrt(x * x - 1.0));`, DR = vr + `
25310
+ return log(x + sqrt(x * x - 1.0));`, D5 = vr + `
25310
25311
  if ((x < -1.0) || (x > 1.0)) return NAN;
25311
- return (log(1.0 + x) - log(1.0 - x)) / 2.0;`, Gi = "return x;", MR = "return x;", gg = `
25312
+ return (log(1.0 + x) - log(1.0 - x)) / 2.0;`, Gi = "return x;", M5 = "return x;", gg = `
25312
25313
  vec4 result = x * vec4(greaterThanEqual(x, vec4(0.0)));
25313
25314
  bvec4 isNaN = isnan(x);
25314
25315
 
@@ -25350,7 +25351,7 @@ var bR = function(e, n) {
25350
25351
  setOutput(y);
25351
25352
  }
25352
25353
  `;
25353
- }, PR = function(e) {
25354
+ }, P5 = function(e) {
25354
25355
  this.variableNames = ["A"], this.packedInputs = !0, this.packedOutput = !1, this.outputShape = e;
25355
25356
  var n = e.length, t = Bn("rc", n), r = Lt(n), o = function(s, u) {
25356
25357
  if (s === 1) return "rc";
@@ -25367,14 +25368,14 @@ var bR = function(e, n) {
25367
25368
  `;
25368
25369
  }, Ki = {};
25369
25370
  function Xi(e, n) {
25370
- if (n === void 0 && (n = !1), e === "linear") return n ? MR : _R;
25371
+ if (n === void 0 && (n = !1), e === "linear") return n ? M5 : _5;
25371
25372
  if (e === "relu") return n ? gg : pg;
25372
25373
  if (e === "elu") return n ? bg : mg;
25373
25374
  if (e === "relu6") return n ? yg : vg;
25374
25375
  if (e === "prelu") return n ? hg : fg;
25375
25376
  throw new Error("Activation " + e + " has not been implemented for the WebGL backend.");
25376
25377
  }
25377
- var BR = 600, FR = function(e) {
25378
+ var B5 = 600, F5 = function(e) {
25378
25379
  function n(t) {
25379
25380
  var r, o = e.call(this) || this;
25380
25381
  if (o.pendingRead = /* @__PURE__ */ new WeakMap(), o.pendingDisposal = /* @__PURE__ */ new WeakSet(), o.dataRefCount = /* @__PURE__ */ new WeakMap(), o.numBytesInGPU = 0, o.uploadWaitMs = 0, o.downloadWaitMs = 0, o.warnedAboutMemory = !1, o.pendingDeletes = 0, o.disposed = !1, !ie().getBool("HAS_WEBGL")) throw new Error("WebGL is not supported on this device");
@@ -25382,7 +25383,7 @@ var BR = 600, FR = function(e) {
25382
25383
  var a = Dr(ie().getNumber("WEBGL_VERSION"));
25383
25384
  o.binaryCache = ((r = ie().getNumber("WEBGL_VERSION")) in Ki || (Ki[r] = {}), Ki[r]), o.gpgpu = new jE(a), o.canvas = a.canvas, o.gpgpuCreatedLocally = !0;
25384
25385
  } else o.gpgpu = t, o.binaryCache = {}, o.gpgpuCreatedLocally = !1, o.canvas = t.gl.canvas;
25385
- return o.textureManager = new yR(o.gpgpu), o.numMBBeforeWarning = ie().global.screen == null ? 1024 : ie().global.screen.height * ie().global.screen.width * window.devicePixelRatio * BR / 1024 / 1024, o.texData = new eg(o, U), o;
25386
+ return o.textureManager = new y5(o.gpgpu), o.numMBBeforeWarning = ie().global.screen == null ? 1024 : ie().global.screen.height * ie().global.screen.width * window.devicePixelRatio * B5 / 1024 / 1024, o.texData = new eg(o, U), o;
25386
25387
  }
25387
25388
  return pr(n, e), n.prototype.numDataIds = function() {
25388
25389
  return this.texData.numDataIds() + (this.cpuBackend ? this.cpuBackend.numDataIds() : 0) - this.pendingDeletes;
@@ -25529,7 +25530,7 @@ var BR = 600, FR = function(e) {
25529
25530
  if (Fe(o) === 0) return wn([], o, t.dtype);
25530
25531
  var a = this.texData.get(t.dataId).isPacked, i = Zm(t.shape, r, o);
25531
25532
  if (a || !i) {
25532
- var s = ie().getBool("WEBGL_PACK_ARRAY_OPERATIONS") ? new mR(o) : new vR(o), u = s.getCustomSetupFunc(r);
25533
+ var s = ie().getBool("WEBGL_PACK_ARRAY_OPERATIONS") ? new m5(o) : new v5(o), u = s.getCustomSetupFunc(r);
25533
25534
  return this.compileAndRun(s, [t], null, u);
25534
25535
  }
25535
25536
  return this.uploadToGPU(t.dataId), this.shallowSlice(t, r, o);
@@ -25546,10 +25547,10 @@ var BR = 600, FR = function(e) {
25546
25547
  if (i.some(function(u) {
25547
25548
  return u === 0;
25548
25549
  })) return wn([], i);
25549
- var s = new gR(r, a, i);
25550
+ var s = new g5(r, a, i);
25550
25551
  return this.compileAndRun(s, [t]);
25551
25552
  }, n.prototype.reverse = function(t, r) {
25552
- var o = ie().getBool("WEBGL_PACK_ARRAY_OPERATIONS") ? new fR(t.shape, r) : new dR(t.shape, r);
25553
+ var o = ie().getBool("WEBGL_PACK_ARRAY_OPERATIONS") ? new f5(t.shape, r) : new d5(t.shape, r);
25553
25554
  return this.compileAndRun(o, [t]);
25554
25555
  }, n.prototype.concat = function(t, r) {
25555
25556
  if (t[0].dtype === "complex64") {
@@ -25629,14 +25630,14 @@ var BR = 600, FR = function(e) {
25629
25630
  });
25630
25631
  return sg(ot(t.shape, t.dtype, o), r);
25631
25632
  }
25632
- var a = new bR(t.shape, r);
25633
+ var a = new b5(t.shape, r);
25633
25634
  return this.compileAndRun(a, [t]);
25634
25635
  }, n.prototype.pad = function(t, r, o) {
25635
- var a = ie().getBool("WEBGL_PACK_ARRAY_OPERATIONS") ? new rR(t.shape, r, o) : new nR(t.shape, r, o);
25636
+ var a = ie().getBool("WEBGL_PACK_ARRAY_OPERATIONS") ? new r5(t.shape, r, o) : new n5(t.shape, r, o);
25636
25637
  return this.compileAndRun(a, [t]);
25637
25638
  }, n.prototype.transpose = function(t, r) {
25638
25639
  if (this.shouldExecuteOnCPU([t])) return this.cpuBackend.transpose(t, r);
25639
- var o = ie().getBool("WEBGL_PACK_ARRAY_OPERATIONS") ? new xR(t.shape, r) : new wR(t.shape, r);
25640
+ var o = ie().getBool("WEBGL_PACK_ARRAY_OPERATIONS") ? new x5(t.shape, r) : new w5(t.shape, r);
25640
25641
  return this.compileAndRun(o, [t]);
25641
25642
  }, n.prototype.gather = function(t, r, o) {
25642
25643
  if (this.shouldExecuteOnCPU([t, r])) return this.cpuBackend.gather(t, r, o);
@@ -25662,7 +25663,7 @@ var BR = 600, FR = function(e) {
25662
25663
  var u = t.pad(i), l = Os(u.shape, r, a, !1), c = Ns(l.length, r.length, !1), d = Ls(u.shape, r, a, !1);
25663
25664
  return u.reshape(l).transpose(c).reshape(d);
25664
25665
  }, n.prototype.reduce = function(t, r, o) {
25665
- var a = t.shape[0], i = t.shape[1], s = Tl(i), u = new oR({ windowSize: s, inSize: i, batchSize: a }, r), l = this.compileAndRun(u, [t], o);
25666
+ var a = t.shape[0], i = t.shape[1], s = Tl(i), u = new o5({ windowSize: s, inSize: i, batchSize: a }, r), l = this.compileAndRun(u, [t], o);
25666
25667
  return l.shape[1] === 1 ? l : this.reduce(l, r, o);
25667
25668
  }, n.prototype.argReduce = function(t, r, o) {
25668
25669
  o === void 0 && (o = null);
@@ -25697,7 +25698,7 @@ var BR = 600, FR = function(e) {
25697
25698
  var p, m = !1;
25698
25699
  for (f <= Qm ? (p = f, m = !0) : p = xc(f, Math.floor(Math.sqrt(f))); !m; ) p > h || p === f ? m = !0 : p = xc(f, p + 1);
25699
25700
  return p;
25700
- }(u, i), c = new hR({ windowSize: l, inSize: u, batchSize: s, numSegments: i }), d = this.compileAndRun(c, [t, o], a);
25701
+ }(u, i), c = new h5({ windowSize: l, inSize: u, batchSize: s, numSegments: i }), d = this.compileAndRun(c, [t, o], a);
25701
25702
  return d.shape[1] === i ? d : (o = Fs(0, i).tile([u / l]), this.segOpCompute(d, r, o, a, i));
25702
25703
  }, n.prototype.argMinMaxReduce = function(t, r, o) {
25703
25704
  var a = [r];
@@ -25773,7 +25774,7 @@ var BR = 600, FR = function(e) {
25773
25774
  var o = new Gt("return float(a >= 1.0 || b >= 1.0);", t.shape, r.shape);
25774
25775
  return this.compileAndRun(o, [t, r], "bool");
25775
25776
  }, n.prototype.select = function(t, r, o) {
25776
- var a = new pR(t.rank, r.shape, r.rank);
25777
+ var a = new p5(t.rank, r.shape, r.rank);
25777
25778
  return this.compileAndRun(a, [t, r, o], bn(r.dtype, o.dtype));
25778
25779
  }, n.prototype.where = function(t) {
25779
25780
  Ps("tf.where() in webgl locks the UI thread. Call tf.whereAsync() instead");
@@ -26092,7 +26093,7 @@ return (round(mod(b, 2.0)) != 1) ?
26092
26093
  `, t.shape, r.shape) : new Gt("return (b >= 1.0) ? a : a * (b + 1.0);", t.shape, r.shape);
26093
26094
  return this.compileAndRun(o, [t, r]);
26094
26095
  }, n.prototype.selu = function(t) {
26095
- var r = new lt(t.shape, CR);
26096
+ var r = new lt(t.shape, C5);
26096
26097
  return this.compileAndRun(r, [t]);
26097
26098
  }, n.prototype.int = function(t) {
26098
26099
  var r = new lt(t.shape, "return float(int(x));");
@@ -26135,22 +26136,22 @@ return (round(mod(b, 2.0)) != 1) ?
26135
26136
  `);
26136
26137
  return this.compileAndRun(r, [t]);
26137
26138
  }, n.prototype.sin = function(t) {
26138
- var r = new lt(t.shape, kR);
26139
+ var r = new lt(t.shape, k5);
26139
26140
  return this.compileAndRun(r, [t]);
26140
26141
  }, n.prototype.cos = function(t) {
26141
- var r = new lt(t.shape, SR);
26142
+ var r = new lt(t.shape, S5);
26142
26143
  return this.compileAndRun(r, [t]);
26143
26144
  }, n.prototype.tan = function(t) {
26144
26145
  var r = new lt(t.shape, "return tan(x);");
26145
26146
  return this.compileAndRun(r, [t]);
26146
26147
  }, n.prototype.asin = function(t) {
26147
- var r = new lt(t.shape, ER);
26148
+ var r = new lt(t.shape, E5);
26148
26149
  return this.compileAndRun(r, [t]);
26149
26150
  }, n.prototype.acos = function(t) {
26150
- var r = new lt(t.shape, RR);
26151
+ var r = new lt(t.shape, R5);
26151
26152
  return this.compileAndRun(r, [t]);
26152
26153
  }, n.prototype.atan = function(t) {
26153
- var r = new lt(t.shape, IR);
26154
+ var r = new lt(t.shape, I5);
26154
26155
  return this.compileAndRun(r, [t]);
26155
26156
  }, n.prototype.atan2 = function(t, r) {
26156
26157
  var o = ie().getBool("WEBGL_PACK_BINARY_OPERATIONS") ? new qr(`
@@ -26189,13 +26190,13 @@ return (round(mod(b, 2.0)) != 1) ?
26189
26190
  `);
26190
26191
  return this.compileAndRun(r, [t]);
26191
26192
  }, n.prototype.asinh = function(t) {
26192
- var r = new lt(t.shape, TR);
26193
+ var r = new lt(t.shape, T5);
26193
26194
  return this.compileAndRun(r, [t]);
26194
26195
  }, n.prototype.acosh = function(t) {
26195
- var r = new lt(t.shape, AR);
26196
+ var r = new lt(t.shape, A5);
26196
26197
  return this.compileAndRun(r, [t]);
26197
26198
  }, n.prototype.atanh = function(t) {
26198
- var r = new lt(t.shape, DR);
26199
+ var r = new lt(t.shape, D5);
26199
26200
  return this.compileAndRun(r, [t]);
26200
26201
  }, n.prototype.erf = function(t) {
26201
26202
  var r = new lt(t.shape, `
@@ -26320,22 +26321,22 @@ return (round(mod(b, 2.0)) != 1) ?
26320
26321
  }
26321
26322
  return Tc(t, r);
26322
26323
  }, n.prototype.resizeBilinear = function(t, r, o, a) {
26323
- var i = ie().getBool("WEBGL_PACK_IMAGE_OPERATIONS") ? new uR(t.shape, r, o, a) : new sR(t.shape, r, o, a);
26324
+ var i = ie().getBool("WEBGL_PACK_IMAGE_OPERATIONS") ? new u5(t.shape, r, o, a) : new s5(t.shape, r, o, a);
26324
26325
  return this.compileAndRun(i, [t], "float32");
26325
26326
  }, n.prototype.resizeBilinearBackprop = function(t, r, o) {
26326
- var a = new iR(t, r, o);
26327
+ var a = new i5(t, r, o);
26327
26328
  return this.compileAndRun(a, [t]);
26328
26329
  }, n.prototype.resizeNearestNeighbor = function(t, r, o, a) {
26329
- var i = new cR(t.shape, r, o, a);
26330
+ var i = new c5(t.shape, r, o, a);
26330
26331
  return this.compileAndRun(i, [t]);
26331
26332
  }, n.prototype.resizeNearestNeighborBackprop = function(t, r, o) {
26332
- var a = new lR(t, r, o);
26333
+ var a = new l5(t, r, o);
26333
26334
  return this.compileAndRun(a, [t]);
26334
26335
  }, n.prototype.multinomial = function(t, r, o, a) {
26335
26336
  var i = r ? t : jr(t), s = i.shape[0], u = i.shape[1], l = new JE(s, u, o), c = l.getCustomSetupFunc(a);
26336
26337
  return this.compileAndRun(l, [i], "int32", c);
26337
26338
  }, n.prototype.oneHot = function(t, r, o, a) {
26338
- var i = new eR(t.size, r, o, a);
26339
+ var i = new e5(t.size, r, o, a);
26339
26340
  return this.compileAndRun(i, [t]);
26340
26341
  }, n.prototype.diag = function(t) {
26341
26342
  var r = new wE(t.size);
@@ -26392,13 +26393,13 @@ return (round(mod(b, 2.0)) != 1) ?
26392
26393
  var o = this.makeTensorInfo(t, r).dataId;
26393
26394
  return U.makeTensorFromDataId(o, t, r, this);
26394
26395
  }, n.prototype.unpackTensor = function(t) {
26395
- var r = new PR(t.shape);
26396
+ var r = new P5(t.shape);
26396
26397
  return this.runWebGLProgram(r, [t], t.dtype);
26397
26398
  }, n.prototype.packTensor = function(t) {
26398
- var r = new tR(t.shape);
26399
+ var r = new t5(t.shape);
26399
26400
  return this.runWebGLProgram(r, [t], t.dtype, null, !0);
26400
26401
  }, n.prototype.packedReshape = function(t, r) {
26401
- var o = [Ds(t.shape)].concat(Ms(t.shape)), a = { dtype: t.dtype, shape: o, dataId: t.dataId }, i = [Ds(r)].concat(Ms(r)), s = new aR(i, o), u = this.runWebGLProgram(s, [a], t.dtype, null, !0);
26402
+ var o = [Ds(t.shape)].concat(Ms(t.shape)), a = { dtype: t.dtype, shape: o, dataId: t.dataId }, i = [Ds(r)].concat(Ms(r)), s = new a5(i, o), u = this.runWebGLProgram(s, [a], t.dtype, null, !0);
26402
26403
  return { dataId: u.dataId, shape: r, dtype: u.dtype };
26403
26404
  }, n.prototype.decode = function(t) {
26404
26405
  var r, o = this.texData.get(t), a = o.isPacked, i = o.shape, s = o.dtype, u = Il(i);
@@ -26536,9 +26537,9 @@ return (round(mod(b, 2.0)) != 1) ?
26536
26537
  }, n;
26537
26538
  }(tg);
26538
26539
  qm() && U.registerBackend("webgl", function() {
26539
- return new FR();
26540
+ return new F5();
26540
26541
  }, 2);
26541
- var OR = z({ square_: function(e) {
26542
+ var O5 = z({ square_: function(e) {
26542
26543
  var n = A(e, "x", "square"), t = [n];
26543
26544
  return U.runKernelFunc(function(r, o) {
26544
26545
  return o([n]), r.square(n);
@@ -26558,7 +26559,7 @@ var OR = z({ square_: function(e) {
26558
26559
  return s.mul(c.sub(l).mul(d));
26559
26560
  } };
26560
26561
  }, di, {}, i, []);
26561
- } }), NR = z({ abs_: function(e) {
26562
+ } }), N5 = z({ abs_: function(e) {
26562
26563
  var n = A(e, "x", "abs");
26563
26564
  return n.dtype === "complex64" ? U.runKernelFunc(function(t) {
26564
26565
  return t.complexAbs(n);
@@ -26571,7 +26572,7 @@ var OR = z({ square_: function(e) {
26571
26572
  return t.mul(o.toFloat().step(-1));
26572
26573
  } };
26573
26574
  }, "Abs");
26574
- } }), LR = z({ acos_: function(e) {
26575
+ } }), L5 = z({ acos_: function(e) {
26575
26576
  var n = A(e, "x", "acos");
26576
26577
  return U.runKernelFunc(function(t, r) {
26577
26578
  var o = t.acos(n);
@@ -26582,7 +26583,7 @@ var OR = z({ square_: function(e) {
26582
26583
  return t.divStrict(we(1).sub(o.toFloat().square()).sqrt()).neg();
26583
26584
  } };
26584
26585
  });
26585
- } }), qR = z({ acosh_: function(e) {
26586
+ } }), q5 = z({ acosh_: function(e) {
26586
26587
  var n = A(e, "x", "acosh");
26587
26588
  return U.runKernelFunc(function(t, r) {
26588
26589
  var o = t.acosh(n);
@@ -26593,7 +26594,7 @@ var OR = z({ square_: function(e) {
26593
26594
  return t.divStrict(o.toFloat().square().sub(1).sqrt());
26594
26595
  } };
26595
26596
  });
26596
- } }), VR = z({ asin_: function(e) {
26597
+ } }), V5 = z({ asin_: function(e) {
26597
26598
  var n = A(e, "x", "asin");
26598
26599
  return U.runKernelFunc(function(t, r) {
26599
26600
  var o = t.asin(n);
@@ -26604,7 +26605,7 @@ var OR = z({ square_: function(e) {
26604
26605
  return t.divStrict(we(1).sub(o.toFloat().square()).sqrt());
26605
26606
  } };
26606
26607
  });
26607
- } }), zR = z({ asinh_: function(e) {
26608
+ } }), z5 = z({ asinh_: function(e) {
26608
26609
  var n = A(e, "x", "asinh");
26609
26610
  return U.runKernelFunc(function(t, r) {
26610
26611
  var o = t.asinh(n);
@@ -26615,7 +26616,7 @@ var OR = z({ square_: function(e) {
26615
26616
  return t.divStrict(we(1).add(o.toFloat().square()).sqrt());
26616
26617
  } };
26617
26618
  });
26618
- } }), $R = z({ atan_: function(e) {
26619
+ } }), $5 = z({ atan_: function(e) {
26619
26620
  var n = A(e, "x", "atan");
26620
26621
  return U.runKernelFunc(function(t, r) {
26621
26622
  var o = t.atan(n);
@@ -26626,7 +26627,7 @@ var OR = z({ square_: function(e) {
26626
26627
  return t.div(o.toFloat().square().add(1));
26627
26628
  } };
26628
26629
  });
26629
- } }), WR = z({ atanh_: function(e) {
26630
+ } }), W5 = z({ atanh_: function(e) {
26630
26631
  var n = A(e, "x", "atanh");
26631
26632
  return U.runKernelFunc(function(t, r) {
26632
26633
  var o = t.atanh(n);
@@ -26637,7 +26638,7 @@ var OR = z({ square_: function(e) {
26637
26638
  return t.div(we(1).sub(o.toFloat().square()));
26638
26639
  } };
26639
26640
  });
26640
- } }), HR = z({ ceil_: function(e) {
26641
+ } }), H5 = z({ ceil_: function(e) {
26641
26642
  var n = A(e, "x", "ceil");
26642
26643
  return U.runKernelFunc(function(t) {
26643
26644
  return t.ceil(n);
@@ -26661,7 +26662,7 @@ var OR = z({ square_: function(e) {
26661
26662
  return i.where(u.greaterEqual(n).logicalAnd(u.lessEqual(t)), yt(i));
26662
26663
  } };
26663
26664
  }, "ClipByValue", a, o);
26664
- } }), UR = z({ cos_: function(e) {
26665
+ } }), U5 = z({ cos_: function(e) {
26665
26666
  var n = A(e, "x", "cos"), t = [n];
26666
26667
  return U.runKernelFunc(function(r, o) {
26667
26668
  var a = r.cos(n);
@@ -26672,7 +26673,7 @@ var OR = z({ square_: function(e) {
26672
26673
  return a.toFloat().sin().neg().mul(r);
26673
26674
  } };
26674
26675
  }, "Cos", {}, t);
26675
- } }), jR = z({ cosh_: function(e) {
26676
+ } }), j5 = z({ cosh_: function(e) {
26676
26677
  var n = A(e, "x", "cosh");
26677
26678
  return U.runKernelFunc(function(t, r) {
26678
26679
  var o = t.cosh(n);
@@ -26683,7 +26684,7 @@ var OR = z({ square_: function(e) {
26683
26684
  return o.toFloat().sinh().mulStrict(t);
26684
26685
  } };
26685
26686
  });
26686
- } }), GR = z({ erf_: function(e) {
26687
+ } }), G5 = z({ erf_: function(e) {
26687
26688
  var n = A(e, "x", "erf");
26688
26689
  return P(n.dtype === "int32" || n.dtype === "float32", function() {
26689
26690
  return "Input dtype must be `int32` or `float32`.";
@@ -26706,7 +26707,7 @@ var OR = z({ square_: function(e) {
26706
26707
  return t.mulStrict(r[0]);
26707
26708
  } };
26708
26709
  }, "Exp", {}, [], [!0]);
26709
- } }), KR = z({ expm1_: function(e) {
26710
+ } }), K5 = z({ expm1_: function(e) {
26710
26711
  var n = A(e, "x", "expm1");
26711
26712
  return U.runKernelFunc(function(t, r) {
26712
26713
  var o = t.expm1(n);
@@ -26717,7 +26718,7 @@ var OR = z({ square_: function(e) {
26717
26718
  return t.mul(o.exp());
26718
26719
  } };
26719
26720
  });
26720
- } }), XR = z({ floor_: function(e) {
26721
+ } }), X5 = z({ floor_: function(e) {
26721
26722
  var n = A(e, "x", "floor");
26722
26723
  return U.runKernelFunc(function(t) {
26723
26724
  return t.floor(n);
@@ -26726,7 +26727,7 @@ var OR = z({ square_: function(e) {
26726
26727
  return yt(t);
26727
26728
  } };
26728
26729
  });
26729
- } }), YR = z({ log_: function(e) {
26730
+ } }), Y5 = z({ log_: function(e) {
26730
26731
  var n = A(e, "x", "log"), t = [n];
26731
26732
  return U.runKernelFunc(function(r, o) {
26732
26733
  var a = r.log(n);
@@ -26737,7 +26738,7 @@ var OR = z({ square_: function(e) {
26737
26738
  return r.div(a.toFloat());
26738
26739
  } };
26739
26740
  }, "Log", {}, t);
26740
- } }), QR = z({ log1p_: function(e) {
26741
+ } }), Q5 = z({ log1p_: function(e) {
26741
26742
  var n = A(e, "x", "log1p");
26742
26743
  return U.runKernelFunc(function(t, r) {
26743
26744
  var o = t.log1p(n);
@@ -26748,7 +26749,7 @@ var OR = z({ square_: function(e) {
26748
26749
  return t.div(o.add(1));
26749
26750
  } };
26750
26751
  });
26751
- } }), ZR = z({ logSigmoid_: function(e) {
26752
+ } }), Z5 = z({ logSigmoid_: function(e) {
26752
26753
  var n = A(e, "x", "logSigmoid");
26753
26754
  return U.runKernelFunc(function(t, r) {
26754
26755
  var o = t.softplus(n.neg()).neg();
@@ -26768,7 +26769,7 @@ var OR = z({ square_: function(e) {
26768
26769
  return r.neg();
26769
26770
  } };
26770
26771
  }, "Neg", {}, t);
26771
- } }), JR = z({ reciprocal_: function(e) {
26772
+ } }), J5 = z({ reciprocal_: function(e) {
26772
26773
  var n = A(e, "x", "reciprocal");
26773
26774
  return U.runKernelFunc(function(t, r) {
26774
26775
  var o = t.reciprocal(n);
@@ -26779,7 +26780,7 @@ var OR = z({ square_: function(e) {
26779
26780
  return t.div(o.square().neg());
26780
26781
  } };
26781
26782
  });
26782
- } }), e5 = z({ round_: function(e) {
26783
+ } }), eR = z({ round_: function(e) {
26783
26784
  var n = A(e, "x", "round");
26784
26785
  return U.runKernelFunc(function(t) {
26785
26786
  return t.round(n);
@@ -26810,7 +26811,7 @@ var OR = z({ square_: function(e) {
26810
26811
  return t.mul(o.mul(we(1).sub(o)));
26811
26812
  } };
26812
26813
  }, "Sigmoid");
26813
- } }), t5 = z({ sign_: function(e) {
26814
+ } }), tR = z({ sign_: function(e) {
26814
26815
  var n = A(e, "x", "sign");
26815
26816
  return U.runKernelFunc(function(t) {
26816
26817
  return t.sign(n);
@@ -26819,7 +26820,7 @@ var OR = z({ square_: function(e) {
26819
26820
  return yt(t);
26820
26821
  } };
26821
26822
  });
26822
- } }), n5 = z({ isNaN_: function(e) {
26823
+ } }), nR = z({ isNaN_: function(e) {
26823
26824
  var n = A(e, "x", "isNaN");
26824
26825
  return U.runKernelFunc(function(t) {
26825
26826
  return t.isNaN(n);
@@ -26828,7 +26829,7 @@ var OR = z({ square_: function(e) {
26828
26829
  return yt(t);
26829
26830
  } };
26830
26831
  });
26831
- } }), r5 = z({ isInf_: function(e) {
26832
+ } }), rR = z({ isInf_: function(e) {
26832
26833
  var n = A(e, "x", "isInf");
26833
26834
  return U.runKernelFunc(function(t) {
26834
26835
  return t.isInf(n);
@@ -26837,7 +26838,7 @@ var OR = z({ square_: function(e) {
26837
26838
  return yt(t);
26838
26839
  } };
26839
26840
  });
26840
- } }), o5 = z({ isFinite_: function(e) {
26841
+ } }), oR = z({ isFinite_: function(e) {
26841
26842
  var n = A(e, "x", "isFinite");
26842
26843
  return U.runKernelFunc(function(t) {
26843
26844
  return t.isFinite(n);
@@ -26846,7 +26847,7 @@ var OR = z({ square_: function(e) {
26846
26847
  return yt(t);
26847
26848
  } };
26848
26849
  });
26849
- } }), a5 = z({ sin_: function(e) {
26850
+ } }), aR = z({ sin_: function(e) {
26850
26851
  var n = A(e, "x", "sin"), t = [n];
26851
26852
  return U.runKernelFunc(function(r, o) {
26852
26853
  var a = r.sin(n);
@@ -26857,7 +26858,7 @@ var OR = z({ square_: function(e) {
26857
26858
  return a.toFloat().cos().mul(r);
26858
26859
  } };
26859
26860
  }, "Sin", {}, t);
26860
- } }), i5 = z({ sinh_: function(e) {
26861
+ } }), iR = z({ sinh_: function(e) {
26861
26862
  var n = A(e, "x", "sinh");
26862
26863
  return U.runKernelFunc(function(t, r) {
26863
26864
  var o = t.sinh(n);
@@ -26868,7 +26869,7 @@ var OR = z({ square_: function(e) {
26868
26869
  return o.toFloat().cosh().mulStrict(t);
26869
26870
  } };
26870
26871
  });
26871
- } }), s5 = z({ softplus_: function(e) {
26872
+ } }), sR = z({ softplus_: function(e) {
26872
26873
  var n = A(e, "x", "softplus");
26873
26874
  return U.runKernelFunc(function(t, r) {
26874
26875
  var o = t.softplus(n);
@@ -26879,7 +26880,7 @@ var OR = z({ square_: function(e) {
26879
26880
  return t.mul(o.sigmoid());
26880
26881
  } };
26881
26882
  });
26882
- } }), u5 = z({ sqrt_: function(e) {
26883
+ } }), uR = z({ sqrt_: function(e) {
26883
26884
  var n = A(e, "x", "sqrt");
26884
26885
  return U.runKernelFunc(function(t, r) {
26885
26886
  var o = t.sqrt(n);
@@ -26890,7 +26891,7 @@ var OR = z({ square_: function(e) {
26890
26891
  return t.div(o.toFloat().sqrt().mul(2));
26891
26892
  } };
26892
26893
  });
26893
- } }), l5 = z({ step_: function(e, n) {
26894
+ } }), lR = z({ step_: function(e, n) {
26894
26895
  n === void 0 && (n = 0);
26895
26896
  var t = A(e, "x", "step");
26896
26897
  return U.runKernelFunc(function(r) {
@@ -26900,7 +26901,7 @@ var OR = z({ square_: function(e) {
26900
26901
  return yt(r);
26901
26902
  } };
26902
26903
  });
26903
- } }), c5 = z({ tan_: function(e) {
26904
+ } }), cR = z({ tan_: function(e) {
26904
26905
  var n = A(e, "x", "tan");
26905
26906
  return U.runKernelFunc(function(t, r) {
26906
26907
  var o = t.tan(n);
@@ -26911,7 +26912,7 @@ var OR = z({ square_: function(e) {
26911
26912
  return t.div(o.cos().square());
26912
26913
  } };
26913
26914
  });
26914
- } }), d5 = z({ tanh_: function(e) {
26915
+ } }), dR = z({ tanh_: function(e) {
26915
26916
  var n = A(e, "x", "tanh");
26916
26917
  return U.runKernelFunc(function(t, r) {
26917
26918
  var o = t.tanh(n);
@@ -27009,20 +27010,20 @@ function Yi(e) {
27009
27010
  function mu() {
27010
27011
  Vm("tf.batchNormalization() is going away. Use tf.batchNorm() instead, and note the positional argument change of scale, offset, and varianceEpsilon");
27011
27012
  }
27012
- var f5 = z({ batchNormalization2d_: function(e, n, t, r, o, a) {
27013
+ var fR = z({ batchNormalization2d_: function(e, n, t, r, o, a) {
27013
27014
  return r === void 0 && (r = 1e-3), mu(), Cg(e, n, t, a, o, r);
27014
- } }), h5 = z({ batchNormalization3d_: function(e, n, t, r, o, a) {
27015
+ } }), hR = z({ batchNormalization3d_: function(e, n, t, r, o, a) {
27015
27016
  return r === void 0 && (r = 1e-3), mu(), kg(e, n, t, a, o, r);
27016
- } }), p5 = z({ batchNormalization4d_: function(e, n, t, r, o, a) {
27017
+ } }), pR = z({ batchNormalization4d_: function(e, n, t, r, o, a) {
27017
27018
  return r === void 0 && (r = 1e-3), mu(), Sg(e, n, t, a, o, r);
27018
- } }), v5 = z({ batchNormalization_: function(e, n, t, r, o, a) {
27019
+ } }), vR = z({ batchNormalization_: function(e, n, t, r, o, a) {
27019
27020
  return r === void 0 && (r = 1e-3), mu(), Ii(e, n, t, a, o, r);
27020
- } }), Eg = z({ batchNorm_: Ii }), m5 = z({ batchNorm2d_: Cg }), g5 = z({ batchNorm3d_: kg }), y5 = z({ batchNorm4d_: Sg }), gu = z({ logicalAnd_: function(e, n) {
27021
+ } }), Eg = z({ batchNorm_: Ii }), mR = z({ batchNorm2d_: Cg }), gR = z({ batchNorm3d_: kg }), yR = z({ batchNorm4d_: Sg }), gu = z({ logicalAnd_: function(e, n) {
27021
27022
  var t = A(e, "a", "logicalAnd", "bool"), r = A(n, "b", "logicalAnd", "bool");
27022
27023
  return pt(t.shape, r.shape), U.runKernelFunc(function(o) {
27023
27024
  return o.logicalAnd(t, r);
27024
27025
  }, { a: t, b: r }, null, "LogicalAnd");
27025
- } }), b5 = z({ logicalNot_: function(e) {
27026
+ } }), bR = z({ logicalNot_: function(e) {
27026
27027
  var n = A(e, "x", "logicalNot", "bool");
27027
27028
  return U.runKernelFunc(function(t) {
27028
27029
  return t.logicalNot(n);
@@ -27032,7 +27033,7 @@ var f5 = z({ batchNormalization2d_: function(e, n, t, r, o, a) {
27032
27033
  return pt(t.shape, r.shape), U.runKernelFunc(function(o) {
27033
27034
  return o.logicalOr(t, r);
27034
27035
  }, { $a: t, $b: r });
27035
- } }), w5 = z({ logicalXor_: function(e, n) {
27036
+ } }), wR = z({ logicalXor_: function(e, n) {
27036
27037
  var t = A(e, "a", "logicalXor", "bool"), r = A(n, "b", "logicalXor", "bool");
27037
27038
  return pt(t.shape, r.shape), Rg(e, n).logicalAnd(gu(e, n).logicalNot());
27038
27039
  } }), qo = z({ where_: function(e, n, t) {
@@ -27079,7 +27080,7 @@ var f5 = z({ batchNormalization2d_: function(e, n, t, r, o, a) {
27079
27080
  return u.length > 0 && (s = s.sum(u)), s.reshape(o.shape);
27080
27081
  } };
27081
27082
  }, "Add");
27082
- } }), x5 = z({ addN_: function(e) {
27083
+ } }), xR = z({ addN_: function(e) {
27083
27084
  P(Array.isArray(e), function() {
27084
27085
  return "The argument passed to tf.addN() must be a list of tensors";
27085
27086
  }), P(e.length >= 1, function() {
@@ -27104,10 +27105,10 @@ var f5 = z({ batchNormalization2d_: function(e, n, t, r, o, a) {
27104
27105
  };
27105
27106
  }), a;
27106
27107
  }, "AddN");
27107
- } }), _5 = z({ addStrict_: function(e, n) {
27108
+ } }), _R = z({ addStrict_: function(e, n) {
27108
27109
  var t = A(e, "a", "addStrict"), r = A(n, "b", "addStrict");
27109
27110
  return Rt(t.shape, r.shape, "Error in addStrict: "), t.add(r);
27110
- } }), C5 = z({ atan2_: function(e, n) {
27111
+ } }), CR = z({ atan2_: function(e, n) {
27111
27112
  var t, r = A(e, "a", "atan2"), o = A(n, "b", "atan2");
27112
27113
  t = Ut(r, o), r = t[0], o = t[1];
27113
27114
  var a = pt(r.shape, o.shape);
@@ -27143,12 +27144,12 @@ var f5 = z({ batchNormalization2d_: function(e, n, t, r, o, a) {
27143
27144
  return c.div(f.toFloat()).neg();
27144
27145
  } };
27145
27146
  }, "Div");
27146
- } }), k5 = z({ divNoNan_: function(e, n) {
27147
+ } }), kR = z({ divNoNan_: function(e, n) {
27147
27148
  var t, r = A(e, "a", "div"), o = A(n, "b", "div");
27148
27149
  r = (t = Ut(r, o))[0], o = t[1];
27149
27150
  var a = lr(r, o), i = yt(a), s = o.equal(i);
27150
27151
  return qo(s, i, a);
27151
- } }), S5 = z({ divStrict_: function(e, n) {
27152
+ } }), SR = z({ divStrict_: function(e, n) {
27152
27153
  var t = A(e, "a", "div"), r = A(n, "b", "div");
27153
27154
  return Rt(t.shape, r.shape, "Error in divideStrict: "), t.div(r);
27154
27155
  } }), Tg = z({ floorDiv_: function(e, n) {
@@ -27183,7 +27184,7 @@ var f5 = z({ batchNormalization2d_: function(e, n, t, r, o, a) {
27183
27184
  return a.mul(s.less(u).toFloat());
27184
27185
  } };
27185
27186
  }, "Maximum");
27186
- } }), E5 = z({ maximumStrict_: function(e, n) {
27187
+ } }), ER = z({ maximumStrict_: function(e, n) {
27187
27188
  var t = A(e, "a", "maximumStrict"), r = A(n, "b", "maximumStrict");
27188
27189
  return Rt(t.shape, r.shape, "Error in maximumStrict: "), t.maximum(r);
27189
27190
  } }), Ag = z({ minimum_: function(e, n) {
@@ -27199,10 +27200,10 @@ var f5 = z({ batchNormalization2d_: function(e, n, t, r, o, a) {
27199
27200
  return a.mul(s.greater(u).toFloat());
27200
27201
  } };
27201
27202
  }, "Minimum");
27202
- } }), R5 = z({ minimumStrict_: function(e, n) {
27203
+ } }), RR = z({ minimumStrict_: function(e, n) {
27203
27204
  var t = A(e, "a", "minimumStrict"), r = A(n, "b", "minimumStrict");
27204
27205
  return Rt(t.shape, r.shape, "Error in minimumStrict: "), t.minimum(r);
27205
- } }), I5 = z({ mod_: function(e, n) {
27206
+ } }), IR = z({ mod_: function(e, n) {
27206
27207
  var t, r = A(e, "a", "mod"), o = A(n, "b", "mod");
27207
27208
  t = Ut(r, o), r = t[0], o = t[1];
27208
27209
  var a = pt(r.shape, o.shape);
@@ -27219,7 +27220,7 @@ var f5 = z({ batchNormalization2d_: function(e, n, t, r, o, a) {
27219
27220
  return d.length > 0 ? c.sum(d).reshape(l.shape) : c;
27220
27221
  } };
27221
27222
  });
27222
- } }), T5 = z({ modStrict_: function(e, n) {
27223
+ } }), TR = z({ modStrict_: function(e, n) {
27223
27224
  var t = A(e, "a", "modStrict"), r = A(n, "b", "modStrict");
27224
27225
  return Rt(t.shape, r.shape, "Error in modStrict: "), t.mod(r);
27225
27226
  } }), Tn = z({ mul_: function(e, n) {
@@ -27239,7 +27240,7 @@ var f5 = z({ batchNormalization2d_: function(e, n, t, r, o, a) {
27239
27240
  return d.length > 0 ? c.sum(d).reshape(l.shape) : c;
27240
27241
  } };
27241
27242
  }, "Mul");
27242
- } }), A5 = z({ mulStrict_: function(e, n) {
27243
+ } }), AR = z({ mulStrict_: function(e, n) {
27243
27244
  var t = A(e, "a", "mul"), r = A(n, "b", "mul");
27244
27245
  return Rt(t.shape, r.shape, "Error in multiplyStrict: "), t.mul(r);
27245
27246
  } }), Hs = z({ pow_: function(e, n) {
@@ -27259,9 +27260,9 @@ var f5 = z({ batchNormalization2d_: function(e, n, t, r, o, a) {
27259
27260
  return m.length > 0 && (p = p.sum(m)), p.reshape(c.shape);
27260
27261
  } };
27261
27262
  }, "Pow", {}, i, [!0]);
27262
- } }), D5 = z({ powStrict_: function(e, n) {
27263
+ } }), DR = z({ powStrict_: function(e, n) {
27263
27264
  return Rt(e.shape, n.shape, "Error in powStrict: "), e.pow(n);
27264
- } }), M5 = z({ squaredDifferenceStrict_: function(e, n) {
27265
+ } }), MR = z({ squaredDifferenceStrict_: function(e, n) {
27265
27266
  var t = A(e, "a", "squaredDifferenceStrict"), r = A(n, "b", "squaredDifferenceStrict");
27266
27267
  return Rt(t.shape, r.shape, "Error in squaredDifferenceStrict: "), t.squaredDifference(r);
27267
27268
  } }), sn = z({ sub_: function(e, n) {
@@ -27279,7 +27280,7 @@ var f5 = z({ batchNormalization2d_: function(e, n, t, r, o, a) {
27279
27280
  return u.length > 0 && (s = s.sum(u)), s.neg().reshape(o.shape);
27280
27281
  } };
27281
27282
  }, "Sub");
27282
- } }), P5 = z({ subStrict_: function(e, n) {
27283
+ } }), PR = z({ subStrict_: function(e, n) {
27283
27284
  var t = A(e, "a", "subStrict"), r = A(n, "b", "subStrict");
27284
27285
  return Rt(t.shape, r.shape, "Error in subStrict: "), t.sub(r);
27285
27286
  } }), Dg = z({ equal_: function(e, n) {
@@ -27287,10 +27288,10 @@ var f5 = z({ batchNormalization2d_: function(e, n, t, r, o, a) {
27287
27288
  return t = Ut(r, o), r = t[0], o = t[1], pt(r.shape, o.shape), U.runKernelFunc(function(a) {
27288
27289
  return a.equal(r, o);
27289
27290
  }, { $a: r, $b: o });
27290
- } }), B5 = z({ equalStrict_: function(e, n) {
27291
+ } }), BR = z({ equalStrict_: function(e, n) {
27291
27292
  var t = A(e, "a", "equalStrict"), r = A(n, "b", "equalStrict");
27292
27293
  return Rt(t.shape, r.shape, "Error in equalStrict: "), t.equal(r);
27293
- } }), F5 = z({ greater_: function(e, n) {
27294
+ } }), FR = z({ greater_: function(e, n) {
27294
27295
  var t, r = A(e, "a", "greater"), o = A(n, "b", "greater");
27295
27296
  return t = Ut(r, o), r = t[0], o = t[1], pt(r.shape, o.shape), U.runKernelFunc(function(a) {
27296
27297
  return a.greater(r, o);
@@ -27308,35 +27309,35 @@ var f5 = z({ batchNormalization2d_: function(e, n, t, r, o, a) {
27308
27309
  return yt(u);
27309
27310
  } };
27310
27311
  }, "GreaterEqual");
27311
- } }), O5 = z({ greaterEqualStrict_: function(e, n) {
27312
+ } }), OR = z({ greaterEqualStrict_: function(e, n) {
27312
27313
  var t = A(e, "a", "greaterEqualStrict"), r = A(n, "b", "greaterEqualStrict");
27313
27314
  return Rt(t.shape, r.shape, "Error in greaterEqualStrict: "), t.greaterEqual(r);
27314
- } }), N5 = z({ greaterStrict_: function(e, n) {
27315
+ } }), NR = z({ greaterStrict_: function(e, n) {
27315
27316
  var t = A(e, "a", "greaterStrict"), r = A(n, "b", "greaterStrict");
27316
27317
  return Rt(t.shape, r.shape, "Error in greaterStrict: "), t.greater(r);
27317
- } }), L5 = z({ less_: function(e, n) {
27318
+ } }), LR = z({ less_: function(e, n) {
27318
27319
  var t, r = A(e, "a", "less"), o = A(n, "b", "less");
27319
27320
  return t = Ut(r, o), r = t[0], o = t[1], pt(r.shape, o.shape), U.runKernelFunc(function(a) {
27320
27321
  return a.less(r, o);
27321
27322
  }, { a: r, b: o }, null, "Less");
27322
- } }), q5 = z({ lessEqual_: function(e, n) {
27323
+ } }), qR = z({ lessEqual_: function(e, n) {
27323
27324
  var t, r = A(e, "a", "lessEqual"), o = A(n, "b", "lessEqual");
27324
27325
  return t = Ut(r, o), r = t[0], o = t[1], pt(r.shape, o.shape), U.runKernelFunc(function(a, i) {
27325
27326
  var s = a.lessEqual(r, o);
27326
27327
  return i([r, o]), s;
27327
27328
  }, { a: r, b: o }, null, "LessEqual");
27328
- } }), V5 = z({ lessEqualStrict_: function(e, n) {
27329
+ } }), VR = z({ lessEqualStrict_: function(e, n) {
27329
27330
  var t = A(e, "a", "lessEqualStrict"), r = A(n, "b", "lessEqualStrict");
27330
27331
  return Rt(t.shape, r.shape, "Error in lessEqualStrict: "), t.lessEqual(r);
27331
- } }), z5 = z({ lessStrict_: function(e, n) {
27332
+ } }), zR = z({ lessStrict_: function(e, n) {
27332
27333
  var t = A(e, "a", "lessStrict"), r = A(n, "b", "lessStrict");
27333
27334
  return Rt(t.shape, r.shape, "Error in lessStrict: "), t.less(r);
27334
- } }), $5 = z({ notEqual_: function(e, n) {
27335
+ } }), $R = z({ notEqual_: function(e, n) {
27335
27336
  var t, r = A(e, "a", "notEqual"), o = A(n, "b", "notEqual");
27336
27337
  return t = Ut(r, o), r = t[0], o = t[1], pt(r.shape, o.shape), U.runKernelFunc(function(a) {
27337
27338
  return a.notEqual(r, o);
27338
27339
  }, { a: r, b: o }, null, "NotEqual");
27339
- } }), W5 = z({ notEqualStrict_: function(e, n) {
27340
+ } }), WR = z({ notEqualStrict_: function(e, n) {
27340
27341
  var t = A(e, "a", "notEqualStrict"), r = A(n, "b", "notEqualStrict");
27341
27342
  return Rt(t.shape, r.shape, "Error in notEqualStrict: "), t.notEqual(r);
27342
27343
  } });
@@ -27388,7 +27389,7 @@ var Fd = z({ gather_: function(e, n, t) {
27388
27389
  }(a, s);
27389
27390
  } };
27390
27391
  });
27391
- } }), H5 = function(e, n, t) {
27392
+ } }), HR = function(e, n, t) {
27392
27393
  return De(this, void 0, void 0, function() {
27393
27394
  var r, o, a, i, s, u, l, c, d, f, h, p, m;
27394
27395
  return Me(this, function(v) {
@@ -27466,7 +27467,7 @@ function Fg(e, n, t, r, o) {
27466
27467
  }, { dy5D: i });
27467
27468
  return s ? d.as4D(d.shape[1], d.shape[2], d.shape[3], d.shape[4]) : d;
27468
27469
  }
27469
- var U5 = z({ conv1d_: function(e, n, t, r, o, a, i) {
27470
+ var UR = z({ conv1d_: function(e, n, t, r, o, a, i) {
27470
27471
  o === void 0 && (o = "NWC"), a === void 0 && (a = 1);
27471
27472
  var s = A(e, "x", "conv1d"), u = A(n, "filter", "conv1d"), l = s, c = !1;
27472
27473
  s.rank === 2 && (c = !0, l = s.as3D(1, s.shape[0], s.shape[1])), P(l.rank === 3, function() {
@@ -27514,7 +27515,7 @@ var U5 = z({ conv1d_: function(e, n, t, r, o, a, i) {
27514
27515
  } };
27515
27516
  }, "Conv2D", h, p);
27516
27517
  return c ? m.as3D(m.shape[1], m.shape[2], m.shape[3]) : m;
27517
- } }), j5 = z({ conv3d_: function(e, n, t, r, o, a) {
27518
+ } }), jR = z({ conv3d_: function(e, n, t, r, o, a) {
27518
27519
  o === void 0 && (o = "NDHWC"), a === void 0 && (a = [1, 1, 1]);
27519
27520
  var i = A(e, "x", "conv3d"), s = A(n, "filter", "conv3d"), u = i, l = !1;
27520
27521
  i.rank === 4 && (l = !0, u = i.as5D(1, i.shape[0], i.shape[1], i.shape[2], i.shape[3])), P(u.rank === 5, function() {
@@ -27652,9 +27653,9 @@ var U5 = z({ conv1d_: function(e, n, t, r, o, a, i) {
27652
27653
  });
27653
27654
  var p = yu(c, u, r, o, i, a), m = ir(p, l, 1, "valid", i);
27654
27655
  return d ? m.as3D(m.shape[1], m.shape[2], m.shape[3]) : m;
27655
- } }), G5 = z({ conv2dTranspose_: function(e, n, t, r, o, a) {
27656
+ } }), GR = z({ conv2dTranspose_: function(e, n, t, r, o, a) {
27656
27657
  return Bg(t, A(e, "x", "conv2dTranspose"), A(n, "filter", "conv2dTranspose"), r, o, "NHWC", a);
27657
- } }), K5 = z({ conv3dTranspose_: function(e, n, t, r, o) {
27658
+ } }), KR = z({ conv3dTranspose_: function(e, n, t, r, o) {
27658
27659
  return Fg(t, A(e, "x", "conv3dTranspose"), A(n, "filter", "conv3dTranspose"), r, o);
27659
27660
  } }), bu = z({ matMul_: function(e, n, t, r) {
27660
27661
  var o;
@@ -27693,7 +27694,7 @@ var U5 = z({ conv1d_: function(e, n, t, r, o, a, i) {
27693
27694
  return _.matMul(w, !0, !1);
27694
27695
  } };
27695
27696
  }, "BatchMatMul", b).reshape(m);
27696
- } }), X5 = z({ dot_: function(e, n) {
27697
+ } }), XR = z({ dot_: function(e, n) {
27697
27698
  var t = A(e, "t1", "dot"), r = A(n, "t2", "dot");
27698
27699
  P(!(t.rank !== 1 && t.rank !== 2 || r.rank !== 1 && r.rank !== 2), function() {
27699
27700
  return "Error in dot: inputs must all be rank 1 or 2, but got ranks " + t.rank + " and " + r.rank + ".";
@@ -27702,7 +27703,7 @@ var U5 = z({ conv1d_: function(e, n, t, r, o, a, i) {
27702
27703
  return P(o === a, function() {
27703
27704
  return "Error in dot: inner dimensions of inputs must match, but got " + o + " and " + a + ".";
27704
27705
  }), t.rank === 1 && r.rank === 1 ? t.as2D(1, -1).matMul(r.as2D(-1, 1)).asScalar() : t.rank === 1 && r.rank === 2 ? t.as2D(1, -1).matMul(r.as2D(r.shape[0], r.shape[1])).as1D() : t.rank === 2 && r.rank === 1 ? t.matMul(r.as2D(-1, 1)).as1D() : t.matMul(r.as2D(r.shape[0], r.shape[1]));
27705
- } }), Y5 = z({ outerProduct_: function(e, n) {
27706
+ } }), YR = z({ outerProduct_: function(e, n) {
27706
27707
  var t = A(e, "v1", "outerProduct"), r = A(n, "v2", "outerProduct");
27707
27708
  return P(t.rank === 1 && r.rank === 1, function() {
27708
27709
  return "Error in outerProduct: inputs must be rank 1, but got ranks " + t.rank + " and " + r.rank + ".";
@@ -27718,17 +27719,17 @@ var U5 = z({ conv1d_: function(e, n, t, r, o, a, i) {
27718
27719
  return o.reverse(r);
27719
27720
  } };
27720
27721
  }).reshapeAs(t);
27721
- } }), Q5 = z({ reverse1d_: function(e) {
27722
+ } }), QR = z({ reverse1d_: function(e) {
27722
27723
  var n = A(e, "x", "reverse");
27723
27724
  return P(n.rank === 1, function() {
27724
27725
  return "Error in reverse1D: x must be rank 1 but got rank " + n.rank + ".";
27725
27726
  }), Ti(n, 0);
27726
- } }), Z5 = z({ reverse2d_: function(e, n) {
27727
+ } }), ZR = z({ reverse2d_: function(e, n) {
27727
27728
  var t = A(e, "x", "reverse");
27728
27729
  return P(t.rank === 2, function() {
27729
27730
  return "Error in reverse2D: x must be rank 2 but got rank " + t.rank + ".";
27730
27731
  }), Ti(t, n);
27731
- } }), J5 = z({ reverse3d_: function(e, n) {
27732
+ } }), JR = z({ reverse3d_: function(e, n) {
27732
27733
  var t = A(e, "x", "reverse");
27733
27734
  return P(t.rank === 3, function() {
27734
27735
  return "Error in reverse3D: x must be rank 3 but got rank " + t.rank + ".";
@@ -28897,7 +28898,7 @@ var UI = z({ resizeBilinear_: function(e, n, t) {
28897
28898
  } }, F);
28898
28899
  }, "FusedDepthwiseConv2D", { convInfo: x, activation: f }, E, [!0]);
28899
28900
  return b ? R.as3D(R.shape[1], R.shape[2], R.shape[3]) : R;
28900
- } }), tT = Object.freeze({ matMul: ZI, conv2d: JI, depthwiseConv2d: eT }), nT = Object.freeze({ image: $d, linalg: HI, losses: VI, spectral: SI, fused: tT, signal: AI, square: OR, squaredDifference: wg, conv1d: U5, conv2d: ir, conv3d: j5, depthwiseConv2d: yu, separableConv2d: Nd, conv2dTranspose: G5, conv3dTranspose: K5, op: z, batchNormalization2d: f5, batchNormalization3d: h5, batchNormalization4d: p5, batchNormalization: v5, batchNorm: Eg, batchNorm2d: m5, batchNorm3d: g5, batchNorm4d: y5, booleanMaskAsync: H5, complex: yn, real: or, imag: _r, concat: rn, concat1d: t4, concat2d: n4, concat3d: r4, concat4d: o4, split: Cd, matMul: bu, dot: X5, outerProduct: Y5, reverse: Ti, reverse1d: Q5, reverse2d: Z5, reverse3d: J5, reverse4d: eI, maxPool: cn, avgPool: Ai, pool: tI, maxPool3d: nI, avgPool3d: rI, slice: Rr, slice1d: oI, slice2d: aI, slice3d: zg, slice4d: iI, abs: NR, acos: LR, acosh: qR, asin: VR, asinh: zR, atan: $R, atanh: WR, ceil: HR, clipByValue: Pd, cos: UR, cosh: jR, erf: GR, exp: Dc, expm1: KR, floor: XR, log: YR, log1p: QR, logSigmoid: ZR, neg: Ws, reciprocal: JR, round: e5, rsqrt: xg, sigmoid: _g, sign: t5, isNaN: n5, isInf: r5, isFinite: o5, sin: a5, sinh: i5, softplus: s5, sqrt: u5, step: l5, tan: c5, tanh: d5, all: sI, any: uI, argMax: lI, argMin: cI, logSumExp: dI, max: wu, mean: fI, min: hI, moments: pI, sum: Wg, prod: vI, equal: Dg, equalStrict: B5, greater: F5, greaterEqual: Mg, greaterEqualStrict: O5, greaterStrict: N5, less: L5, lessEqual: q5, lessEqualStrict: V5, lessStrict: z5, notEqual: $5, notEqualStrict: W5, add: ft, addN: x5, addStrict: _5, atan2: C5, div: lr, divNoNan: k5, divStrict: S5, floorDiv: Tg, maximum: Bd, maximumStrict: E5, minimum: Ag, minimumStrict: R5, mod: I5, modStrict: T5, mul: Tn, mulStrict: A5, pow: Hs, powStrict: D5, squaredDifferenceStrict: M5, sub: sn, subStrict: P5, elu: Hg, leakyRelu: mI, prelu: Ug, relu: Ht, relu6: jg, selu: gI, logicalAnd: gu, logicalNot: b5, logicalOr: Rg, logicalXor: w5, where: qo, whereAsync: Ig, buffer: ot, print: h4, batchToSpaceND: Wm, broadcastTo: p4, cast: v4, clone: m4, cumsum: g4, depthToSpace: y4, expandDims: nr, eye: Hm, multinomial: b4, oneHot: Rc, pad: zo, pad1d: w4, pad2d: x4, pad3d: _4, pad4d: C4, rand: k4, randomNormal: S4, randomGamma: E4, randomUniform: Um, reshape: cr, spaceToBatchND: jm, squeeze: Gm, stack: Qn, tile: ha, truncatedNormal: R4, unstack: on, setdiff1dAsync: I4, fill: Er, linspace: e4, ones: Va, range: Fs, scalar: we, tensor: wn, tensor1d: tn, tensor2d: so, tensor3d: _d, tensor4d: Pn, tensor5d: QS, tensor6d: ZS, variable: JS, zeros: Vt, onesLike: $m, zerosLike: yt, transpose: fo, softmax: jr, logSoftmax: F4, localResponseNormalization: yI, norm: Gg, gather: Fd, unsortedSegmentSum: Pg, basicLSTMCell: bI, multiRNNCell: wI, movingAverage: xI, stridedSlice: _I, topk: CI, scatterND: kI, fft: Ld, ifft: Us, rfft: qd, irfft: Kg, sparseToDense: EI, gatherND: RI, diag: II, dropout: TI, hannWindow: Vd, hammingWindow: Yg, frame: zd, stft: Qg, inTopKAsync: DI });
28901
+ } }), tT = Object.freeze({ matMul: ZI, conv2d: JI, depthwiseConv2d: eT }), nT = Object.freeze({ image: $d, linalg: HI, losses: VI, spectral: SI, fused: tT, signal: AI, square: O5, squaredDifference: wg, conv1d: UR, conv2d: ir, conv3d: jR, depthwiseConv2d: yu, separableConv2d: Nd, conv2dTranspose: GR, conv3dTranspose: KR, op: z, batchNormalization2d: fR, batchNormalization3d: hR, batchNormalization4d: pR, batchNormalization: vR, batchNorm: Eg, batchNorm2d: mR, batchNorm3d: gR, batchNorm4d: yR, booleanMaskAsync: HR, complex: yn, real: or, imag: _r, concat: rn, concat1d: t4, concat2d: n4, concat3d: r4, concat4d: o4, split: Cd, matMul: bu, dot: XR, outerProduct: YR, reverse: Ti, reverse1d: QR, reverse2d: ZR, reverse3d: JR, reverse4d: eI, maxPool: cn, avgPool: Ai, pool: tI, maxPool3d: nI, avgPool3d: rI, slice: Rr, slice1d: oI, slice2d: aI, slice3d: zg, slice4d: iI, abs: N5, acos: L5, acosh: q5, asin: V5, asinh: z5, atan: $5, atanh: W5, ceil: H5, clipByValue: Pd, cos: U5, cosh: j5, erf: G5, exp: Dc, expm1: K5, floor: X5, log: Y5, log1p: Q5, logSigmoid: Z5, neg: Ws, reciprocal: J5, round: eR, rsqrt: xg, sigmoid: _g, sign: tR, isNaN: nR, isInf: rR, isFinite: oR, sin: aR, sinh: iR, softplus: sR, sqrt: uR, step: lR, tan: cR, tanh: dR, all: sI, any: uI, argMax: lI, argMin: cI, logSumExp: dI, max: wu, mean: fI, min: hI, moments: pI, sum: Wg, prod: vI, equal: Dg, equalStrict: BR, greater: FR, greaterEqual: Mg, greaterEqualStrict: OR, greaterStrict: NR, less: LR, lessEqual: qR, lessEqualStrict: VR, lessStrict: zR, notEqual: $R, notEqualStrict: WR, add: ft, addN: xR, addStrict: _R, atan2: CR, div: lr, divNoNan: kR, divStrict: SR, floorDiv: Tg, maximum: Bd, maximumStrict: ER, minimum: Ag, minimumStrict: RR, mod: IR, modStrict: TR, mul: Tn, mulStrict: AR, pow: Hs, powStrict: DR, squaredDifferenceStrict: MR, sub: sn, subStrict: PR, elu: Hg, leakyRelu: mI, prelu: Ug, relu: Ht, relu6: jg, selu: gI, logicalAnd: gu, logicalNot: bR, logicalOr: Rg, logicalXor: wR, where: qo, whereAsync: Ig, buffer: ot, print: h4, batchToSpaceND: Wm, broadcastTo: p4, cast: v4, clone: m4, cumsum: g4, depthToSpace: y4, expandDims: nr, eye: Hm, multinomial: b4, oneHot: Rc, pad: zo, pad1d: w4, pad2d: x4, pad3d: _4, pad4d: C4, rand: k4, randomNormal: S4, randomGamma: E4, randomUniform: Um, reshape: cr, spaceToBatchND: jm, squeeze: Gm, stack: Qn, tile: ha, truncatedNormal: R4, unstack: on, setdiff1dAsync: I4, fill: Er, linspace: e4, ones: Va, range: Fs, scalar: we, tensor: wn, tensor1d: tn, tensor2d: so, tensor3d: _d, tensor4d: Pn, tensor5d: QS, tensor6d: ZS, variable: JS, zeros: Vt, onesLike: $m, zerosLike: yt, transpose: fo, softmax: jr, logSoftmax: F4, localResponseNormalization: yI, norm: Gg, gather: Fd, unsortedSegmentSum: Pg, basicLSTMCell: bI, multiRNNCell: wI, movingAverage: xI, stridedSlice: _I, topk: CI, scatterND: kI, fft: Ld, ifft: Us, rfft: qd, irfft: Kg, sparseToDense: EI, gatherND: RI, diag: II, dropout: TI, hannWindow: Vd, hammingWindow: Yg, frame: zd, stft: Qg, inTopKAsync: DI });
28901
28902
  function ce(e, n) {
28902
28903
  Array.isArray(e) || (e = [e]), e.forEach(function(t) {
28903
28904
  t != null && P(t.dtype !== "complex64", function() {