You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Who will benefit with this feature?
I noticed this problem while investigating the reason for tf.sparse.retain losing shape information, even though by definition it should return the same shape as its input. Turns out it constructs a new SparseTensor with dense_shape given by tf.identity(input.dense_shape). There might be other sparse functions with similar problems, but I have not investigated.
I think improving get_static_shape is preferable to providing better shape info for sparse.retain, so for now I am not going to submit a feature request for that.
Any Other info.
The text was updated successfully, but these errors were encountered:
System information
Describe the feature and the current behavior/state.
get_static_value
currently cannot see through atf.identity
op, see the following minimal exampleWill this change the current api? How?
No
Who will benefit with this feature?
I noticed this problem while investigating the reason for
tf.sparse.retain
losing shape information, even though by definition it should return the same shape as its input. Turns out it constructs a newSparseTensor
withdense_shape
given bytf.identity(input.dense_shape)
. There might be other sparse functions with similar problems, but I have not investigated.I think improving
get_static_shape
is preferable to providing better shape info forsparse.retain
, so for now I am not going to submit a feature request for that.Any Other info.
The text was updated successfully, but these errors were encountered: