Open peteryongzhong opened 1 year ago
TensorType::getNumberOfDimensions() throws segfaults :
Test code:
https://github.com/arcana-lab/memoir/blob/fcea8221e164a5bf3bce4887c23b06378b0afabf/compiler/passes/object_lowering/src/ObjectLowering.cpp#L78
Testing against the test:
https://github.com/arcana-lab/memoir/blob/fcea8221e164a5bf3bce4887c23b06378b0afabf/tests/unit/tensor_simple/main.cpp#L64
TensorType::getNumberOfDimensions() throws segfaults :
Test code:
https://github.com/arcana-lab/memoir/blob/fcea8221e164a5bf3bce4887c23b06378b0afabf/compiler/passes/object_lowering/src/ObjectLowering.cpp#L78
Testing against the test:
https://github.com/arcana-lab/memoir/blob/fcea8221e164a5bf3bce4887c23b06378b0afabf/tests/unit/tensor_simple/main.cpp#L64