Comments (4)
Hi @gustavoeb ,
Thanks for the report. I have reproduced the issue and attached gist here. The Op linspace
is breaking when the value of num
is int
or float
from keras.
Hi @gustavoeb - thank you for reporting this. Would you be interested in contributing the fix?
I believe it should just be adding num = convert_to_tensor(num, dtype=tf.int64)
under
keras/keras/src/backend/tensorflow/numpy.py
Line 1323 in a243d91
from keras.
Are you satisfied with the resolution of your issue?
Yes
No
from keras.
@grasskin seems like it is already close now, maybe next time :)
from keras.
Related Issues (20)
- Custom Generator crash for variable input dimensions HOT 4
- Add `on_epoch_begin` to `utils.Sequence` HOT 1
- Conv3D generates output on Tensorflow backend while crashes on pytorch backend HOT 2
- RNN layer: len is not well defined for a symbolic Tensor. Please call `x.shape` rather than `len(x)` for shape information. HOT 4
- keras.ops.select doesn't accept tuples as input HOT 1
- Recommendation for writing tests for ModelParallel distribution HOT 2
- optimizers.Adam no longer accepts tf.Variable HOT 1
- Please explain label_mode='int' in keras.utils.image_dataset_from_directory HOT 2
- Getting Nan values in prediction HOT 1
- compatibility with pytorch 2.3 HOT 1
- Specifying shape of normal sampling with partially empty keras tensor HOT 3
- Question: Best practice for direct variable initialization HOT 6
- Inconsistent assertion in keras.layers.MultiHeadAttention
- [BUG] keras.layers.StringLookup and Vocabulary of Tensors HOT 3
- model.export() fails to save output layer name in the SavedModel HOT 9
- Loading model fails: can only concatenate tuple
- model.predict time stdout HOT 4
- Keras `__init__.py` structure isn't readable by a static type checker HOT 5
- [BUG] Conflicting loss_weights implementation in Keras3 for single output case. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keras.