Hi @yang-song
I use the following code to test the BasicBlock, but I found the determinant is always 0. Is this normal? I am looking forward to your reply.
basic_model = BasicBlock(
input_dim=3,
latent_dim=32,
kernel1=3,
kernel2=3,
kernel3=3,
type='A',
config=config,
shape=[3, 32, 32],
init_zero=False,
)
x = torch.randn(1, 3, 32, 32)
log_det = torch.zeros(1)
out, log_det = basic_model([x, log_det])
print(log_det)
Out: tensor([0.], grad_fn=<AddBackward0>)
Hi @yang-song
I use the following code to test the BasicBlock, but I found the determinant is always 0. Is this normal? I am looking forward to your reply.