added tensor modules to all operations