☰
Shape
Required Methods
to_shape
Implementations on Foreign Types
&[i64]
()
(i64, i64)
(i64, i64, i64)
(i64, i64, i64, i64)
(i64,)
[i64; 0]
[i64; 1]
[i64; 2]
[i64; 3]
[i64; 4]
[i64; 5]
[i64; 6]
i32
i64
usize
Implementors
In tch
?
Trait
tch
::
Shape
source
·
[
−
]
pub trait Shape { // Required method fn
to_shape
(&self) ->
Box
<[
i64
]>; }
Required Methods
§
source
fn
to_shape
(&self) ->
Box
<[
i64
]>
Implementations on Foreign Types
§
source
§
impl
Shape
for
()
source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
source
§
impl
Shape
for [
i64
;
2
]
source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
source
§
impl
Shape
for
i64
source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
source
§
impl
Shape
for
i32
source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
source
§
impl
Shape
for (
i64
,
i64
)
source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
source
§
impl
Shape
for [
i64
;
6
]
source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
source
§
impl
Shape
for [
i64
;
5
]
source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
source
§
impl
Shape
for (
i64
,
i64
,
i64
)
source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
source
§
impl
Shape
for [
i64
;
1
]
source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
source
§
impl
Shape
for [
i64
;
4
]
source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
source
§
impl
Shape
for
usize
source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
source
§
impl
Shape
for (
i64
,
i64
,
i64
,
i64
)
source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
source
§
impl
Shape
for [
i64
;
3
]
source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
source
§
impl
Shape
for [
i64
;
0
]
source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
source
§
impl
Shape
for &[
i64
]
source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
source
§
impl
Shape
for (
i64
,)
source
§
fn
to_shape
(&self) ->
Box
<[
i64
]>
Implementors
§