[Tensor] Added getters and setters for private members of TensorBase class.
This PR adds accessors (getters) and mutators (setters) for the private data members of the TensorBase class.
This change allows TensorV2 to interact with these variables through the provided methods, improving encapsulation and making the code more maintainable.
**Self-evaluation:**
1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test: [X]Passed [ ]Failed [ ]Skipped
Signed-off-by: Donghyeon Jeong <dhyeon.jeong@samsung.com>