A bit late, but I made an implementation in a couple hours here if anyone else still needs a Torch version:

  
      gist.github.com
  
  
    https://gist.github.com/AAnoosheh/c6877583ee5c46d6adf81b5bc355379d 134
phased_lstm.py
import math

import torch
import torch.nn as nn
import torch.nn.init as init
from torch.nn import functional as F


class PhasedLSTMCell(nn.Module):
    """Phased LSTM recurrent network cell.
This file has been truncated. show original