LostTech.TensorFlow : API Documentation

Type VariableScope

Namespace tensorflow

Parent PythonObjectContainer

Interfaces IVariableScope

Variable scope object to carry defaults to provide to `get_variable`.

Many of the arguments we need for `get_variable` in a variable store are most easily handled with a context. This object is used for the defaults.

Methods

Properties

Public instance methods

IList<object> get_collection(string name)

Get this scope's variables.

object get_collection_dyn(object name)

Get this scope's variables.

object get_variable(_VariableStore var_store, int name, IEnumerable<object> shape, PythonClassContainer dtype, PythonFunctionContainer initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, string name, IEnumerable<object> shape, dtype dtype, PythonFunctionContainer initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, int name, int shape, PythonClassContainer dtype, object initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, int name, int shape, PythonClassContainer dtype, PythonFunctionContainer initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, int name, int shape, DType dtype, object initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, int name, int shape, DType dtype, PythonFunctionContainer initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, int name, IEnumerable<object> shape, DType dtype, PythonFunctionContainer initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, int name, IEnumerable<object> shape, DType dtype, object initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, int name, int shape, dtype dtype, PythonFunctionContainer initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, int name, TensorShape shape, PythonClassContainer dtype, object initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, int name, TensorShape shape, PythonClassContainer dtype, PythonFunctionContainer initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, string name, int shape, PythonClassContainer dtype, object initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, int name, TensorShape shape, DType dtype, PythonFunctionContainer initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, int name, IEnumerable<object> shape, PythonClassContainer dtype, object initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, int name, TensorShape shape, DType dtype, object initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, int name, int shape, dtype dtype, object initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, string name, IEnumerable<object> shape, dtype dtype, object initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, int name, IEnumerable<object> shape, dtype dtype, PythonFunctionContainer initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, int name, TensorShape shape, dtype dtype, PythonFunctionContainer initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, string name, int shape, PythonClassContainer dtype, PythonFunctionContainer initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, string name, int shape, DType dtype, object initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, string name, int shape, DType dtype, PythonFunctionContainer initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, string name, int shape, dtype dtype, object initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, string name, int shape, dtype dtype, PythonFunctionContainer initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, string name, TensorShape shape, PythonClassContainer dtype, object initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, string name, TensorShape shape, PythonClassContainer dtype, PythonFunctionContainer initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, string name, TensorShape shape, DType dtype, object initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, string name, TensorShape shape, DType dtype, PythonFunctionContainer initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, string name, TensorShape shape, dtype dtype, object initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, string name, TensorShape shape, dtype dtype, PythonFunctionContainer initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, string name, IEnumerable<object> shape, PythonClassContainer dtype, object initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, string name, IEnumerable<object> shape, PythonClassContainer dtype, PythonFunctionContainer initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, string name, IEnumerable<object> shape, DType dtype, object initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, string name, IEnumerable<object> shape, DType dtype, PythonFunctionContainer initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, int name, IEnumerable<object> shape, dtype dtype, object initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable(_VariableStore var_store, int name, TensorShape shape, dtype dtype, object initializer, object regularizer, object reuse, Nullable<bool> trainable, object collections, object caching_device, PythonFunctionContainer partitioner, bool validate_shape, Nullable<bool> use_resource, Nullable<int> custom_getter, object constraint, VariableSynchronization synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object get_variable_dyn(object var_store, object name, object shape, object dtype, object initializer, object regularizer, object reuse, object trainable, object collections, object caching_device, object partitioner, ImplicitContainer<T> validate_shape, object use_resource, object custom_getter, object constraint, ImplicitContainer<T> synchronization, ImplicitContainer<T> aggregation)

Gets an existing variable with this name or create a new one.

object global_variables()

Get this scope's global variables.

object global_variables_dyn()

Get this scope's global variables.

object local_variables()

Get this scope's local variables.

object local_variables_dyn()

Get this scope's local variables.

void reuse_variables()

Reuse variables in this scope.

object reuse_variables_dyn()

Reuse variables in this scope.

void set_caching_device_(PythonFunctionContainer caching_device)

void set_caching_device_(object caching_device)

object set_caching_device__dyn(object caching_device)

void set_custom_getter_(object custom_getter)

object set_custom_getter__dyn(object custom_getter)

void set_dtype_(DType dtype)

object set_dtype__dyn(object dtype)

void set_initializer_(random_uniform_initializer initializer)

void set_initializer_(Initializer initializer)

object set_initializer__dyn(object initializer)

void set_partitioner_(object partitioner)

void set_partitioner_(PythonFunctionContainer partitioner)

object set_partitioner__dyn(object partitioner)

void set_regularizer_(object regularizer)

object set_regularizer__dyn(object regularizer)

void set_use_resource_(Nullable<bool> use_resource)

object set_use_resource__dyn(object use_resource)

object trainable_variables()

Get this scope's trainable variables.

object trainable_variables_dyn()

Get this scope's trainable variables.

Public static methods

VariableScope NewDyn(object reuse, ImplicitContainer<T> name, object initializer, object regularizer, object caching_device, object partitioner, object custom_getter, ImplicitContainer<T> name_scope, ImplicitContainer<T> dtype, object use_resource, object constraint)

Creates a new VariableScope with the given properties.

Public properties

object caching_device get;

object caching_device_dyn get;

object constraint get;

object constraint_dyn get;

object custom_getter get;

object custom_getter_dyn get;

DType dtype get;

object dtype_dyn get;

constant_initializer initializer get;

object initializer_dyn get;

string name get;

object name_dyn get;

string original_name_scope get;

object original_name_scope_dyn get;

object partitioner get;

object partitioner_dyn get;

object PythonObject get;

object regularizer get;

object regularizer_dyn get;

Nullable<int> reuse get;

object reuse_dyn get;

Nullable<bool> use_resource get;

object use_resource_dyn get;