MCPcopy Create free account
hub / github.com/XiaoMi/mace / add_blob

Method add_blob

tools/python/transform/caffe_converter.py:144–147  ·  view source on GitHub ↗
(self, weight)

Source from the content-addressed store, hash-verified

142 self._consumers[input_tensor].append(op)
143
144 def add_blob(self, weight):
145 if weight.name in self._ops:
146 op = self._ops[weight.name]
147 op.blobs = list(weight.blobs)
148
149
150class CaffeConverter(base_converter.ConverterInterface):

Callers 1

__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected