Closed
Description
import aesara.tensor as at
constant_size = at.constant([1])
specify_size = at.specify_shape(constant_size, [1])
print(constant_size.type) # TensorType(int32, (True,))
print(specify_size.type) # TensorType(int32, (True,))
print(at.alloc(0, *constant_size).type) # TensorType(int8, (True,))
print(at.alloc(0, *specify_size).type) # TensorType(int8, vector)