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

Method is_external_input

caffe2/python/core.py:2376–2381  ·  view source on GitHub ↗
(self, blob)

Source from the content-addressed store, hash-verified

2374 )
2375
2376 def is_external_input(self, blob):
2377 if self._recreate_lookup_tables:
2378 self._RecreateLookupTables()
2379
2380 name = str(blob)
2381 return name in self._external_input_map
2382
2383 def extend_ops(self, new_ops):
2384 return self._ExtendOps(new_ops)

Callers 2

set_input_recordMethod · 0.95
InjectCrossDeviceCopiesFunction · 0.80

Calls 1

_RecreateLookupTablesMethod · 0.95

Tested by

no test coverage detected