MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / TEST_CASE

Function TEST_CASE

test/pad_calc_test.cpp:28–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26#include "test.hpp"
27
28TEST_CASE(pad_calc_test_no_pad)
29{
30 std::vector<int64_t> golden_pads{0, 0, 0, 0};
31 std::vector<int64_t> pads{0, 0, 0, 0};
32 // 1x1 filter size
33 migraphx::calculate_padding(0, pads, 16, 1, 1, 1);
34 migraphx::calculate_padding(1, pads, 16, 1, 1, 1);
35 EXPECT(pads == golden_pads);
36}
37
38TEST_CASE(pad_calc_test_pad_by_1)
39{

Callers

nothing calls this directly

Calls 1

calculate_paddingFunction · 0.85

Tested by

no test coverage detected