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

Method export_output_for_metrics

caffe2/python/layers/layers.py:481–486  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

479 net.Copy([param.parameter], param_copy_ref.field_blobs())
480
481 def export_output_for_metrics(self):
482 self._export_output_for_metrics = True
483
484 # Export output of the layer directly
485 export_name = self.name + "/output"
486 self.model.add_metric_field(export_name, self.output_schema)
487
488 def export_params_for_metrics(self):
489 self._export_params_for_metrics = True

Callers 1

wrapperMethod · 0.80

Calls 1

add_metric_fieldMethod · 0.80

Tested by

no test coverage detected