Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Layers#54

Open
Lepsps wants to merge 41 commits intoembedded-dev-research:mainfrom
Lepsps:layers
Open

Layers#54
Lepsps wants to merge 41 commits intoembedded-dev-research:mainfrom
Lepsps:layers

Conversation

@Lepsps
Copy link
Copy Markdown
Collaborator

@Lepsps Lepsps commented May 13, 2025

No description provided.

@Lepsps Lepsps requested review from allnes and aobolensk as code owners May 13, 2025 14:12
Comment thread src/layer/ReshapeLayer.cpp Outdated
if (input.data.size() != output.data.size()) {
throw std::runtime_error("ReshapeLayerMock: Input and output data buffer sizes mismatch.");
}
std::fill(output.data.begin(), output.data.end(), static_cast<double>(getID()) + 0.9);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, replace stub implementations with throw std::logic_error("Not yet implemented");

Comment thread CMakeLists.txt
Comment on lines +23 to +30

# REPORT
message( STATUS "")
message( STATUS "General configuration for ${PROJECT_NAME}")
message( STATUS "======================================")
message( STATUS "")
message( STATUS " Configuration: ${CMAKE_BUILD_TYPE}")
message( STATUS "") No newline at end of file
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this needed?

Comment thread CMakeLists.txt
Comment on lines +11 to +20
include(FetchContent)
FetchContent_Declare(
googletest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG v1.14.0
)
FetchContent_MakeAvailable(googletest)


#add_subdirectory(3rdparty/googletest)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already have googletest integrated, why do we need this? Please, revert

Comment thread CMakeLists.txt
@@ -1,15 +1,30 @@
cmake_minimum_required(VERSION 3.20)
set(CMAKE_CXX_STANDARD 11)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C++11 is too low. If you need to specify the standard then it should be at least 17.

Comment thread test/main.cpp
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure that changes in this file are required. It could be reverted as well

Comment thread test/CMakeLists.txt
target_link_libraries(run_tests PUBLIC
gtest_main
)
file(GLOB_RECURSE TEST_FILES ./*.cpp)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, avoid using relative paths, use ${CMAKE_CURRENT_SOURCE_DIR} for referencing current directory

Comment thread CMakeLists.txt

project(cpp_template)

include(cmake/configure.cmake)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why cmake/configure.cmake was excluded? some useful settings are listed there (e.g. including standard)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants