LostTech.TensorFlow : API Documentation

Type Reduction

Namespace tensorflow.losses

Parent PythonObjectContainer

Interfaces IReduction

Types of loss reduction.

Contains the following values:

* `NONE`: Un-reduced weighted losses with the same shape as input. * `SUM`: Scalar sum of weighted losses. * `MEAN`: Scalar `SUM` divided by sum of weights. DEPRECATED. * `SUM_OVER_BATCH_SIZE`: Scalar `SUM` divided by number of elements in losses. * `SUM_OVER_NONZERO_WEIGHTS`: Scalar `SUM` divided by number of non-zero weights. DEPRECATED. * `SUM_BY_NONZERO_WEIGHTS`: Same as `SUM_OVER_NONZERO_WEIGHTS`. DEPRECATED.

Methods

Properties

Fields

Public static methods

object all_dyn<TClass>()

TClass all<TClass>()

object validate_dyn<TClass>(object key)

TClass validate<TClass>(string key)

Public properties

object MEAN_dyn get; set;

object NONE_dyn get; set;

object PythonObject get;

object SUM_BY_NONZERO_WEIGHTS_dyn get; set;

object SUM_dyn get; set;

object SUM_OVER_BATCH_SIZE_dyn get; set;

string SUM_OVER_NONZERO_WEIGHTS get; set;

object SUM_OVER_NONZERO_WEIGHTS_dyn get; set;

Public fields

string NONE

return string

string SUM

return string

string SUM_OVER_BATCH_SIZE

return string

string MEAN

return string

string SUM_BY_NONZERO_WEIGHTS

return string