Both the predict net and the eval net will call this function
(self, net)
| 204 | [self.output_schema.field_blobs()[0] + "_concat_dims"]) |
| 205 | |
| 206 | def add_ops(self, net): |
| 207 | """Both the predict net and the eval net will call this function |
| 208 | """ |
| 209 | version_info = get_current_scope().get( |
| 210 | get_fc_predictor_version.__name__, {'fc_version': 'fp32'} |
| 211 | ) |
| 212 | predictor_fc_fp_version = version_info['fc_version'] |
| 213 | self._add_ops(net, self.param_blobs, predictor_fc_fp_version) |
| 214 | |
| 215 | def add_train_ops(self, net): |
| 216 | # use the train_param_blobs to be consistent with the SamplingTrain unittest |
nothing calls this directly
no test coverage detected