Skip to content

Instantly share code, notes, and snippets.

Lorenzo Stella lostella

Block or report user

Report or block lostella

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View 2018-10-11-serialization-issue.py
import mxnet as mx
class MyBlock(mx.gluon.HybridBlock):
def __init__(self):
super().__init__()
with self.name_scope():
self.lstmcell = mx.gluon.rnn.LSTMCell(hidden_size=20)
def hybrid_forward(self, F, seq):
outputs, state = self.lstmcell.unroll(inputs=seq, length=10, layout="NTC", merge_outputs=True)
View 2018-10-10-serialization-issue.py
import mxnet as mx
class MyBlock(mx.gluon.HybridBlock):
def __init__(self):
super().__init__()
with self.name_scope():
self.lstm = mx.gluon.rnn.HybridSequentialRNNCell()
for layer in range(3):
self.lstm.add(mx.gluon.rnn.LSTMCell(hidden_size=20))
View keybase.md

Keybase proof

I hereby claim:

  • I am lostella on github.
  • I am lostella (https://keybase.io/lostella) on keybase.
  • I have a public key ASAiQnm-kLkopRgiLCGDKC5w5ZcA-ehLSCEZAp-HYjaxLAo

To claim this, I am signing this object:

View keybase.md

Keybase proof

I hereby claim:

  • I am lostella on github.
  • I am lostella (https://keybase.io/lostella) on keybase.
  • I have a public key whose fingerprint is FBAB AFA4 81E5 F7BA E3D7 9DD3 ACE0 41D6 6164 F46C

To claim this, I am signing this object:

You can’t perform that action at this time.