rztdl.dl.components.losses package

Submodules

rztdl.dl.components.losses.custom_loss module

class rztdl.dl.components.losses.custom_loss.CustomLoss(name: str, parameters: dict, inputs: dict, outputs: dict)[source]

Bases: rztdl.dl.components.losses.loss.Loss

Custom Metric

Parameters:
  • name (str) – Name of the custom component
  • parameters (dict) – dictionary containing each parameter
  • inputs (dict) – dictionary containing mapping between inputs
add_weight(name=None, shape=None, dtype=None, initializer=None, regularizer=None, trainable=None, constraint=None, partitioner=None, use_resource=None, **kwargs)[source]
call(inputs, **kwargs)[source]
create(**input_dict)[source]
validate(*inputs, **kwargs)[source]

rztdl.dl.components.losses.loss module

@created on: 12/20/19, @author: Himaprasoon, @version: v0.0.1

Description:

Sphinx Documentation Status:

class rztdl.dl.components.losses.loss.Loss(name, inputs, outputs)[source]

Bases: rztdl.dl.components.metrics.metric.Metric

call(inputs, training, **kwargs)[source]
create(*inputs, **kwargs)[source]
reset_states()[source]

Module contents

@created on: 2019-12-03, @author: Himaprasoon, @version: v0.0.1

Description:

Sphinx Documentation Status: