Reconcile TensorShape
functionality with tensorflow's Shape
#248
Labels
enhancement
New feature or request
TensorShape
functionality with tensorflow's Shape
#248
Tensorflow already provides a class that encapsulates the idea of tensor shape.
TensorShape
class stores the same data and supports the same mental model. Through the code, one or another is used without a notable difference. What do you think about eliminatingTensorShape
class and exposing any additional functionality that is currently provided by it in form of extension methods toShape
?Pros:
Cons:
Shape
has not-obvious equals implementation: it requires all dimensions to be known to declare shapes equal.Example: knok16@8fa3a91
The text was updated successfully, but these errors were encountered: