LostTech.TensorFlow : API Documentation

Type losses

Namespace tensorflow.contrib.losses

Public static methods

object absolute_difference(IGraphNodeBase predictions, IGraphNodeBase labels, IGraphNodeBase weights, object scope)

object absolute_difference(IGraphNodeBase predictions, IGraphNodeBase labels, double weights, object scope)

object absolute_difference_dyn(object predictions, object labels, ImplicitContainer<T> weights, object scope)

void add_loss(ValueTuple<PythonClassContainer, PythonClassContainer> loss, ImplicitContainer<T> loss_collection)

Adds a externally defined loss to the collection of losses.
Parameters
ValueTuple<PythonClassContainer, PythonClassContainer> loss
A loss `Tensor`.
ImplicitContainer<T> loss_collection
Optional collection to add the loss to.

void add_loss(IndexedSlices loss, ImplicitContainer<T> loss_collection)

Adds a externally defined loss to the collection of losses.
Parameters
IndexedSlices loss
A loss `Tensor`.
ImplicitContainer<T> loss_collection
Optional collection to add the loss to.

void add_loss(IGraphNodeBase loss, ImplicitContainer<T> loss_collection)

Adds a externally defined loss to the collection of losses.
Parameters
IGraphNodeBase loss
A loss `Tensor`.
ImplicitContainer<T> loss_collection
Optional collection to add the loss to.

object add_loss_dyn(object loss, ImplicitContainer<T> loss_collection)

Adds a externally defined loss to the collection of losses.
Parameters
object loss
A loss `Tensor`.
ImplicitContainer<T> loss_collection
Optional collection to add the loss to.

object compute_weighted_loss(IGraphNodeBase losses, double weights, object scope)

object compute_weighted_loss(IGraphNodeBase losses, double weights, string scope)

object compute_weighted_loss(IGraphNodeBase losses, IGraphNodeBase weights, object scope)

object compute_weighted_loss(IGraphNodeBase losses, IGraphNodeBase weights, string scope)

object compute_weighted_loss_dyn(object losses, ImplicitContainer<T> weights, object scope)

object cosine_distance(IGraphNodeBase predictions, IGraphNodeBase labels, object axis, double weights, object scope, Nullable<int> dim)

object cosine_distance(IGraphNodeBase predictions, IGraphNodeBase labels, object axis, IGraphNodeBase weights, object scope, Nullable<int> dim)

object cosine_distance_dyn(object predictions, object labels, object axis, ImplicitContainer<T> weights, object scope, object dim)

IList<object> get_losses(object scope, ImplicitContainer<T> loss_collection)

Gets the list of losses from the loss_collection.
Parameters
object scope
An optional scope name for filtering the losses to return.
ImplicitContainer<T> loss_collection
Optional losses collection.
Returns
IList<object>
a list of loss tensors.

object get_losses_dyn(object scope, ImplicitContainer<T> loss_collection)

Gets the list of losses from the loss_collection.
Parameters
object scope
An optional scope name for filtering the losses to return.
ImplicitContainer<T> loss_collection
Optional losses collection.
Returns
object
a list of loss tensors.

IList<object> get_regularization_losses(object scope)

object get_regularization_losses_dyn(object scope)

Gets the list of regularization losses.
Parameters
object scope
An optional scope name for filtering the losses to return.
Returns
object
A list of regularization losses as Tensors.

Tensor get_total_loss(bool add_regularization_losses, string name)

object get_total_loss_dyn(ImplicitContainer<T> add_regularization_losses, ImplicitContainer<T> name)

Tensor hinge_loss(IGraphNodeBase logits, IGraphNodeBase labels, object scope)

object hinge_loss_dyn(object logits, object labels, object scope)

object log_loss(IGraphNodeBase predictions, IGraphNodeBase labels, double weights, double epsilon, object scope)

object log_loss(IGraphNodeBase predictions, IGraphNodeBase labels, IGraphNodeBase weights, double epsilon, object scope)

object log_loss_dyn(object predictions, object labels, ImplicitContainer<T> weights, ImplicitContainer<T> epsilon, object scope)

Tensor mean_pairwise_squared_error(IGraphNodeBase predictions, IGraphNodeBase labels, int weights, object scope)

