Docs.rs
tch-0.10.0
tch 0.10.0
Docs.rs crate page
MIT/Apache-2.0
Links
Repository
crates.io
Source
Owners
LaurentMazare
Dependencies
cpython ^0.2.0
normal
half ^1.6
normal
lazy_static ^1.3.0
normal
libc ^0.2.0
normal
ndarray ^0.15
normal
rand ^0.8
normal
regex ^1.6.0
normal
thiserror ^1
normal
torch-sys ^0.10.0
normal
zip ^0.6
normal
anyhow ^1
dev
Versions
45.83%
of the crate is documented
Go to latest version
Platform
i686-unknown-linux-gnu
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
IndexOp
Required Methods
i
Implementors
In tch::index
?
Trait
tch
::
index
::
IndexOp
source
·
[
−
]
pub trait IndexOp<T> { fn
i
(&self, index: T) ->
Tensor
; }
Required Methods
§
source
fn
i
(&self, index: T) ->
Tensor
Implementors
§
source
§
impl<A>
IndexOp
<
(A,)
> for
Tensor
where
A:
Into
<
TensorIndexer
>,
source
§
impl<A>
IndexOp
<A> for
Tensor
where
A:
Into
<
TensorIndexer
>,
source
§
impl<A, B>
IndexOp
<
(A, B)
> for
Tensor
where
A:
Into
<
TensorIndexer
>,
B:
Into
<
TensorIndexer
>,
source
§
impl<A, B, C>
IndexOp
<
(A, B, C)
> for
Tensor
where
A:
Into
<
TensorIndexer
>,
B:
Into
<
TensorIndexer
>,
C:
Into
<
TensorIndexer
>,
source
§
impl<A, B, C, D>
IndexOp
<
(A, B, C, D)
> for
Tensor
where
A:
Into
<
TensorIndexer
>,
B:
Into
<
TensorIndexer
>,
C:
Into
<
TensorIndexer
>,
D:
Into
<
TensorIndexer
>,
source
§
impl<A, B, C, D, E>
IndexOp
<
(A, B, C, D, E)
> for
Tensor
where
A:
Into
<
TensorIndexer
>,
B:
Into
<
TensorIndexer
>,
C:
Into
<
TensorIndexer
>,
D:
Into
<
TensorIndexer
>,
E:
Into
<
TensorIndexer
>,
source
§
impl<A, B, C, D, E, F>
IndexOp
<
(A, B, C, D, E, F)
> for
Tensor
where
A:
Into
<
TensorIndexer
>,
B:
Into
<
TensorIndexer
>,
C:
Into
<
TensorIndexer
>,
D:
Into
<
TensorIndexer
>,
E:
Into
<
TensorIndexer
>,
F:
Into
<
TensorIndexer
>,
source
§
impl<A, B, C, D, E, F, G>
IndexOp
<
(A, B, C, D, E, F, G)
> for
Tensor
where
A:
Into
<
TensorIndexer
>,
B:
Into
<
TensorIndexer
>,
C:
Into
<
TensorIndexer
>,
D:
Into
<
TensorIndexer
>,
E:
Into
<
TensorIndexer
>,
F:
Into
<
TensorIndexer
>,
G:
Into
<
TensorIndexer
>,