src.report.kpconv_layer_report

Classes

KPConvLayerReport(Q, W, **kwargs)

class src.report.kpconv_layer_report.KPConvLayerReport(Q, W, **kwargs)
Author:

Alberto M. Esmoris Pena

Class to handle reports that represent a KPConv layer.

See Report. See also KPConvLayer.

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

  • W (np.ndarray) – The tensor whose slices are the matrices representing the weights of the kernel.

__init__(Q, W, **kwargs)

Initialize an instance of KPConvLayerReport.

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

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

  • 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.