[Python] validate tensors info