mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-05 17:34:21 +00:00
Fix Inception B test
This commit is contained in:
@@ -34,6 +34,10 @@ with torch.no_grad():
|
|||||||
print_cpp_vector(torch.flatten(inception_b.branch3x3dbl_2.bn.weight), "branch3x3dbl_2_bn_weights")
|
print_cpp_vector(torch.flatten(inception_b.branch3x3dbl_2.bn.weight), "branch3x3dbl_2_bn_weights")
|
||||||
print_cpp_vector(torch.flatten(inception_b.branch3x3dbl_2.bn.bias), "branch3x3dbl_2_bn_bias")
|
print_cpp_vector(torch.flatten(inception_b.branch3x3dbl_2.bn.bias), "branch3x3dbl_2_bn_bias")
|
||||||
|
|
||||||
|
print_cpp_vector(torch.flatten(inception_b.branch3x3dbl_3.conv.weight), "branch3x3dbl_3_conv_weights")
|
||||||
|
print_cpp_vector(torch.flatten(inception_b.branch3x3dbl_3.bn.weight), "branch3x3dbl_3_bn_weights")
|
||||||
|
print_cpp_vector(torch.flatten(inception_b.branch3x3dbl_3.bn.bias), "branch3x3dbl_3_bn_bias")
|
||||||
|
|
||||||
input_shape = (1, 3, 8, 8)
|
input_shape = (1, 3, 8, 8)
|
||||||
input = torch.randn(input_shape)
|
input = torch.randn(input_shape)
|
||||||
print_cpp_vector(torch.flatten(input), "input")
|
print_cpp_vector(torch.flatten(input), "input")
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user