dopt v0.3.12 (2018-05-30T08:02:37Z)
Dub
Repo
TensorType
dopt
core
types
Undocumented in source.
struct
TensorType {
DataType
elementType
;
size_t
[]
shape
;
this
(DataType et, size_t[] s);
this
(TensorType t);
bool
opEquals
(TensorType t);
size_t
rank
[@property getter];
size_t
volume
[@property getter];
}
Constructors
this
this
(DataType et, size_t[] s)
Undocumented in source.
this
this
(TensorType t)
Undocumented in source.
Members
Functions
opEquals
bool
opEquals
(TensorType t)
Undocumented in source. Be warned that the author may not have intended to support it.
Properties
rank
size_t
rank
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
volume
size_t
volume
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
elementType
DataType
elementType
;
Undocumented in source.
shape
size_t
[]
shape
;
Undocumented in source.
Meta
Source
See Implementation
dopt
core
types
classes
DeviceBuffer
enums
DataType
functions
sizeOf
structs
TensorType