vectorflow ~master (2020-05-21T03:08:59Z)
Dub
Repo
DataReader
vectorflow
dataset
Undocumented in source.
class
DataReader (
T
) {
protected
T
_obs
;
protected
size_t
_length
;
T
[]
_cache
;
protected
bool
_start_cache
;
protected
ulong
_memory_size
;
this
();
bool
read_next
();
int
opApply
(int delegate(ref T) dg);
bool
empty
[@property getter];
T
front
[@property getter];
void
popFront
();
void
rewind
();
size_t
length
[@property getter];
DataReader
!
T
save
[@property getter];
void
share_save_params
(DataReader!T e);
DataReader
!
T
cache
();
float
memory_size
[@property getter];
}
Constructors
this
this
()
Undocumented in source.
Members
Functions
cache
DataReader
!
T
cache
()
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int
opApply
(int delegate(ref T) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
popFront
void
popFront
()
Undocumented in source. Be warned that the author may not have intended to support it.
read_next
bool
read_next
()
Undocumented in source.
rewind
void
rewind
()
Undocumented in source.
share_save_params
void
share_save_params
(DataReader!T e)
Undocumented in source. Be warned that the author may not have intended to support it.
Properties
empty
bool
empty
[@property getter]
Undocumented in source.
front
T
front
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
length
size_t
length
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
memory_size
float
memory_size
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
save
DataReader
!
T
save
[@property getter]
Undocumented in source.
Variables
_cache
T
[]
_cache
;
Undocumented in source.
_length
size_t
_length
;
Undocumented in source.
_memory_size
ulong
_memory_size
;
sum in bytes of the size of the dataset elements in memory
_obs
T
_obs
;
Undocumented in source.
_start_cache
bool
_start_cache
;
Undocumented in source.
Meta
Source
See Implementation
vectorflow
dataset
classes
DataFileReader
DataReader
MultiFilesReader