torch.data
package torch.data
Members list
Type members
Classlikes
Provides an iterable over batches of a given dataset.
Provides an iterable over batches of a given dataset.
Attributes
- Source
- DataLoader.scala
- Supertypes
- Known subtypes
-
Attributes
- Source
- Example.scala
- Supertypes
Attributes
- Source
- DataLoader.scala
- Supertypes
-
class Objecttrait Matchableclass AnyShow all
trait TensorDataset[Input <: DType, Target <: DType] extends IndexedSeq[(Tensor[Input], Tensor[Target])]
Wraps a pair of tensors as a Seq.
Wraps a pair of tensors as a Seq.
Each sample will be retrieved by indexing tensors along the first dimension.
Attributes
- Companion
- object
- Source
- TensorDataset.scala
- Supertypes
-
trait IndexedSeqOps[(Tensor[Input], Tensor[Target]), IndexedSeq, IndexedSeq[(Tensor[Input], Tensor[Target])]]trait IndexedSeqOps[(Tensor[Input], Tensor[Target]), IndexedSeq, IndexedSeq[(Tensor[Input], Tensor[Target])]]trait SeqOps[(Tensor[Input], Tensor[Target]), IndexedSeq, IndexedSeq[(Tensor[Input], Tensor[Target])]]trait Equalstrait SeqOps[(Tensor[Input], Tensor[Target]), IndexedSeq, IndexedSeq[(Tensor[Input], Tensor[Target])]]trait IterableOps[(Tensor[Input], Tensor[Target]), IndexedSeq, IndexedSeq[(Tensor[Input], Tensor[Target])]]trait IterableOnceOps[(Tensor[Input], Tensor[Target]), IndexedSeq, IndexedSeq[(Tensor[Input], Tensor[Target])]]class Objecttrait Matchableclass AnyShow all
- Known subtypes
object TensorDataset
Attributes
- Companion
- trait
- Source
- TensorDataset.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TensorDataset.type
Wraps a tensor as a Seq.
Wraps a tensor as a Seq.
Each sample will be retrieved by indexing tensors along the first dimension.
Value parameters
- t
-
tensor to be wrapped as a seq
Attributes
- Source
- TensorSeq.scala
- Supertypes
Attributes
- Source
- DataLoader.scala
- Supertypes
-
class Objecttrait Matchableclass AnyShow all
In this article