The `@pypi_<name>` references are deprecated and their repo names are
an implementation detail of how an underlying library is downloaded.
The modern, supported, way is to go through the hub (`@pypi`). This
also makes the code compatible with both workspace and bzlmod.
PiperOrigin-RevId: 812915387
Updates references inside `ops.py` to point to the
new library. Adds aliases for the symbols formerly
defined in `ops.py` to allow transparent forwarding
outside of `ops`.
PiperOrigin-RevId: 535702892
This creates an explicit class for symbolic tensors.
The Tensor base class remains shared between Eager and Graph tensors, but
becomes a pure interface type.
PiperOrigin-RevId: 529748789
Migrate basic operations onto these types. The default Pybind wrapping approach
is not compatible with subclassed objects, and given the reference cycles in
the TF Graph/Tensor/Op usage, runs into memory management issues. Instead we
follow the approach taken by JAX pjit and create a custom Python object, but
continue to use the Pybind mechanisms to simplify the class creation and
function calling mechanisms.
PiperOrigin-RevId: 518944554
`Tensor` now subclasses the type `core.Symbol`;
`EagerTensor` subclasses the type `core.Value`.
These are pre-existing types which are not used
in other locations and are currently not exported.
`EagerTensor` subclasses `Symbol` by way of subclassing
`ops.Tensor`; care should be taken when performing
`isinstance` checks on `Value`, e.g.:
```python
if isinstance(core.Symbol) and not isinstance(core.Value):
...
```
PiperOrigin-RevId: 508754289
An optional argument, out, is added to the signature of functions mean, amax, and amin, to support the interoperability of Numpy and TF Numpy. Its setting is unsupported.
PiperOrigin-RevId: 369731725
Change-Id: Ib80e3740de69441d55cfdd4ffbc8862c6df342e0
Change 109240606
Fix typo
Change 109240358
Fix bug in Concat's shape inference due to legacy scalar handling.
The shape function was inadvertently converting outputs of unknown
shape (rank=None) to vectors of unknown length (rank=1), due to
inability to distinguish between legacy scalars and vectors, because
`max(1, None)` is 1.
Change 109237152
Remove numarray requirement in python_config.
Change 109234003
Fix typo in elu documentation.
Change 109232946
Python must now be configured via ./configure script
Change 109232134
Backported fixes to the tensor comparison operators from the public Eigen repository
Change 109231761
Test invalid inputs to softmax_cross_entropy_with_logits.
Change 109230218
Backported fixes to the tensor comparison operators from the public Eigen repository
Change 109229915
Correct comments in seq2seq to show the right input types for embedding models.
(Thanks to hugman@github for bringing this up.)
Change 109229118
Fix resize_images example in documentation and allow resize_images to run on a single image with partially-known shape.
Change 109228940
Fix demo and node add/remove button spacing
Change 109227909
Include Elu in the NN docs.
Change 109227059
Adds variable_op_scope and makes variable_scope always add a name_scope.
This creates an op scope for variables that makes it easy to create independent
operations with a default name by making that name unique for the current scope
and it allows explicit names that are not made unique.
Change 109224492
Streamline yuv -> rgb conversion to be done in one pass in native code.
The entire process now takes ~2ms (including the ByteBuffer.get() calls), down from 10+ ms when the arrays were being interleaved in Java prior to conversion.
Also abstracting common yuv->rgb color conversion into helper method.
Change 109224389
Add ability to move nodes in and out of auxiliary nodes in graph.
Change 109217177
Update generated Op docs.
Change 109215030
Implementation of the ELU activation function: http://arxiv.org/abs/1511.07289
Change 109209848
When GPUBFCAllocator runs out of memory, also log a summary
of chunks in use by size.
Change 109206569
Switched to the public version of the Eigen::sign method since it supports complex numbers.
Change 109199813
Modify tensorflow.SequenceExample to support multiple-length sequences.
Base CL: 109241553