sage.architecture.network.mscnn1d_att_resnet3d_cbam

Filename : mscnn1d_att_resnet3d_cbam.py Description : Short description of the file

Created on 2026-03-10 02:05:58

__author__ = Narenraju Nagarajan __copyright__ = Copyright 2026, ProjectName __license__ = MIT Licence __version__ = 0.0.1 __maintainer__ = Narenraju Nagarajan __affiliation__ = N/A __email__ = N/A __status__ = [‘inProgress’, ‘Archived’, ‘inUsage’, ‘Debugging’]

GitHub Repository: NULL

Documentation: NULL

Classes

MSCNN1Datt_3DResNetCBAM

Multi-scale CNN backend + ResNet CBAM frontend for GW detection.

Module Contents

class MSCNN1Datt_3DResNetCBAM(frontend_filters=32, frontend_kernel=64, backend_resnet_size=50, norm_type='instancenorm')[source]

Bases: torch.nn.Module

Multi-scale CNN backend + ResNet CBAM frontend for GW detection.

Parameters:
  • backend_filters – base filter size for ConvBlock backend

  • backend_kernel – base kernel size for ConvBlock backend

  • resnet_size – 18, 34, 50, 101, 152

  • norm_type (str) – ‘batchnorm’, ‘layernorm’, ‘instancenorm’

  • num_point_estimates – number of continuous parameters to predict

  • frontend_filters (int)

  • frontend_kernel (int)

  • backend_resnet_size (int)

Initialize internal Module state, shared by both nn.Module and ScriptModule.

num_detectors[source]
norm[source]
frontend[source]
backend[source]
avg_pool_1d[source]
flatten[source]
get_ranking_statistic[source]
point_estimate_layers[source]
forward(x)[source]

x: Tensor of shape (batch, 2, signal_length) returns: raw, pred_prob, point_estimates (list of tensors)