(self, op_def)
| 194 | return len(op_def.input) * self.get_data_bytes(mace_pb2.DT_INT32) * 3 |
| 195 | |
| 196 | def scratch_size_of_reshape(self, op_def): |
| 197 | shape_dims = self.get_op_input_dims(op_def, 1) |
| 198 | shape_size = 1 |
| 199 | for i in range(len(shape_dims)): |
| 200 | shape_size *= shape_dims[i] |
| 201 | |
| 202 | return shape_size * self.get_data_bytes(mace_pb2.DT_INT32) |
nothing calls this directly
no test coverage detected