LostTech.TensorFlow : API Documentation

Type RandomStrategy

Namespace tensorflow.contrib.training

Parent PythonObjectContainer

Interfaces IRandomStrategy

Returns a random PS task for op placement.

This may perform better than the default round-robin placement if you have a large number of variables. Depending on your architecture and number of parameter servers, round-robin can lead to situations where all of one type of variable is placed on a single PS task, which may lead to contention issues.

This strategy uses a hash function on the name of each op for deterministic placement.

Methods

Properties

Public instance methods

int __call__(ValueTuple<string> op)

Chooses a ps task index for the given `Operation`.

Public properties

object PythonObject get;