added simple tensor output example