Skip to content

Commit 9ff804f

Browse files
committed
Make TensorShape alias public
1 parent 59822a4 commit 9ff804f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ pub fn version() -> std::result::Result<String, Utf8Error> {
10181018
////////////////////////
10191019

10201020
#[deprecated(note="Use Shape instead.")]
1021-
type TensorShape = Shape;
1021+
pub type TensorShape = Shape;
10221022

10231023
/// A Shape is the shape of a tensor. A Shape may be an unknown rank, or it may
10241024
/// have a known rank with each dimension being known or unknown.

0 commit comments

Comments
 (0)