Method: TensorStream::VariableScope#initialize

Defined in:
lib/tensor_stream/variable_scope.rb

#initialize(name: nil, reuse: nil, initializer: nil) ⇒ VariableScope

Returns a new instance of VariableScope.



7
8
9
10
11
12
# File 'lib/tensor_stream/variable_scope.rb', line 7

def initialize(name: nil, reuse: nil, initializer: nil)
  @name = name
  @reuse = reuse
  @initializer = initializer
  @used_names = []
end