MCPcopy Create free account
hub / github.com/pytorch/pytorch / prepare_input

Method prepare_input

caffe2/python/rnn_cell.py:481–489  ·  view source on GitHub ↗
(self, model, input_blob)

Source from the content-addressed store, hash-verified

479 }
480
481 def prepare_input(self, model, input_blob):
482 return brew.fc(
483 model,
484 input_blob,
485 self.scope('i2h'),
486 dim_in=self.input_size,
487 dim_out=self.gates_size,
488 axis=2,
489 )
490
491 def get_state_names_override(self):
492 return ['hidden_t', 'cell_t']

Callers

nothing calls this directly

Calls 1

scopeMethod · 0.45

Tested by

no test coverage detected