src.report.light_kpconv_layer_report

Classes

LightKPConvLayerReport(Q, W, A, **kwargs)

class src.report.light_kpconv_layer_report.LightKPConvLayerReport(Q, W, A, **kwargs)
Author:

Alberto M. Esmoris Pena

Class to handle reports that represent a light KPConv layer.

See Report and KPConvLayerReport. See also LightKPConvLayer.

Variables:
  • Q (np.ndarray) – The matrix of the kernel’s structure space.

  • W (np.ndarray) – The matrix representing the weights.

  • A (np.ndarray) – The matrix of scale factors.

__init__(Q, W, A, **kwargs)

Initialize an instance of LightKPConvLayerReport.

Parameters:
  • Q (np.ndarray) – The kernel’s structure space.

  • W (np.ndarray) – The kernel’s weights.

  • A (np.ndarray) – The scale factors of the layer.

  • kwargs – The key-word arguments.

to_file(path, out_prefix=None)

Write the report (structure and weights) to files.

Parameters:
  • path (str) – Path to the directory where the report files must be written.

  • out_prefix (str) – The output prefix to expand the path (OPTIONAL).

Returns:

Nothing, the output is written to a file.