class TensorStream::Initializer

Attributes

op[W]

Public Class Methods

new(op) click to toggle source
# File lib/tensor_stream/initializer.rb, line 4
def initialize(op)
  @op = op
end

Public Instance Methods

op() click to toggle source
# File lib/tensor_stream/initializer.rb, line 8
def op
  @op.call
end
shape() click to toggle source
# File lib/tensor_stream/initializer.rb, line 12
def shape
  nil
end