| Commit message (Collapse) | Author | Age |
|
|
|
| |
PiperOrigin-RevId: 216422334
|
|
|
|
| |
PiperOrigin-RevId: 215026418
|
|
|
|
| |
PiperOrigin-RevId: 214952666
|
|
|
|
| |
PiperOrigin-RevId: 214875840
|
|
|
|
| |
PiperOrigin-RevId: 214824023
|
|
|
|
|
|
|
|
| |
self.test_session() has been deprecated in 9962eb5e84b15e309410071b06c2ed2d6148ed44 as its name confuses readers of the test. Moving to cached_session() instead which is more explicit about:
* the fact that the session may be reused.
* the session is not closed even when doing a "with self.test_session()" statement.
PiperOrigin-RevId: 214444907
|
|
|
|
|
|
| |
for cases where all the examples in the last partition just had missing values. In those cases, the range that was selected for the leaf previous to the last included the bias value for the last leaf.
PiperOrigin-RevId: 214046965
|
|
|
|
|
|
|
|
| |
self.test_session() has been deprecated in 9962eb5e84b15e309410071b06c2ed2d6148ed44 as its name confuses readers of the test. Moving to cached_session() instead which is more explicit about:
* the fact that the session may be reused.
* the session is not closed even when doing a "with self.test_session()" statement.
PiperOrigin-RevId: 213944932
|
|
|
|
| |
PiperOrigin-RevId: 213681549
|
|
|
|
| |
PiperOrigin-RevId: 213363558
|
|
|
|
| |
PiperOrigin-RevId: 213334465
|
|
|
|
|
|
|
|
| |
self.test_session() has been deprecated in 9962eb5e84b15e309410071b06c2ed2d6148ed44 as its name confuses readers of the test. Moving to cached_session() instead which is more explicit about:
* the fact that the session may be reused.
* the session is not closed even when doing a "with self.test_session()" statement.
PiperOrigin-RevId: 213326581
|
|
|
|
|
|
| |
Also use MIN_INT64 for the bias feature accumulation since categorical_feature_with_xyz use -1 for out of vocab features.
PiperOrigin-RevId: 212855656
|
|
|
|
|
|
|
|
| |
copying that type.
This avoids unnecessary string copies and deallocations in the ReadVariableOp, and similar ops.
PiperOrigin-RevId: 212652588
|
|
|
|
|
|
|
|
| |
self.test_session() has been deprecated in 9962eb5e84b15e309410071b06c2ed2d6148ed44 as its name confuses readers of the test. Moving to cached_session() instead which is more explicit about:
* the fact that the session may be reused.
* the session is not closed even when doing a "with self.test_session()" statement.
PiperOrigin-RevId: 212336464
|
|
|
|
|
|
|
|
| |
self.test_session() has been deprecated in 9962eb5e84b15e309410071b06c2ed2d6148ed44 as its name confuses readers of the test. Moving to cached_session() instead which is more explicit about:
* the fact that the session may be reused.
* the session is not closed even when doing a "with self.test_session()" statement.
PiperOrigin-RevId: 212336321
|
|
|
|
|
|
| |
epsilon controls the maximum number of quantiles generated.
PiperOrigin-RevId: 211914388
|
|
|
|
|
|
| |
accumulator.
PiperOrigin-RevId: 211642436
|
|
|
|
|
|
| |
Ops are now interconnected to support oblivious decision trees.
PiperOrigin-RevId: 210642692
|
|
|
|
| |
PiperOrigin-RevId: 210412659
|
|
|
|
|
|
| |
whenever one of the template arguments is not a POD, in particular for types such as string. A memset on a struct that contains a string invalidates the internals of that class (in particular the pointer that stores the characters of the string) and causes segfaults. This allows using weighted quantiles beyond int/float like template parameters. The upstream issue with memcopy of alignment bytes used for padding has been solved separately in the meantime.
PiperOrigin-RevId: 209906298
|
|
|
|
|
|
| |
ops when we have nodes with no examples.
PiperOrigin-RevId: 209830550
|
|
|
|
|
|
|
|
| |
self.test_session() has been deprecated in 9962eb5e84b15e309410071b06c2ed2d6148ed44 as its name confuses readers of the test. Moving to cached_session() instead which is more explicit about:
* the fact that the session may be reused.
* the session is not closed even when doing a "with self.test_session()" statement.
PiperOrigin-RevId: 209700634
|
|
|
|
|
|
| |
self.test_session() has been deprecated in cl/208545396 as its behavior confuses readers of the test. Moving to self.session() instead.
PiperOrigin-RevId: 209696110
|
|
|
|
| |
PiperOrigin-RevId: 209679086
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
209663919 by yifeif<yifeif@google.com>:
Internal change.
--
209663914 by amitpatankar<amitpatankar@google.com>:
Fix the topk_op_test for numpy>1.15.
--
209660476 by jdduke<jdduke@google.com>:
Fix model lifetime for TensorFlow Lite C# bindings
Ensure the model's existence for the duration of the interpreter,
as per API requirements.
--
209655960 by scottzhu<scottzhu@google.com>:
Unify RNN Cell interface between TF and Keras.
--
209655731 by A. Unique TensorFlower<gardener@tensorflow.org>:
Added tests for PredictionOps and PartitionExamplesOps
--
209655291 by nolivia<nolivia@google.com>:
adding rate class so that we can save global_step/sec using tf.contrib.summary. The function takes the rate in relation to any tensors provided that the numerator and denominator are broadcastable and have dtypes that can be cast to float64
--
209654655 by kramerb<kramerb@google.com>:
[XLA] Switch from tensorflow::gtl::InlinedVector to absl::InlinedVector
This one comes with extra goodies like a move constructor.
--
209653851 by A. Unique TensorFlower<gardener@tensorflow.org>:
Internal build specification change
--
PiperOrigin-RevId: 209663919
|
|
|
|
|
|
| |
2) Grow a new layer of an oblivious tree.
PiperOrigin-RevId: 209633300
|
|
|
|
| |
PiperOrigin-RevId: 209058978
|
|
|
|
|
|
| |
handlers to avoid duplicate constant creation.
PiperOrigin-RevId: 208755852
|
|
|
|
| |
PiperOrigin-RevId: 208705535
|
|
|
|
|
|
| |
rare feature, no buckets were found.
PiperOrigin-RevId: 207920196
|
|
|
|
| |
PiperOrigin-RevId: 207268708
|
|
|
|
| |
PiperOrigin-RevId: 207135538
|
|
|
|
|
|
| |
triggered by the number of trees fired.
PiperOrigin-RevId: 207024504
|
|
|
|
|
|
| |
construction.
PiperOrigin-RevId: 206497794
|
|
|
|
| |
PiperOrigin-RevId: 206318440
|
|
|
|
| |
PiperOrigin-RevId: 206183643
|
|
|
|
| |
PiperOrigin-RevId: 206171508
|
|
|
|
|
|
| |
in weighted quantile stream.
PiperOrigin-RevId: 206080755
|
|
|
|
| |
PiperOrigin-RevId: 206031015
|
|
|
|
| |
PiperOrigin-RevId: 205728990
|
|
|
|
| |
PiperOrigin-RevId: 205443722
|
|\
| |
| |
| | |
PiperOrigin-RevId: 204928483
|
| |
| |
| |
| |
| |
| | |
in all TensorFlow core kernels.
PiperOrigin-RevId: 204782675
|
| |
| |
| |
| | |
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
|
| |
| |
| |
| |
| |
| | |
by add compat.as_bytes
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fix tries to address the issue raised in 20776 where
run the sample with boston.py in boosted_trees throws out error
with python 3:
```
$ python3 boston.py \
> --batch_size=404 --output_dir="/tmp/boston" --depth=4 --learning_rate=0.1 \
> --num_eval_steps=1 --num_trees=500 --l2=0.001 \
> --vmodule=training_ops=1
......
......
Traceback (most recent call last):
File "boston.py", line 169, in <module>
tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)
......
...... File "/usr/lib/python3.5/genericpath.py", line 145, in _check_arg_types
raise TypeError("Can't mix strings and bytes in path components") from None
TypeError: Can't mix strings and bytes in path components
```
The reason for the error was because in python 3, the
export_dir was returned as bytes.
This fix as the `compat.as_bytes` which is consistent
with other places in tensorflow.
This fix fixes 20776
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
|
|
|
|
|
|
| |
being non-numeric types such as strings.
PiperOrigin-RevId: 204087922
|
|
|
|
|
|
| |
data for inference).
PiperOrigin-RevId: 203791296
|
|
|
|
| |
PiperOrigin-RevId: 202528760
|