Implemented transform sample batch object