Sensor Expressions
guoquan opened this issue · comments
word['emb'] = Senor1() + Senor2()
word['emb'] = torchsensor.cat(Senor1(), Senor2())
word['emb1'] = Senor1()
word['emb2'] = Senor2()
word['emb'] = SumSensor('emb1', 'emb2')
word['emb'] = FunctionalSensor('emb1', 'emb2', forward=lambda x, y: x+y)