Loading...
Searching...
No Matches
opennn::BatchSlot Struct Reference

#include <opennn/dataset/batch.h>

Public Member Functions

bool has_data () const noexcept
 

Public Attributes

Buffer buffer
 
Shape shape
 
Type type = Type::FP32
 
ColumnContiguity column_contiguity = ColumnContiguity::Unknown
 
device::PinnedBuffer host
 

Member Function Documentation

◆ has_data()

bool opennn::BatchSlot::has_data ( ) const
inlinenoexcept

Member Data Documentation

◆ buffer

Buffer opennn::BatchSlot::buffer

◆ column_contiguity

ColumnContiguity opennn::BatchSlot::column_contiguity = ColumnContiguity::Unknown

◆ host

device::PinnedBuffer opennn::BatchSlot::host

◆ shape

Shape opennn::BatchSlot::shape

◆ type

Type opennn::BatchSlot::type = Type::FP32