LostTech.TensorFlow : API Documentation

Type SparseConditionalAccumulator

Namespace tensorflow

Parent ConditionalAccumulatorBase

Interfaces ISparseConditionalAccumulator

A conditional accumulator for aggregating sparse gradients.

Sparse gradients are represented by `IndexedSlices`.

Up-to-date gradients (i.e., time step at which gradient was computed is equal to the accumulator's time step) are added to the accumulator.

Extraction of the average gradient is blocked until the required number of gradients has been accumulated.

Methods

Properties

Public instance methods

object apply_grad(int grad_indices, object grad_values, object grad_shape, int local_step, string name)

object apply_grad(IndexedSlices grad_indices, object grad_values, object grad_shape, Variable local_step, string name)

object apply_grad(IEnumerable<object> grad_indices, object grad_values, object grad_shape, int local_step, string name)

object apply_grad(IEnumerable<object> grad_indices, object grad_values, object grad_shape, Variable local_step, string name)

object apply_grad(IDictionary<object, object> grad_indices, object grad_values, object grad_shape, int local_step, string name)

object apply_grad(IDictionary<object, object> grad_indices, object grad_values, object grad_shape, Variable local_step, string name)

object apply_grad(ndarray grad_indices, object grad_values, object grad_shape, int local_step, string name)

object apply_grad(ndarray grad_indices, object grad_values, object grad_shape, Variable local_step, string name)

object apply_grad(float64 grad_indices, object grad_values, object grad_shape, int local_step, string name)

object apply_grad(float64 grad_indices, object grad_values, object grad_shape, Variable local_step, string name)

object apply_grad(float32 grad_indices, object grad_values, object grad_shape, int local_step, string name)

object apply_grad(float32 grad_indices, object grad_values, object grad_shape, Variable local_step, string name)

object apply_grad(int grad_indices, object grad_values, object grad_shape, Variable local_step, string name)

object apply_grad(object grad_indices, object grad_values, object grad_shape, int local_step, string name)

object apply_grad(object grad_indices, object grad_values, object grad_shape, Variable local_step, string name)

object apply_grad(IGraphNodeBase grad_indices, object grad_values, object grad_shape, int local_step, string name)

object apply_grad(IGraphNodeBase grad_indices, object grad_values, object grad_shape, Variable local_step, string name)

object apply_grad(IndexedSlices grad_indices, object grad_values, object grad_shape, int local_step, string name)

object apply_grad_dyn(object grad_indices, object grad_values, object grad_shape, ImplicitContainer<T> local_step, object name)

object apply_indexed_slices_grad(IGraphNodeBase grad, int local_step, string name)

object apply_indexed_slices_grad(IGraphNodeBase grad, Variable local_step, string name)

object apply_indexed_slices_grad(double grad, int local_step, string name)

object apply_indexed_slices_grad(double grad, Variable local_step, string name)

object apply_indexed_slices_grad_dyn(object grad, ImplicitContainer<T> local_step, object name)

IndexedSlices take_indexed_slices_grad(int num_required, string name)

object take_indexed_slices_grad_dyn(object num_required, object name)

Public properties

object accumulator_ref get;

object accumulator_ref_dyn get;

object dtype get;

object dtype_dyn get;

string name get;

object name_dyn get;

object PythonObject get;