LostTech.TensorFlow : API Documentation

Type IVariable

Namespace tensorflow.compat.v2

Interfaces IEnumerable, IGraphNodeBase

Public instance methods

object assign(object value, object use_locking, object name, object read_value)

object assign_add(object delta, object use_locking, object name, object read_value)

object assign_sub(object delta, object use_locking, object name, object read_value)

object batch_scatter_update(object sparse_delta, object use_locking, object name)

object count_up_to(object limit)

object eval(object session)

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) ```

object gather_nd(object indices, object name)

object load(object value, object session)

object scatter_add(object sparse_delta, object use_locking, object name)

object scatter_div(object sparse_delta, object use_locking, object name)

object scatter_max(object sparse_delta, object use_locking, object name)

object scatter_min(object sparse_delta, object use_locking, object name)

object scatter_mul(object sparse_delta, object use_locking, object name)

object scatter_nd_add(object indices, object updates, object name)

object scatter_nd_sub(object indices, object updates, object name)

object scatter_nd_update(object indices, object updates, object name)

object scatter_sub(object sparse_delta, object use_locking, object name)

object scatter_update(object sparse_delta, object use_locking, object name)

object sparse_read(object indices, object name)

Public properties

object aggregation get;

object constraint get;

object device get;

object dtype get;

object graph get;

object initial_value get;

object initializer get;

object name get;

object op get;

object shape get;

object synchronization get;

object trainable get;