Skip to content

Commit

Permalink
Format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
John Staib Matilla committed Jan 13, 2025
1 parent f37bcfd commit b57eb67
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class BinaryFileWrapper : public FileWrapper {
std::vector<unsigned char> get_sample(uint64_t index) override;
std::vector<std::vector<unsigned char>> get_samples(uint64_t start, uint64_t end) override;
std::vector<std::vector<unsigned char>> get_samples_from_indices(const std::vector<uint64_t>& indices,
bool include_labels = true) override;
bool include_labels ) override;
void validate_file_extension() override;
void delete_samples(const std::vector<uint64_t>& indices) override;
void set_file_path(const std::string& path) override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class CsvFileWrapper : public FileWrapper {
std::vector<unsigned char> get_sample(uint64_t index) override;
std::vector<std::vector<unsigned char>> get_samples(uint64_t start, uint64_t end) override;
std::vector<std::vector<unsigned char>> get_samples_from_indices(const std::vector<uint64_t>& indices,
bool include_labels = true) override;
bool include_labels ) override;
void validate_file_extension() override;
void delete_samples(const std::vector<uint64_t>& indices) override;
void set_file_path(const std::string& path) override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class FileWrapper {
virtual std::vector<unsigned char> get_sample(uint64_t index) = 0;
virtual std::vector<std::vector<unsigned char>> get_samples(uint64_t start, uint64_t end) = 0;
virtual std::vector<std::vector<unsigned char>> get_samples_from_indices(const std::vector<uint64_t>& indices,
bool include_labels = true) = 0;
bool include_labels) = 0;
virtual void validate_file_extension() = 0;
virtual void delete_samples(const std::vector<uint64_t>& indices) = 0;
virtual void set_file_path(const std::string& path) = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class SingleSampleFileWrapper : public FileWrapper {
std::vector<unsigned char> get_sample(uint64_t index) override;
std::vector<std::vector<unsigned char>> get_samples(uint64_t start, uint64_t end) override;
std::vector<std::vector<unsigned char>> get_samples_from_indices(const std::vector<uint64_t>& indices,
bool include_labels = true) override;
bool include_labels ) override;
void validate_file_extension() override;
void delete_samples(const std::vector<uint64_t>& indices) override;
void set_file_path(const std::string& path) override { file_path_ = path; }
Expand Down

0 comments on commit b57eb67

Please sign in to comment.