Missed TensorFlow World? Check out the recap. Learn more

Module: nsl.configs

View source on GitHub

Configuration classes and APIs for Neural Structured Learning.

Classes

class AdvNeighborConfig: Contains configuration for generating adversarial neighbors.

class AdvRegConfig: Contains configuration for adversarial regularization.

class AdvTargetConfig: Contains configuration for selecting targets to be attacked.

class AdvTargetType: Types of adversarial targeting.

class DecayConfig: Contains configuration for decaying a value during training.

class DecayType: Types of decay.

class DistanceConfig: Contains configuration for computing distances between tensors.

class DistanceType: Types of distance.

class GraphNeighborConfig: Specifies neighbor attributes for graph regularization.

class GraphRegConfig: Contains the configuration for graph regularization.

class IntegrationConfig: Contains configuration for computing multimodal integration.

class IntegrationType: Types of integration for multimodal fusion.

class NormType: Types of norms.

class TransformType: Types of nonlinear functions to be applied .

class VirtualAdvConfig: Contains configuration for virtual adversarial training.

Functions

make_adv_reg_config(...): Creates an nsl.configs.AdvRegConfig object.

make_graph_reg_config(...): Creates an nsl.configs.GraphRegConfig object.

Other Members

  • DEFAULT_ADVERSARIAL_PARAMS
  • DEFAULT_DISTANCE_PARAMS