LostTech.TensorFlow : API Documentation

Type Base

Namespace tensorflow.contrib.labeled_tensor.python.ops.test_util

Parent TestCase

Interfaces IBase

Public instance methods

void assertLabeledTensorsEqual(LabeledTensor tensor_0, LabeledTensor tensor_1)

object assertLabeledTensorsEqual_dyn(object tensor_0, object tensor_1)

void assertTensorsEqual(IEnumerable<double> tensor_0, IEnumerable<double> tensor_1)

void assertTensorsEqual(IEnumerable<double> tensor_0, ValueTuple<PythonClassContainer, PythonClassContainer> tensor_1)

void assertTensorsEqual(IEnumerable<double> tensor_0, IGraphNodeBase tensor_1)

void assertTensorsEqual(ValueTuple<PythonClassContainer, PythonClassContainer> tensor_0, IEnumerable<double> tensor_1)

void assertTensorsEqual(ValueTuple<PythonClassContainer, PythonClassContainer> tensor_0, ValueTuple<PythonClassContainer, PythonClassContainer> tensor_1)

void assertTensorsEqual(ValueTuple<PythonClassContainer, PythonClassContainer> tensor_0, IGraphNodeBase tensor_1)

void assertTensorsEqual(IGraphNodeBase tensor_0, IEnumerable<double> tensor_1)

void assertTensorsEqual(IGraphNodeBase tensor_0, ValueTuple<PythonClassContainer, PythonClassContainer> tensor_1)

void assertTensorsEqual(IGraphNodeBase tensor_0, IGraphNodeBase tensor_1)

object assertTensorsEqual_dyn(object tensor_0, object tensor_1)

object eval(IEnumerable<object> tensors)

Evaluates the value of a variable.
Returns
object
A Numpy array.

Examples: ```python >>> from keras import backend as K >>> kvar = K.variable(np.array([[1, 2], [3, 4]]), dtype='float32') >>> K.eval(kvar) array([[ 1., 2.], [ 3., 4.]], dtype=float32) ```

Public properties

object assertItemsEqual get; set;

object PythonObject get;