Skip to content

Commit bd3895e

Browse files
committed
Merge commit for internal changes
2 parents 35f3e9d + b1ed130 commit bd3895e

21 files changed

+1192
-172
lines changed

docs/build_docs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def main(_):
6464
'tfl': ['python'],
6565
'tfl.aggregation_layer': ['Aggregation'],
6666
'tfl.categorical_calibration_layer': ['CategoricalCalibration'],
67+
'tfl.cdf_layer': ['CDF'],
6768
'tfl.kronecker_factored_lattice_layer': ['KroneckerFactoredLattice'],
6869
'tfl.lattice_layer': ['Lattice'],
6970
'tfl.linear_layer': ['Linear'],

docs/tutorials/canned_estimators.ipynb

Lines changed: 9 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
{
44
"cell_type": "markdown",
55
"metadata": {
6-
"colab_type": "text",
76
"id": "7765UFHoyGx6"
87
},
98
"source": [
@@ -15,8 +14,6 @@
1514
"execution_count": null,
1615
"metadata": {
1716
"cellView": "form",
18-
"colab": {},
19-
"colab_type": "code",
2017
"id": "KsOkK8O69PyT"
2118
},
2219
"outputs": [],
@@ -37,7 +34,6 @@
3734
{
3835
"cell_type": "markdown",
3936
"metadata": {
40-
"colab_type": "text",
4137
"id": "ZS8z-_KeywY9"
4238
},
4339
"source": [
@@ -47,7 +43,6 @@
4743
{
4844
"cell_type": "markdown",
4945
"metadata": {
50-
"colab_type": "text",
5146
"id": "r61fkA2i9Y3_"
5247
},
5348
"source": [
@@ -70,7 +65,15 @@
7065
{
7166
"cell_type": "markdown",
7267
"metadata": {
73-
"colab_type": "text",
68+
"id": "kQRNKVzRR9pa"
69+
},
70+
"source": [
71+
"\u003e Warning: Estimators are not recommended for new code. Estimators run `v1. Session`-style code which is more difficult to write correctly, and can behave unexpectedly, especially when combined with TF 2 code. Estimators do fall under our [compatibility guarantees](https://tensorflow.org/guide/versions), but will receive no fixes other than security vulnerabilities. See the [migration guide](https://tensorflow.org/guide/migrate) for details."
72+
]
73+
},
74+
{
75+
"cell_type": "markdown",
76+
"metadata": {
7477
"id": "WCpl-9WDVq9d"
7578
},
7679
"source": [
@@ -82,7 +85,6 @@
8285
{
8386
"cell_type": "markdown",
8487
"metadata": {
85-
"colab_type": "text",
8688
"id": "x769lI12IZXB"
8789
},
8890
"source": [
@@ -92,7 +94,6 @@
9294
{
9395
"cell_type": "markdown",
9496
"metadata": {
95-
"colab_type": "text",
9697
"id": "fbBVAR6UeRN5"
9798
},
9899
"source": [
@@ -103,8 +104,6 @@
103104
"cell_type": "code",
104105
"execution_count": null,
105106
"metadata": {
106-
"colab": {},
107-
"colab_type": "code",
108107
"id": "bpXjJKpSd3j4"
109108
},
110109
"outputs": [],
@@ -116,7 +115,6 @@
116115
{
117116
"cell_type": "markdown",
118117
"metadata": {
119-
"colab_type": "text",
120118
"id": "jSVl9SHTeSGX"
121119
},
122120
"source": [
@@ -128,8 +126,6 @@
128126
"execution_count": null,
129127
"metadata": {
130128
"cellView": "both",
131-
"colab": {},
132-
"colab_type": "code",
133129
"id": "FbZDk8bIx8ig"
134130
},
135131
"outputs": [],
@@ -149,7 +145,6 @@
149145
{
150146
"cell_type": "markdown",
151147
"metadata": {
152-
"colab_type": "text",
153148
"id": "svPuM6QNxlrH"
154149
},
155150
"source": [
@@ -161,8 +156,6 @@
161156
"execution_count": null,
162157
"metadata": {
163158
"cellView": "both",
164-
"colab": {},
165-
"colab_type": "code",
166159
"id": "j-k1qTR_yvBl"
167160
},
168161
"outputs": [],
@@ -182,7 +175,6 @@
182175
{
183176
"cell_type": "markdown",
184177
"metadata": {
185-
"colab_type": "text",
186178
"id": "nKkAw12SxvGG"
187179
},
188180
"source": [
@@ -194,8 +186,6 @@
194186
"execution_count": null,
195187
"metadata": {
196188
"cellView": "both",
197-
"colab": {},
198-
"colab_type": "code",
199189
"id": "1T6GFI9F6mcG"
200190
},
201191
"outputs": [],
@@ -209,7 +199,6 @@
209199
{
210200
"cell_type": "markdown",
211201
"metadata": {
212-
"colab_type": "text",
213202
"id": "0TGfzhPHzpix"
214203
},
215204
"source": [
@@ -222,8 +211,6 @@
222211
"cell_type": "code",
223212
"execution_count": null,
224213
"metadata": {
225-
"colab": {},
226-
"colab_type": "code",
227214
"id": "DCIUz8apzs0l"
228215
},
229216
"outputs": [],
@@ -263,7 +250,6 @@
263250
{
264251
"cell_type": "markdown",
265252
"metadata": {
266-
"colab_type": "text",
267253
"id": "hEZstmtT2CA3"
268254
},
269255
"source": [
@@ -275,7 +261,6 @@
275261
{
276262
"cell_type": "markdown",
277263
"metadata": {
278-
"colab_type": "text",
279264
"id": "H_LoW_9m5OFL"
280265
},
281266
"source": [
@@ -288,8 +273,6 @@
288273
"cell_type": "code",
289274
"execution_count": null,
290275
"metadata": {
291-
"colab": {},
292-
"colab_type": "code",
293276
"id": "lFVy1Efy5NKD"
294277
},
295278
"outputs": [],
@@ -329,7 +312,6 @@
329312
{
330313
"cell_type": "markdown",
331314
"metadata": {
332-
"colab_type": "text",
333315
"id": "uQlzREcm2Wbj"
334316
},
335317
"source": [
@@ -344,8 +326,6 @@
344326
"cell_type": "code",
345327
"execution_count": null,
346328
"metadata": {
347-
"colab": {},
348-
"colab_type": "code",
349329
"id": "vD0tNpiO3p9c"
350330
},
351331
"outputs": [],
@@ -437,7 +417,6 @@
437417
{
438418
"cell_type": "markdown",
439419
"metadata": {
440-
"colab_type": "text",
441420
"id": "LKBULveZ4mr3"
442421
},
443422
"source": [
@@ -453,8 +432,6 @@
453432
"cell_type": "code",
454433
"execution_count": null,
455434
"metadata": {
456-
"colab": {},
457-
"colab_type": "code",
458435
"id": "diRRozio4sAL"
459436
},
460437
"outputs": [],
@@ -487,7 +464,6 @@
487464
{
488465
"cell_type": "markdown",
489466
"metadata": {
490-
"colab_type": "text",
491467
"id": "zWzPM2_p977t"
492468
},
493469
"source": [
@@ -502,8 +478,6 @@
502478
"cell_type": "code",
503479
"execution_count": null,
504480
"metadata": {
505-
"colab": {},
506-
"colab_type": "code",
507481
"id": "C6EvVpKW4BbC"
508482
},
509483
"outputs": [],
@@ -537,7 +511,6 @@
537511
{
538512
"cell_type": "markdown",
539513
"metadata": {
540-
"colab_type": "text",
541514
"id": "9494K_ZBKFcm"
542515
},
543516
"source": [
@@ -549,7 +522,6 @@
549522
{
550523
"cell_type": "markdown",
551524
"metadata": {
552-
"colab_type": "text",
553525
"id": "KjrzziMFKuCB"
554526
},
555527
"source": [
@@ -562,8 +534,6 @@
562534
"cell_type": "code",
563535
"execution_count": null,
564536
"metadata": {
565-
"colab": {},
566-
"colab_type": "code",
567537
"id": "YBSS7dLjKExq"
568538
},
569539
"outputs": [],
@@ -593,7 +563,6 @@
593563
{
594564
"cell_type": "markdown",
595565
"metadata": {
596-
"colab_type": "text",
597566
"id": "7uyO8s97FGJM"
598567
},
599568
"source": [
@@ -606,8 +575,6 @@
606575
"cell_type": "code",
607576
"execution_count": null,
608577
"metadata": {
609-
"colab": {},
610-
"colab_type": "code",
611578
"id": "8v7dKg-FF7iz"
612579
},
613580
"outputs": [],
@@ -647,7 +614,6 @@
647614
{
648615
"cell_type": "markdown",
649616
"metadata": {
650-
"colab_type": "text",
651617
"id": "LSXEaYAULRvf"
652618
},
653619
"source": [
@@ -662,8 +628,6 @@
662628
"cell_type": "code",
663629
"execution_count": null,
664630
"metadata": {
665-
"colab": {},
666-
"colab_type": "code",
667631
"id": "FjQKh9saMaFu"
668632
},
669633
"outputs": [],
@@ -680,7 +644,6 @@
680644
{
681645
"cell_type": "markdown",
682646
"metadata": {
683-
"colab_type": "text",
684647
"id": "fVnZpwX8MtPi"
685648
},
686649
"source": [
@@ -691,8 +654,6 @@
691654
"cell_type": "code",
692655
"execution_count": null,
693656
"metadata": {
694-
"colab": {},
695-
"colab_type": "code",
696657
"id": "f4awRMDe-eMv"
697658
},
698659
"outputs": [],
@@ -726,7 +687,6 @@
726687
{
727688
"cell_type": "markdown",
728689
"metadata": {
729-
"colab_type": "text",
730690
"id": "Isb2vyLAVBM1"
731691
},
732692
"source": [
@@ -737,8 +697,6 @@
737697
"cell_type": "code",
738698
"execution_count": null,
739699
"metadata": {
740-
"colab": {},
741-
"colab_type": "code",
742700
"id": "DJPaREuWS2sg"
743701
},
744702
"outputs": [],

0 commit comments

Comments
 (0)