tf-keras-nightly 2.19.0.dev2025012710__py3-none-any.whl → 2.19.0.dev2025012810__py3-none-any.whl
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.
- tf_keras/__init__.py +1 -1
- tf_keras/src/preprocessing/sequence.py +2 -2
- {tf_keras_nightly-2.19.0.dev2025012710.dist-info → tf_keras_nightly-2.19.0.dev2025012810.dist-info}/METADATA +1 -1
- {tf_keras_nightly-2.19.0.dev2025012710.dist-info → tf_keras_nightly-2.19.0.dev2025012810.dist-info}/RECORD +6 -6
- {tf_keras_nightly-2.19.0.dev2025012710.dist-info → tf_keras_nightly-2.19.0.dev2025012810.dist-info}/WHEEL +0 -0
- {tf_keras_nightly-2.19.0.dev2025012710.dist-info → tf_keras_nightly-2.19.0.dev2025012810.dist-info}/top_level.txt +0 -0
tf_keras/__init__.py
CHANGED
@@ -365,7 +365,7 @@ def skipgrams(
|
|
365
365
|
random.shuffle(words)
|
366
366
|
|
367
367
|
couples += [
|
368
|
-
[words[i % len(words)], random.randint(1, vocabulary_size - 1)]
|
368
|
+
[words[i % len(words)], random.randint(1, int(vocabulary_size - 1))]
|
369
369
|
for i in range(num_negative_samples)
|
370
370
|
]
|
371
371
|
if categorical:
|
@@ -375,7 +375,7 @@ def skipgrams(
|
|
375
375
|
|
376
376
|
if shuffle:
|
377
377
|
if seed is None:
|
378
|
-
seed = random.randint(0, 10e6)
|
378
|
+
seed = random.randint(0, int(10e6))
|
379
379
|
random.seed(seed)
|
380
380
|
random.shuffle(couples)
|
381
381
|
random.seed(seed)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
tf_keras/__init__.py,sha256=
|
1
|
+
tf_keras/__init__.py,sha256=FsowvclvKQoEH_CcSwI3NSJN3PhN9tcTT68-jYx9VZU,911
|
2
2
|
tf_keras/__internal__/__init__.py,sha256=OHQbeIC0QtRBI7dgXaJaVbH8F00x8dCI-DvEcIfyMsE,671
|
3
3
|
tf_keras/__internal__/backend/__init__.py,sha256=LnMs2A6685gDG79fxqmdulIYlVE_3WmXlBTBo9ZWYcw,162
|
4
4
|
tf_keras/__internal__/layers/__init__.py,sha256=F5SGMhOTPzm-PR44VrfinURHcVeQPIEdwnZlAkSTB3A,176
|
@@ -532,7 +532,7 @@ tf_keras/src/premade_models/linear.py,sha256=K2OIV9L4YrGtFWgqZt6V41SwJzQjrqlZiYU
|
|
532
532
|
tf_keras/src/premade_models/wide_deep.py,sha256=u8ZDAGKDHtyRe7OOhLzUSx7h4OhGDcB4yd19Hh7Rw2I,9921
|
533
533
|
tf_keras/src/preprocessing/__init__.py,sha256=J_83ElwazNeTGSpg7oA1_bCCUXS6yiuWvZYUb8kogOI,1711
|
534
534
|
tf_keras/src/preprocessing/image.py,sha256=wRDaJrl8J3SWi3ppOcI2XhQCz14LOrgsailNSxDuDzo,104419
|
535
|
-
tf_keras/src/preprocessing/sequence.py,sha256=
|
535
|
+
tf_keras/src/preprocessing/sequence.py,sha256=gNtN_XTW3MIH5ux8bdzFvjJ161Sd_XWOVmczpmP2mnQ,13901
|
536
536
|
tf_keras/src/preprocessing/text.py,sha256=aomzwE3G2ErwzgL_Dj3ERA_2k7TZclaPMTBTrWd7wtI,22771
|
537
537
|
tf_keras/src/saving/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
538
538
|
tf_keras/src/saving/object_registration.py,sha256=N8aV6eqREYjW2ueQpL3guYHyh5KXuun3DZAlmjfYrTA,7830
|
@@ -606,7 +606,7 @@ tf_keras/src/utils/legacy/__init__.py,sha256=EfMmeHYDzwvxNaktPhQbkTdcPSIGCqMhBND
|
|
606
606
|
tf_keras/utils/__init__.py,sha256=b7_d-USe_EmLo02_P99Q1rUCzKBYayPCfiYFStP-0nw,2735
|
607
607
|
tf_keras/utils/experimental/__init__.py,sha256=DzGogE2AosjxOVILQBT8PDDcqbWTc0wWnZRobCdpcec,97
|
608
608
|
tf_keras/utils/legacy/__init__.py,sha256=7ujlDa5HeSRcth2NdqA0S1P2-VZF1kB3n68jye6Dj-8,189
|
609
|
-
tf_keras_nightly-2.19.0.
|
610
|
-
tf_keras_nightly-2.19.0.
|
611
|
-
tf_keras_nightly-2.19.0.
|
612
|
-
tf_keras_nightly-2.19.0.
|
609
|
+
tf_keras_nightly-2.19.0.dev2025012810.dist-info/METADATA,sha256=EhOxSeGGNcHu_uGc6P-L0Ky9fW-YR_VCjXMjHlt68VM,1857
|
610
|
+
tf_keras_nightly-2.19.0.dev2025012810.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
611
|
+
tf_keras_nightly-2.19.0.dev2025012810.dist-info/top_level.txt,sha256=LC8FK7zHDNKxB17C6lGKvrZ_fZZGJsRiBK23SfiDegY,9
|
612
|
+
tf_keras_nightly-2.19.0.dev2025012810.dist-info/RECORD,,
|
File without changes
|
File without changes
|