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

Method prepare_input

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

Source from the content-addressed store, hash-verified

972 return helper
973
974 def prepare_input(self, model, input_blob):
975 input_blob = _RectifyName(input_blob)
976 with core.NameScope(self.name or ''):
977 return self.cells[0].prepare_input(model, input_blob)
978
979 def _apply(
980 self,

Callers

nothing calls this directly

Calls 2

_RectifyNameFunction · 0.85
prepare_inputMethod · 0.45

Tested by

no test coverage detected