Tensor mean_pairwise_squared_error(IGraphNodeBase predictions, IGraphNodeBase labels, double weights, object scope)

Tensor mean_pairwise_squared_error(IGraphNodeBase predictions, IGraphNodeBase labels, IGraphNodeBase weights, object scope)

object mean_pairwise_squared_error_dyn(object predictions, object labels, ImplicitContainer<T> weights, object scope)

object mean_squared_error(IGraphNodeBase predictions, IGraphNodeBase labels, IGraphNodeBase weights, object scope)

object mean_squared_error(IGraphNodeBase predictions, IGraphNodeBase labels, double weights, object scope)

object mean_squared_error_dyn(object predictions, object labels, ImplicitContainer<T> weights, object scope)

object sigmoid_cross_entropy(IGraphNodeBase logits, IGraphNodeBase multi_class_labels, IGraphNodeBase weights, int label_smoothing, object scope)

object sigmoid_cross_entropy(IGraphNodeBase logits, IGraphNodeBase multi_class_labels, IGraphNodeBase weights, double label_smoothing, object scope)

object sigmoid_cross_entropy(IGraphNodeBase logits, IGraphNodeBase multi_class_labels, double weights, int label_smoothing, object scope)

object sigmoid_cross_entropy(IGraphNodeBase logits, IGraphNodeBase multi_class_labels, double weights, double label_smoothing, object scope)

object sigmoid_cross_entropy_dyn(object logits, object multi_class_labels, ImplicitContainer<T> weights, ImplicitContainer<T> label_smoothing, object scope)

object softmax_cross_entropy(IGraphNodeBase logits, IGraphNodeBase onehot_labels, double weights, int label_smoothing, object scope)

object softmax_cross_entropy(IGraphNodeBase logits, IGraphNodeBase onehot_labels, IGraphNodeBase weights, int label_smoothing, object scope)

object softmax_cross_entropy(IGraphNodeBase logits, IGraphNodeBase onehot_labels, IGraphNodeBase weights, double label_smoothing, object scope)

object softmax_cross_entropy(IGraphNodeBase logits, IGraphNodeBase onehot_labels, double weights, double label_smoothing, object scope)

object softmax_cross_entropy_dyn(object logits, object onehot_labels, ImplicitContainer<T> weights, ImplicitContainer<T> label_smoothing, object scope)

object sparse_softmax_cross_entropy(IGraphNodeBase logits, IGraphNodeBase labels, IGraphNodeBase weights, object scope)

object sparse_softmax_cross_entropy(IGraphNodeBase logits, IndexedSlices labels, IGraphNodeBase weights, object scope)

object sparse_softmax_cross_entropy(IGraphNodeBase logits, IndexedSlices labels, double weights, object scope)

object sparse_softmax_cross_entropy(IGraphNodeBase logits, ValueTuple<PythonClassContainer, PythonClassContainer> labels, IGraphNodeBase weights, object scope)

object sparse_softmax_cross_entropy(IGraphNodeBase logits, ValueTuple<PythonClassContainer, PythonClassContainer> labels, double weights, object scope)

object sparse_softmax_cross_entropy(IGraphNodeBase logits, IGraphNodeBase labels, double weights, object scope)

object sparse_softmax_cross_entropy_dyn(object logits, object labels, ImplicitContainer<T> weights, object scope)

Public properties

PythonFunctionContainer absolute_difference_fn get;

PythonFunctionContainer add_loss_fn get;

PythonFunctionContainer compute_weighted_loss_fn get;

PythonFunctionContainer cosine_distance_fn get;

PythonFunctionContainer get_losses_fn get;

PythonFunctionContainer get_regularization_losses_fn get;

PythonFunctionContainer get_total_loss_fn get;

PythonFunctionContainer hinge_loss_fn get;

PythonFunctionContainer log_loss_fn get;

PythonFunctionContainer mean_pairwise_squared_error_fn get;

PythonFunctionContainer mean_squared_error_fn get;

PythonFunctionContainer sigmoid_cross_entropy_fn get;

PythonFunctionContainer softmax_cross_entropy_fn get;

PythonFunctionContainer sparse_softmax_cross_entropy_fn get;